PaperTrail::Model::InstanceMethods#touch_with_version should skip validations to more closely mimic the behavior of #touch
This commit is contained in:
parent
dc24a0c6c3
commit
c7f94340e8
|
@ -274,7 +274,7 @@ module PaperTrail
|
|||
attributes.each { |column| write_attribute(column, current_time) }
|
||||
# ensure a version is written even if the `:on` collection is empty
|
||||
record_update(true) if paper_trail_options[:on] == []
|
||||
save!
|
||||
save!(:validate => false)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in New Issue