set activerecord whitelist_attributes to true
This commit is contained in:
parent
4629cc44d6
commit
83efcabc82
28 changed files with 100 additions and 44 deletions
|
@ -3,8 +3,6 @@ module IssueCommonality
|
|||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
attr_protected :author, :author_id, :project, :project_id
|
||||
|
||||
belongs_to :project
|
||||
belongs_to :author, class_name: "User"
|
||||
belongs_to :assignee, class_name: "User"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue