bigdir/app/models/homework_attach.rb

10 lines
149 B
Ruby

class HomeworkAttach < ActiveRecord::Base
attr_accessible :bid_id, :user_id
belongs_to :user
belongs_to :bid
acts_as_attachable
end