class Human
  include Neo4j::ActiveNode
  property :name
  # A human can have outgoing relationships of type pets to animals
  # The name of the generated accessor method will be the same as the relationship type: pets
  has_many :out, :pets, type: :pets, model_class: :Animal
end