Sha256: bcf198192889f58b62678d76bc2c390fbd46843cad9c43b046ae12a0446411b5

Contents?: true

Size: 477 Bytes

Versions: 23

Compression:

Stored size: 477 Bytes

Contents

# see http://dev.rubyonrails.org/ticket/5935
module Aquatic; end
require 'aquatic/fish'
require 'aquatic/pupils_whale'

class Aquatic::Whale < ActiveRecord::Base
  # set_table_name "whales"
  
  has_many_polymorphs(:aquatic_pupils, :from => [:dogs, :"aquatic/fish"],
                      :through => "aquatic/pupils_whales") do
                        def a_method
                          :correct_block_result 
                        end
                      end    
end

Version data entries

23 entries across 23 versions & 4 rubygems

Version Path
radiant-tags-extension-1.6.10 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
johnsbrn-has_many_polymorphs-2.13.1 test/models/aquatic/whale.rb
johnsbrn-has_many_polymorphs-2.13.3 test/models/aquatic/whale.rb
johnsbrn-has_many_polymorphs-2.13.4 test/models/aquatic/whale.rb
johnsbrn-has_many_polymorphs-2.13 test/models/aquatic/whale.rb
radiant-tags-extension-1.6.9 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
radiant-tags-extension-1.6.8 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
radiant-tags-extension-1.6.7 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
radiant-tags-extension-1.6.6 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
radiant-tags-extension-1.6.5 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
radiant-tags-extension-1.6.4 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
radiant-tags-extension-1.6.3 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
radiant-tags-extension-1.6.2 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
radiant-tags-extension-1.6.1 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
radiant-tags-extension-1.6.0 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
radiant-tags-extension-1.5.1 vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
has_many_polymorphs-2.11 test/models/aquatic/whale.rb
has_many_polymorphs-2.2 test/models/aquatic/whale.rb
has_many_polymorphs-2.13 test/models/aquatic/whale.rb
has_many_polymorphs-2.12 test/models/aquatic/whale.rb