lib/active_remote/search.rb in active_remote-2.2.0 vs lib/active_remote/search.rb in active_remote-2.3.0

- old
+ new

@@ -132,12 +132,10 @@ end # Reload this record from the remote service. # def reload - response = self.class.find(scope_key_hash) - - fresh_object = self.class.instantiate(response.to_hash) + fresh_object = self.class.find(scope_key_hash) @attributes.update(fresh_object.instance_variable_get('@attributes')) end end end