aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/essay.rb
blob: 6c28f5e49b235942645044c7fc69bfcfe4ff7e4c (plain) (blame)
1
2
3
class Essay < ActiveRecord::Base
  belongs_to :writer, :primary_key => :name, :polymorphic => true
end