Module: ThreadableComments::ClassMethods
- Defined in:
- lib/threadable_comments.rb
Instance Method Summary collapse
Instance Method Details
#has_threadable_comments ⇒ Object
9 10 11 12 |
# File 'lib/threadable_comments.rb', line 9 def has_threadable_comments has_many :comments, class_name: '::ThreadableComments::Comment', as: :commentable, dependent: :destroy include ThreadableComments::InstanceMethods end |