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