lib/active_remote/dirty.rb in active_remote-2.4.0 vs lib/active_remote/dirty.rb in active_remote-3.0.0.pre1

- old
+ new

@@ -55,18 +55,9 @@ yield enable_dirty_tracking end - # Override #write_attribute (along with #[]=) so we can provide support for - # ActiveModel::Dirty. - # - def write_attribute(name, value) - __send__("#{name}_will_change!") if _active_remote_track_changes? && value != self[name] - super - end - alias_method :[]=, :write_attribute - private # Wether or not changes are currently being tracked for this class. # def _active_remote_track_changes?