When you have set id_property in config/application.rb and you have inheritance of models in application the base model id_property is set as uuid. The settings in application.rb does not take effect.
Additional information which could be helpful if relevant to your issue:
Code example (inline, gist, or repo)
Class X
include ActiveGraph::Node
end
Class Y < X
end
When you have set
id_property
in config/application.rb and you have inheritance of models in application the base model id_property is set asuuid
. The settings inapplication.rb
does not take effect.Additional information which could be helpful if relevant to your issue:
Code example (inline, gist, or repo)
config/application.rb =>
config.neo4j.id_property = :neo_id
X.id_property_info
=>{:name=>:uuid, :type=>{:auto=>:uuid}, :inherited=>false}
Runtime information:
Neo4j database version:
activegraph
gem version: 10.0.0