lib/lockdown/model.rb in lockdown-0.4.0 vs lib/lockdown/model.rb in lockdown-0.4.1

- old
+ new

@@ -16,10 +16,9 @@ def current_profile_id Thread.current[:profile_id] end - def create_with_stamps profile_id = current_profile_id || Profile::SYSTEM self[:created_by] = profile_id if self.respond_to?(:created_by) self[:updated_by] = profile_id if self.respond_to?(:updated_by) create_without_stamps