User.order("id desc")
User.order(User.arel_table[User.primary_key].desc)
Also, Pat's book is great if you're curious about Ruby internals:
http://patshaughnessy.net/ruby-under-a-microscope
Also, Pat's book is great if you're curious about Ruby internals:
http://patshaughnessy.net/ruby-under-a-microscope