Userstamp - Ruby on Rails Plugins
Userstamp Plugin

Plugin Details

      The Userstamp Plugin extends ActiveRecord::Base(http://api.rubyonrails.com/classes/ActiveRecord/Base.html) to add automatic updating of created_by and updated_by attributes of your models in much the same way that the ActiveRecord::Timestamp(http://api.rubyonrails.com/classes/ActiveRecord/Timestamp.html) module updates created_(at/on) and updated_(at/on) attributes. The module requires that your application's user object (User by default) contains an accessor called current_user be set with an instance of the currently logged in user (typically using a before_filter(http://api.rubyonrails.com/classes/ActionController/Filters/ClassMethods.html#M000127). This module can also be turned off on a case by case basis by setting the record_userstamps attribute of your ActiveRecord object to false.

Install Userstamp Plugin

ruby script/plugin install svn://delynnberry.com/code/plugins/userstamp/trunk