Sha256: a3acf20c51a7fcd81f9b12d00459d15711c9af8e7f6b453aad042ef2d0e34c72
Contents?: true
Size: 830 Bytes
Versions: 1
Compression:
Stored size: 830 Bytes
Contents
- lib/mongoid/extended_dirty_trackable.rb could use some refactoring, at least a few method extractions - change @associated_changes and @embedded_changes back to being conditional assignments - doing the above should fix the infinite recursion bug that happens when two related classes both include the mixin - figure out why and fix #associated_changes and #embedded_changes returning only empty hashes when their instance variables set by conditional assignment - REMEMBER: ^ empty hashes are not falsey - setup a proper mongo instance (using the yaml config file) for tests - use DatabaseCleaner to clear out the db before each test - the above 2 might be the fix the empty hash on conditional assignment bug mentioned above - maybe include object id and relationship name in the changes hash or implement in seperate methods
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongoid_extended_dirty_trackable-0.2.0 | TODO |