lib/active_remote/dirty.rb in active_remote-7.0.0 vs lib/active_remote/dirty.rb in active_remote-7.1.0

- old
+ new

@@ -60,11 +60,11 @@ yield enable_dirty_tracking end - private + private # Wether or not changes are currently being tracked for this class. # def _active_remote_track_changes? @_active_remote_track_changes != false @@ -72,10 +72,10 @@ # Override ActiveAttr's attribute= method so we can provide support for # ActiveModel::Dirty. # def attribute=(name, value) - send("#{name}_will_change!") if _active_remote_track_changes? && value != self[name] + send(:"#{name}_will_change!") if _active_remote_track_changes? && value != self[name] super end # Override #update to only send changed attributes. #