This commit is contained in:
albert
2013-02-23 13:07:01 -05:00
parent c51a406083
commit c49eddf2df
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ class Comment < ActiveRecord::Base
has_many :votes, :class_name => "CommentVote", :dependent => :destroy
before_validation :initialize_creator, :on => :create
after_save :update_last_commented_at
attr_accessible :body, :post_id
attr_accessible :body, :post_id, :do_not_bump_post
attr_accessor :do_not_bump_post
module SearchMethods