Based on:
http://api.rubyonrails.org/classes/ActiveRecord/Calculations/ClassMethods.html
it looks like the "calculate" method doesn't have an "include" option, while it actually has. I think the docs need to be updated...
Based on:
http://api.rubyonrails.org/classes/ActiveRecord/Calculations/ClassMethods.html
it looks like the "calculate" method doesn't have an "include" option, while it actually has. I think the docs need to be updated...
You don't have to just think, you can act:
1. Register for a Trac account at http://dev.rubyonrails.org/register 2. Submit your documentation patch to http://dev.rubyonrails.org/newticket
You don't have to just think, you can act:
Ok, it's just that I didn't know if I was right, I'm pretty new to Rails...