fix ActiveRecord::AttributeMethods::Dirty patch

was out of date with rails 4.1.4 which was preventing attribute *_was
fields from being calculated correctly for enum fields.
Merge pull request #226 from zsalzbank/dirty_fix

fix ActiveRecord::AttributeMethods::Dirty patch