The following line no longer works in 2.3:
ActiveRecord::SessionStore.delete_all ['updated_at < ?', 24.hours.ago]
Does anyone know how to do this in 2.3?
Thanks, Jay
The following line no longer works in 2.3:
ActiveRecord::SessionStore.delete_all ['updated_at < ?', 24.hours.ago]
Does anyone know how to do this in 2.3?
Thanks, Jay
Ouch, you're right !
I've the same problem, I watch the API and solved !
Try this:
ActiveRecord::SessionStore::Session.delete_all ['updated_at < ?', 24.hours.ago]
Have fun !