molten-trunk/molten5_withgrid/app/models/case_comment.rb
def add_creator_identifier_to_body
    
    return if self.comment_body.nil? or (self.comment_body =~ COMMENT_CREATOR_IDENTIFIER) or self.created_by_id.nil?
    write_attribute('comment_body',
                     self.comment_body.insert(0, "#{AppConstants::COMMENT_CREATOR_DELIMATOR} #{created_by.name}\n")
                    )
  end
# Prepend the creator id to the comment body.
Prepend the creator id to the comment body.
Prepend the creator id to the comment body .
def add_creator_identifier_to_body
    return if self.comment_body.nil? or (self.comment_body =~ COMMENT_CREATOR_IDENTIFIER) or self.created_by_id.nil?
    write_attribute('comment_body',
                     self.comment_body.insert(0, "#{AppConstants::COMMENT_CREATOR_DELIMATOR} #{created_by.name}\n")
                    )
  end
def add_creator_identifier_to_body return if self . comment_body . nil? or ( self . comment_body =~ COMMENT_CREATOR_IDENTIFIER ) or self . created_by_id . nil? write_attribute ( 'comment_body' , self . comment_body . insert ( 0 , "#{AppConstants::COMMENT_CREATOR_DELIMATOR} #{created_by.name}\n" ) ) end
Prepend the creator id to the comment body.
Prepend the creator id to the comment body .