老师删除作业保报错

This commit is contained in:
sw 2015-06-02 11:59:59 +08:00
parent 66c02f0667
commit 79f4e286cf
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
class HomeworkCommon < ActiveRecord::Base
# attr_accessible :name, :user_id, :description, :publish_time, :end_time, :homework_type, :late_penalty, :course_id
include Redmine::SafeAttributes
include ApplicationHelper
belongs_to :course
belongs_to :user