bigdir/app/models/homework_attach.rb

11 lines
187 B
Ruby
Raw Normal View History

2013-09-13 21:52:24 +08:00
class HomeworkAttach < ActiveRecord::Base
include Redmine::SafeAttributes
2013-09-13 21:52:24 +08:00
belongs_to :user
belongs_to :bid
safe_attributes "bid_id",
"user_id"
2013-09-13 21:52:24 +08:00
acts_as_attachable
end