module ActiveRecord::Base

Public Class Methods

has_comments() click to toggle source
# File lib/peanut_gallery/has_comments.rb, line 3
def has_comments
  has_many :comments, :as => :item
end