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

Add a nil check before setting #2

Closed TheHumaneClub closed 11 years ago

TheHumaneClub commented 11 years ago

Hi, first of all thank you for the gem. Can you add a null check that if current user is blank then do not set

TheHumaneClub commented 11 years ago

Its already there! My mistake.