Sha256: 015017f7b4fab0f1f867422e77efc9b184dad5f987cd2bdcc13365b0d0e3c455

Contents?: true

Size: 878 Bytes

Versions: 1

Compression:

Stored size: 878 Bytes

Contents

class BeautifulFightRelationship

  belongs_to :enemy,
     :polymorphic => true
     # called from line 57

  belongs_to :protector,
     :polymorphic => true
     # called from line 57

  acts_as_double_polymorphic_join ,
     :enemies => [:dogs,
     :kittens,
     :frogs],
     :join_extend => #<Proc:0x03be672c@/Users/eweaver/Desktop/projects/fauna/has_many_polymorphs/trunk/test/models/beautiful_fight_relationship.rb:20>,
     :enemies_extend => [ExtensionModule, #<Proc:0x00000000@/Users/eweaver/Desktop/projects/fauna/has_many_polymorphs/trunk/test/models/beautiful_fight_relationship.rb:14>],
     :protectors => [:wild_boars,
     :kittens,
     :"aquatic/fish",
     :dogs],
     :protectors_extend => #<Proc:0x03be68bc@/Users/eweaver/Desktop/projects/fauna/has_many_polymorphs/trunk/test/models/beautiful_fight_relationship.rb:15>
     # 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/beautiful_fight_relationship.rb