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? -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.