# ActiveRecords::Calculations trouble

**URL:** <https://www.ruby-forum.com/t/activerecords-calculations-trouble/102815>\
**Category:** Rails\
**Created:** [July 27, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/activerecords-calculations-trouble/102815 "2006-07-27T18:06:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f475e1/32.png) [@harl](https://www.ruby-forum.com/u/harl)\
**Post date:** [July 27, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/activerecords-calculations-trouble/102815/1 "2006-07-27T18:06:19Z")

</div>

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
