Module: Parrot::Model::ClassMethods

Defined in:
lib/parrot/model_additions.rb

Instance Method Summary collapse

Instance Method Details

#parrot_commentsObject



6
7
8
# File 'lib/parrot/model_additions.rb', line 6

def parrot_comments
  has_many :comments, :class_name => Parrot::Comment, :as => :commentable
end