andreasronge/neo4j — Issue #101: Neo4j::Rails::Model.find incorrect behavior with negative numbers
Author: dnagir
Created: 2011-12-14 23:13:36+00:00
State: open

When doing

`Neo4j::Rails::Model.find(-99)`, it return an object even though there is nothing with an id -99 exists in the database. Interestingly, for any negative numbers, it is doing the same.

The following works as expected and return nil

`Neo4j::Rails::Model.find(:first, :conditions => {id => -99})`