klobuczek / active_node

ActiveRecord style Object Graph Mapping for neo4j
MIT License
14 stars 5 forks source link

Support neo4j 1.9.* #11

Closed kwent closed 9 years ago

kwent commented 10 years ago

Here for example, label is not existing on neo4j 1.9.* and so we are hiting exception cause the endpoint label is not existing.

Client Side

node = User.create! name: 'name' is hiting :

Neography::NeographyError: Neography::NeographyError
from /Users/kwent/.rvm/gems/ruby-2.1.2@down-node/gems/neography-     1.5.0/lib/neography/connection.rb:244:in `raise_errors'
from /Users/kwent/.rvm/gems/ruby-2.1.2@down-node/gems/neography-    1.5.0/lib/neography/connection.rb:217:in `handle_4xx_500_response'

Server Side

com.sun.jersey.api.NotFoundException: null for uri: http://localhost:7474/db/data/node/1/labels
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1470)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
klobuczek commented 10 years ago

I am sorry, but I don't have the capacity to maintain multiple gem version for different neo4j versions. Your only option is to use active_node version 0.2 which is compatible with neo4j 1.9.x. I have to make sure active_node provides all the features for the major project it has been written for. At this point I cannot even guarantee backwards compatibility between active_node versions even within the same neo4j version.