bigdir/app/models/teacher.rb

14 lines
260 B
Ruby
Raw Normal View History

2013-09-12 10:41:15 +08:00
class Teacher < ActiveRecord::Base
attr_accessible :course_code, :couurse_time, :location, :tea_name
include Redmine::SafeAttributes
belongs_to :project
safe_attributes'tea_name',
'location',
'couurse_time',
'course_code',
'extra'
end