bigdir/app/models/homework_user.rb

7 lines
142 B
Ruby

class HomeworkUser < ActiveRecord::Base
attr_accessible :homework_attach_id, :user_id
belongs_to :homework_attach
belongs_to :user
end