X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=vendor%2Frails%2Factiverecord%2Ftest%2Fmodels%2Fparrot.rb;fp=vendor%2Frails%2Factiverecord%2Ftest%2Fmodels%2Fparrot.rb;h=0000000000000000000000000000000000000000;hb=36d9f3351a3b4e8159279445190e2287ffdea86c;hp=4a7ed5263609f8b050260b1353384cd99d79d314;hpb=913cf6054b1d29b5d2f5e620304af7ee77cc1f1f;p=feedcatcher.git diff --git a/vendor/rails/activerecord/test/models/parrot.rb b/vendor/rails/activerecord/test/models/parrot.rb deleted file mode 100644 index 4a7ed52..0000000 --- a/vendor/rails/activerecord/test/models/parrot.rb +++ /dev/null @@ -1,16 +0,0 @@ -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 - alias_attribute :title, :name - - validates_presence_of :name -end - -class LiveParrot < Parrot -end - -class DeadParrot < Parrot - belongs_to :killer, :class_name => 'Pirate' -end