On Feb 11, 9: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.
>
What flavour of active record store do you use ? Some people use ones
which mostly bypass activerecord (and as a result you don't get some
of the stuff AR gives you for free),

Fred

> 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 viahttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to