Open iehdk opened 5 years ago
Starting in the ActiveNode association's section might be easier: https://neo4jrb.readthedocs.io/en/9.2.x/ActiveNode.html#associations.
I've never thought about it before, but the docs might be best read in order.
Also, FYI
:out
is referring to the relation's direction.:lesson
is the name used for the created method (having read the ActiveNode association's section, you'd need to figure this out by looking at the usage examples).rel_class
accepts the name of an ActiveRel
class.When you figure things out, if you have an idea for how to improve the docs, a PR would be welcomed.
So the has_many explanation @ https://neo4jrb.readthedocs.io/en/9.2.x/ActiveRel.html could be better, IMHO. Take the example:
What is
:out
? What is:lessons
? What doesrel_class
accept?