0

Neo4j.rb project. From the docs.

student = Student.first
lesson = Lesson.new
student.lessons << lesson

How do we pass the arguments for the relationship properties for the relationship between student and lesson?

Sanjay Singh
  • 367
  • 1
  • 11

1 Answers1

0

OK. It's not in the docs but in screencasts

student.lessons.create(lesson, enrolment_date: "blah")
Sanjay Singh
  • 367
  • 1
  • 11