ActiveRecords::Calculations trouble

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs