RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in