mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
3960d7ff75
* Add paper_trail.update_columns Add paper_trail.update_columns so you can record a version when using update_columns (which skips all callbacks, including the after_update callback). * Change recordable_object_changes to not have a default for the changes argument so that we don't need an exception to Style/MethodCallWithoutArgsParentheses * Add back the duplication between record_update and record_update_columns, at @jaredbeck's request * - Add Changelog entry for `paper_trail.update_columns` - Use a guard in `record_update_columns` - Use Timecop.freeze so that we can guarantee that an expectation will pass - Add some comments |
||
---|---|---|
.. | ||
family | ||
kitchen | ||
on | ||
animal_spec.rb | ||
article_spec.rb | ||
boolit_spec.rb | ||
callback_modifier_spec.rb | ||
car_spec.rb | ||
custom_primary_key_record_spec.rb | ||
document_spec.rb | ||
fruit_spec.rb | ||
gadget_spec.rb | ||
joined_version_spec.rb | ||
json_version_spec.rb | ||
legacy_widget_spec.rb | ||
not_on_update_spec.rb | ||
person_spec.rb | ||
pet_spec.rb | ||
post_with_status_spec.rb | ||
skipper_spec.rb | ||
thing_spec.rb | ||
translation_spec.rb | ||
vehicle_spec.rb | ||
version_spec.rb | ||
widget_spec.rb |