lib/active_remote/search.rb in active_remote-5.1.1 vs lib/active_remote/search.rb in active_remote-5.2.0.alpha

- old
+ new

@@ -115,9 +115,10 @@ # Reload this record from the remote service. # def reload fresh_object = self.class.find(scope_key_hash) - @attributes.update(fresh_object.instance_variable_get("@attributes")) + @attributes = fresh_object.instance_variable_get("@attributes") + self end end end