Meet DirtyHashy: Dirty tracking within hashes or objects as it's expected to be!
Dirty tracking / objects is a common programming concept. In short, it is the concept of tracking whether or not the attributes of an object have been changed and if so, which ones. It is mostly implemented within ORM’s, a couple of examples are ActiveRecord, DataMapper, Mongoid and CouchRest Model. Ironically, I haven’t found a gem suited for the simple desire of dirty tracking within Ruby hashes. Enter DirtyHashy!
Post a comment