Sha256: adc27801d85826321cd7be5bdb7d15c4f173d30e0f72123104dab3ccd34cddfe

Contents?: true

Size: 295 Bytes

Versions: 39

Compression:

Stored size: 295 Bytes

Contents

class Parrot < ActiveRecord::Base
  set_inheritance_column :parrot_sti_class
  has_and_belongs_to_many :pirates
  has_and_belongs_to_many :treasures
  has_many :loots, :as => :looter
end

class LiveParrot < Parrot
end

class DeadParrot < Parrot
  belongs_to :killer, :class_name => 'Pirate'
end

Version data entries

39 entries across 39 versions & 9 rubygems

Version Path
3mix-castronaut-0.5.0.2 vendor/activerecord/test/models/parrot.rb
ferblape-query_memcached-2.2.2 test/testing_app/app/models/parrot.rb
masover-castronaut-0.4.4.4 vendor/activerecord/test/models/parrot.rb
masover-castronaut-0.4.4.5 vendor/activerecord/test/models/parrot.rb
masover-castronaut-0.5.0.1 vendor/activerecord/test/models/parrot.rb
relevance-castronaut-0.4.1 vendor/activerecord/test/models/parrot.rb
relevance-castronaut-0.4.2 vendor/activerecord/test/models/parrot.rb
relevance-castronaut-0.4.3 vendor/activerecord/test/models/parrot.rb
relevance-castronaut-0.4.4 vendor/activerecord/test/models/parrot.rb
relevance-castronaut-0.4.5 vendor/activerecord/test/models/parrot.rb
relevance-castronaut-0.4.6 vendor/activerecord/test/models/parrot.rb
relevance-castronaut-0.5.0 vendor/activerecord/test/models/parrot.rb
relevance-castronaut-0.5.1 vendor/activerecord/test/models/parrot.rb
relevance-castronaut-0.5.2 vendor/activerecord/test/models/parrot.rb
relevance-castronaut-0.5.3 vendor/activerecord/test/models/parrot.rb
relevance-castronaut-0.5.4 vendor/activerecord/test/models/parrot.rb
radiant-0.7.2 vendor/rails/activerecord/test/models/parrot.rb
vibes-bj-1.2.2 spec/rails_root/vendor/rails/activerecord/test/models/parrot.rb
vibes-bj-1.2.1 spec/rails_root/vendor/rails/activerecord/test/models/parrot.rb
activerecord-2.0.0 test/fixtures/parrot.rb