Protect from mass assignment

This commit is contained in:
Micha Wrobel 2012-03-03 13:09:04 +01:00
parent cc6fd9eb2a
commit 877a59b365

View File

@ -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