Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case1: -
- class Course < ActiveRecord::Base
- has_many :questions
- has_many :mcqs, :through => :questions
- has_many :subjective, :through => :questions
- has_many :objectives, :through => questions
- .
- .
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement