Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Course < ActiveRecord::Base
- has_many :lessons
- end
- class Lesson < ActiveRecord::Base
- belongs_to :courses
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement