Neo4j inconsistent behaviour of model classes
问题 I have created 5 models in my project using ActiveNode model and using neo4j gem. There is a model named Disease, defined as: class Disease include Neo4j::ActiveNode property :disease, type: String, constraint: :unique property :created_at, type: DateTime property :updated_at, type: DateTime enum factor_effect: [:relief, :worsen] # Associations has_many :in, :factors, type: :AFFECTED_BY end and Factor: class Factor include Neo4j::ActiveNode property :factor, type: String, constraint: :unique