diff options
Diffstat (limited to 'activerecord/test/models/essay.rb')
-rw-r--r-- | activerecord/test/models/essay.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/models/essay.rb b/activerecord/test/models/essay.rb index 6c28f5e49b..6a62042863 100644 --- a/activerecord/test/models/essay.rb +++ b/activerecord/test/models/essay.rb @@ -1,3 +1,4 @@ class Essay < ActiveRecord::Base belongs_to :writer, :primary_key => :name, :polymorphic => true + belongs_to :category end |