ondrejbartas/redis-model-extension — pull request #10 by mihu (2012-09-01 17:56:24+00:00)
Title: Dirty

This is implementation of `ActiveModel::Dirty` module for redis-model-extension. The first commit changes definition of attribute methods using `ActiveModel::AttributeMethods`. This has some small almost nonmesurable impact on speed. Cleans up a code little bit, though. In theory this patch is not needed, but at least sets some base for the second one.

Second one is the own Dirty module. I decided not to include it the main module, since most of the time this functionality is not needed. Included tests should cover regular usecase.