In Rails 4 you have to pass a lambda to the :order option