Sqlite3 activerecord :order => "time DESC" doesn't sort
- by Ole Morten Amundsen
rails 2.3.4, sqlite3
I'm trying this
Production.find(:all, :conditions = ["time ?",
start_time.utc], :order = "time DESC",
:limit = 100)
The condition works perfectly, but I'm having problems with the :order = time DESC.
By chance, I discovered that it worked at Heroku (testing with heroku console), which runs PostgreSQL. However,…