Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fields need to be flagged as attribute methods:
- In order for dynamic dirty tracking methods to work, each field much
be registered with Active Model for the method missing matchers. This
was previously only working if the field had a value set.
- This will need a rework of how it is implemented once the next release
of Active Model comes out. This is because until the next release all
fields have to be marked at one time, which causes Mongoid to undef
the entire list and reset the list with every field definition. AM
master currently allows attributes to be added one at a time.
- Fixes #1036.
- Loading branch information