lib/active_remote/search.rb in active_remote-1.5.6 vs lib/active_remote/search.rb in active_remote-1.5.7

- old
+ new

@@ -123,9 +123,11 @@ # Reload this record from the remote service. # def reload _active_remote_search(:guid => self.guid) - assign_attributes(last_response.to_hash) + + fresh_object = self.class.new(last_response.to_hash) + @attributes.update(fresh_object.instance_variable_get('@attributes')) end end end