Method: Mongoid::Versioning#versioned_changes
- Defined in:
- lib/mongoid/versioning.rb
#versioned_changes ⇒ Hash
Filters the results of changes by removing any fields that should not be versioned.
79 80 81 |
# File 'lib/mongoid/versioning.rb', line 79 def versioned_changes only_versioned_attributes(changes.except("updated_at")) end |