this is weird, I'm running bundle exec guard
on my rails application and I'm getting a long list of errors for every single action in one solitary container. And all the errors are exactly teh same and make no sense, this is what I'm getting for all the actions:
1) PriceProfilesController GET index assigns all price_profiles as @price_profiles
Failure/Error: Unable to find matching line from backtrace
ArgumentError:
wrong number of arguments (1 for 0)
# ./app/controllers/price_profiles_controller.rb:15:in `extend'
2) PriceProfilesController GET show assigns the requested price_profile as @price_profile
Failure/Error: Unable to find matching line from backtrace
ArgumentError:
wrong number of arguments (1 for 0)
# ./app/controllers/price_profiles_controller.rb:15:in `extend'
... and so forth
Any idea whats going on? The PriceProfileContainer is pretty much a standard scaffold. Where should I be looking at here. The spec files are autogenerated by the scaffold.
UPDATE ----
Here is the Extend function in my controller code:
# GET /price_profiles/1/extend
def extend
@price_profile = PriceProfile.find(params[:id])
@products = Product.all()
@locations = Location.all()
@price_profile_date_range = PriceProfileDateRange.new()
#respond_to do |format|
# format.html # extend.html.erb
#end
end
Thats pretty much it.