Module: Commentem::Commenter::ClassMethods
- Defined in:
- lib/commentem/commenter.rb
Instance Method Summary collapse
Instance Method Details
#acts_as_commenter ⇒ Object
8 9 10 11 |
# File 'lib/commentem/commenter.rb', line 8 def acts_as_commenter has_many :commentings, :as => :commenter, :dependent => :destroy, :class_name => "Comment" include Commentem::Commenter::InstanceMethods end |