Module: SocialEngine::Commentable

Defined in:
app/models/social_engine/commentable.rb

Defined Under Namespace

Modules: InstanceMethods

Instance Method Summary collapse

Instance Method Details

#is_commentableObject



3
4
5
6
# File 'app/models/social_engine/commentable.rb', line 3

def is_commentable
  has_many :comments, :as=>:commentable, :dependent => :destroy
  include InstanceMethods
end