How would you implement the last_visited?

Sean McGilvray
Executive Recruiter
Identity Theft Specialist
Pre-Paid Legal Service's, Inc. NYSE:PPD
Phone:  760-486-1019
[email protected]
http://www.transferhome.net


On Thu, Jun 18, 2009 at 9:55 AM, Christopher Warren <
[email protected]> wrote:

> Personally I'd use a last_visited field instead, since the record wasn't
> actually updated.
> That said, maybe this will help for what you're asking to do:
> http://blog.evanweaver.com/articles/2006/12/26/hacking-activerecords-automatic-timestamps/
>
> On Thu, Jun 18, 2009 at 11:32 AM, Sean McGilvray <[email protected]>wrote:
>
>>
>> I have a system that uses sessions for users to display their
>> personalized site.  I want to modify the updated_at field in the
>> database when ever their personal account is viewed.  Any ideas?
>>
>> Thank you,
>>
>> Sean McGilvray
>>
>>
>
>
> --
> Christopher Warren
> [email protected]
> 612.424.9880
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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