PaperTrail::Model::InstanceMethods#touch_with_version should skip validations to more closely mimic the behavior of #touch

This commit is contained in:
Ben Atkins 2015-04-09 22:56:55 -04:00
parent dc24a0c6c3
commit c7f94340e8
1 changed files with 1 additions and 1 deletions

View File

@ -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