diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/blog_comment.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/blog_comment.rb b/app/models/blog_comment.rb index 8ab1cf3..015b96d 100644 --- a/app/models/blog_comment.rb +++ b/app/models/blog_comment.rb @@ -1,5 +1,7 @@ class BlogComment < ActiveRecord::Base + attr_accessible :name, :email, :message + filters_spam :author_field => :name, :email_field => :email, :message_field => :body |