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