andreasronge/neo4j — Issue #144: Fixnum are converted to String in neo4j when updating a record
Author: nasirvq
Created: 2012-01-25 05:52:39+00:00
State: open

Hey,

I've created a model (inherited by Neo4j::Rails::Model) and there are few properties of type Fixnum. When I create a new record with Fixnum values is saved perfectly and I can find records by providing integer values (using Exact index). But when I update an existing record all the Fixnum properties becomes of String Type and I am not able to search these updated records by providing integer values but can be searched by providing string values for Fixnum fields.

So if I want fetch products by user having id 1 (product has been updated) I've to Query like this

Product.all(:user_id => "1") instead of Product.all(:user_id => 1)

I am stuck in this bug please guide me how to overcome this problem and when you'll be able to resolve this?

Thanks,