personal-course/app/models/course_semester.rb

8 lines
131 B
Ruby
Raw Permalink Normal View History

2015-12-29 11:35:44 +00:00
class CourseSemester
include Mongoid::Document
include Mongoid::Timestamps
field :title, localize: true
has_many :courses
end