aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/parrot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures/parrot.rb')
-rw-r--r--activerecord/test/fixtures/parrot.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/parrot.rb b/activerecord/test/fixtures/parrot.rb
index 340c73b907..10850669e7 100644
--- a/activerecord/test/fixtures/parrot.rb
+++ b/activerecord/test/fixtures/parrot.rb
@@ -1,4 +1,5 @@
class Parrot < ActiveRecord::Base
has_and_belongs_to_many :pirates
has_and_belongs_to_many :treasures
+ has_many :loots, :as => :looter
end