Sha256: aee3640a34d8794d4198a8362678cdf449ec7831733ce8a077017b10d3a5f30d
Contents?: true
Size: 222 Bytes
Versions: 4
Compression:
Stored size: 222 Bytes
Contents
module Parrot module Model extend ActiveSupport::Concern module ClassMethods def parrot_comments has_many :comments, :class_name => Parrot::Comment, :as => :commentable end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
parrot-0.0.5 | lib/parrot/model_additions.rb |
parrot-0.0.4 | lib/parrot/model_additions.rb |
parrot-0.0.3 | lib/parrot/model_additions.rb |
parrot-0.0.2 | lib/parrot/model_additions.rb |