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