aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/pirate.rb
blob: f7193dfbe0434a26eef5de26cc6026db64f2c989 (plain) (blame)
1
2
3
4
5
class Pirate < ActiveRecord::Base
  belongs_to :parrot
  has_and_belongs_to_many :parrots
  has_many :loots, :as => :looter
end