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.