mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1c11437a32
[#765 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
3 lines
103 B
Ruby
3 lines
103 B
Ruby
class Essay < ActiveRecord::Base
|
|
belongs_to :writer, :primary_key => :name, :polymorphic => true
|
|
end
|