Ruby on Rails: how do I sort with two columns using ActiveRecord?

Viewed 90061

I want to sort by two columns, one is a DateTime (updated_at), and the other is a Decimal (Price)

I would like to be able to sort first by updated_at, then, if multiple items occur on the same day, sort by Price.

7 Answers
Related