lib/neo4j/active_node/labels.rb in neo4j-9.1.0 vs lib/neo4j/active_node/labels.rb in neo4j-9.1.1

- old
+ new

@@ -100,10 +100,10 @@ map_id = proc { |object| object.respond_to?(:id) ? object.send(:id) : object } result = find_by_id_or_ids(map_id, id) fail RecordNotFound.new( - "Couldn't find #{name} with '#{id_property_name}'=#{id}", + "Couldn't find #{name} with '#{id_property_name}'=#{id.inspect}", name, id_property_name, id) if result.blank? result.tap { |r| find_callbacks!(r) } end # Finds the first record matching the specified conditions. There is no implied ordering so if order matters, you should specify it yourself.