Created_at is supposed to be filled only at creation time, right? Shouldn't you use updated_at instead?
On Wed, Feb 11, 2009 at 7:31 AM, Arthur Chan < [email protected]> wrote: > > Hi All, > > I added a column to the sessions table called "created_at" in order to > allow the created time to be recorded. > > However, different from other Models, the column does not update > automatically. > > Therefore, what codes should I add to update the sessions."created_at" > value? > > It is important for avoiding hacker keeping the sessions alive. > > Thanks much! > Arthur > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

