Module: ErpForms::Extensions::ActiveRecord::ActsAsCommentable::InstanceMethods

Defined in:
lib/erp_forms/extensions/active_record/acts_as_commentable.rb

Instance Method Summary collapse

Instance Method Details

#add_comment(options = {}) ⇒ Object


25
26
27
# File 'lib/erp_forms/extensions/active_record/acts_as_commentable.rb', line 25

def add_comment(options={})
  self.comments.create(options)
end