harl
#1
I have my Model<ActiveRecord::Base ,
but whenever I try something like
Model.calculate() or Model.maximum …
I get NoMethodErrors.
Why can I use any of the other ActiveRecord methods, but none from
Calculations
and what do I do to remedy this?
thanks
harl
#2
harl wrote:
I have my Model<ActiveRecord::Base ,
but whenever I try something like
Model.calculate() or Model.maximum …
I get NoMethodErrors.
Why can I use any of the other ActiveRecord methods, but none from
Calculations
and what do I do to remedy this?
thanks
Hai harl
I think the method name is matched with the field name of ur database
table
check it.