Protect from mass assignment
This commit is contained in:
parent
cc6fd9eb2a
commit
877a59b365
@ -7,4 +7,6 @@ class Comment < ActiveRecord::Base
|
|||||||
belongs_to :user
|
belongs_to :user
|
||||||
belongs_to :asciicast
|
belongs_to :asciicast
|
||||||
|
|
||||||
|
attr_accessible :body
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user