This commit is contained in:
albert
2013-03-18 15:11:59 -07:00
parent 2a28584d3f
commit fe3f864700
2 changed files with 5 additions and 1 deletions

View File

@@ -33,6 +33,10 @@ class PoolVersion < ActiveRecord::Base
extend SearchMethods
def updater_name
User.id_to_name(updater_id)
end
def initialize_updater
self.updater_id = CurrentUser.id
self.updater_ip_addr = CurrentUser.ip_addr