lib/neo4j/active_node/labels.rb in neo4j-5.2.0 vs lib/neo4j/active_node/labels.rb in neo4j-5.2.1

- old
+ new

@@ -99,10 +99,10 @@ fail Neo4j::RecordNotFound if result.blank? result end # Finds the first record matching the specified conditions. There is no implied ordering so if order matters, you should specify it yourself. - # @param Hash args of arguments to find + # @param values Hash args of arguments to find def find_by(values) all.where(values).limit(1).query_as(:n).pluck(:n).first end # Like find_by, except that if no record is found, raises a RecordNotFound error.