RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: ciscou
it's even better
orders.where(...).group(...).sum(:price)
unless I'm missing something important ^^
it's even better
unless I'm missing something important ^^