HI all,
  I wanted to delete the sessions, automatically ,,, so how and where ,do I
use the following
ActiveRecord::SessionStore.Session.delete_all ['updated_at < ?', 1.week.ago]

or
ActiveRecord::SessionStore.delete_all ['updated_at < ?', 24.hours.ago]

in my environment.rb, I have
  config.action_controller.session_store = :active_record_store

Plaease help me its urgent.



-- 
Regards,
Santosh Turamari.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to