Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blamer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $:.unshift lib unless $:.include?(lib)

Gem::Specification.new do |s|
s.name = 'blamer'
s.version = '4.1.0'
s.version = '4.1.1'
s.authors = ['Keith Morrison']
s.email = 'keithm@infused.org'
s.homepage = 'http://github.com/infused/blame'
Expand Down
2 changes: 1 addition & 1 deletion lib/blamer/userstamp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _create_record(*args)
end

def _update_record(*args)
if record_userstamps && changed?
if record_userstamps && saved_changes?
self[updated_userstamp_column] = userstamp_object_or_default if respond_to?(updated_userstamp_column)
end

Expand Down