Sharagoz -- wrote: > I've been pondering how to do user stamping lately too, event though I > dont need to keep a trail like you do. I dont want to make current_user > available to all models, and I dont want to use Thread.current. > I've been thinking about using this: > http://railstips.org/blog/archives/2008/10/17/who-done-what-a-k-a-user-stamping/ > > "Eventually, we decided on a sweeper as they have access to controllers > which would have access to the current user" > > Maybe that solution gives you some ideas?
Thanks for pointing me back to that. I'd looked at that page briefly, but not really read it in detail. I think that if I add an updated_by field to my model, I should be able to use that plugin out of the box along with my version control gem (probably acts_as_revisable). Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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.

