Sha256: eb2b942423f15b7be17609d13927514c4ece18ba6a1f6f72971aa8b3802f95a0

Contents?: true

Size: 951 Bytes

Versions: 1

Compression:

Stored size: 951 Bytes

Contents

class Citation

  has_many_polymorphs :items,
     :from => [:users,
     :sellers]
     # called from line 57

  has_many :citations_items,
     :extend => [],
     :dependent => :destroy,
     :foreign_key => "citation_id",
     :class_name => "CitationsItem"
     # called from line 57

  has_many :sellers,
     :source => :item,
     :extend => [Citation::CitationSellerPolymorphicChildAssociationExtension],
     :limit => nil,
     :through => :citations_items,
     :group => nil,
     :conditions => nil,
     :source_type => "Seller",
     :class_name => "Seller",
     :order => nil
     # called from line 57

  has_many :users,
     :source => :item,
     :extend => [Citation::CitationUserPolymorphicChildAssociationExtension],
     :limit => nil,
     :through => :citations_items,
     :group => nil,
     :conditions => nil,
     :source_type => "User",
     :class_name => "User",
     :order => nil
     # called from line 57

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_many_polymorphs-2.11 test/integration/app/generated_models/citation.rb