Froze rails gems
[depot.git] / vendor / rails / activerecord / test / models / parrot.rb
1 class Parrot < ActiveRecord::Base
2 set_inheritance_column :parrot_sti_class
3 has_and_belongs_to_many :pirates
4 has_and_belongs_to_many :treasures
5 has_many :loots, :as => :looter
6 alias_attribute :title, :name
7 end
8
9 class LiveParrot < Parrot
10 end
11
12 class DeadParrot < Parrot
13 belongs_to :killer, :class_name => 'Pirate'
14 end