lib/active_resource/singleton.rb in activeresource-4.0.0 vs lib/active_resource/singleton.rb in activeresource-4.1.0

- old
+ new

@@ -69,10 +69,10 @@ def find_singleton(options) prefix_options, query_options = split_options(options[:params]) path = singleton_path(prefix_options, query_options) resp = self.format.decode(self.connection.get(path, self.headers).body) - instantiate_record(resp, {}) + instantiate_record(resp, prefix_options) end end # Deletes the resource from the remote service. #