]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/diary_comment.rb
Don't pass ActiveRecord objects to find and exists?
[rails.git] / app / models / diary_comment.rb
index bea1c7f0d5b83bac5e31b0761a0027694144d588..9d29f52b78e9be2a00762df206a3e1824835e0af 100644 (file)
@@ -5,8 +5,6 @@ class DiaryComment < ActiveRecord::Base
   validates_presence_of :body
   validates_associated :diary_entry
 
-  attr_accessible :body
-
   after_initialize :set_defaults
   after_save :spam_check