personal-selected_course/app/models/selected_course_semester.rb

8 lines
148 B
Ruby
Raw Normal View History

2020-09-20 06:24:31 +00:00
class SelectedCourseSemester
include Mongoid::Document
include Mongoid::Timestamps
field :title, localize: true
has_many :selected_courses
end