house9 / clerk

Clerk adds the following attributes to your ActiveRecord objects [creator, updater] and will automatically update these attributes using before_create and before_update ActiveRecord callback methods
MIT License
26 stars 5 forks source link

Only define the association if updater_foreign_key #4

Closed m7moud closed 10 years ago

m7moud commented 10 years ago

track_who_does_it :creator_foreign_key => :user_id, :updater_foreign_key => false