6 7 8 9 10 11
# File 'lib/mongo_mapper/plugins/userstamps.rb', line 6 def userstamps! key :creator_id, ObjectId key :updater_id, ObjectId belongs_to :creator, :class_name => 'User' belongs_to :updater, :class_name => 'User' end