aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/tag.rb
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-04-05 17:01:56 +0000
committerRick Olson <technoweenie@gmail.com>2006-04-05 17:01:56 +0000
commita9fb1544b0e7e6412e4cb64702585024e24276bf (patch)
tree6f9b5c099d3304184c284aa0219add424be6e2b6 /activerecord/test/fixtures/tag.rb
parent4d232025b7260834dc4a4403b2b9effd043215c4 (diff)
downloadrails-a9fb1544b0e7e6412e4cb64702585024e24276bf.tar.gz
rails-a9fb1544b0e7e6412e4cb64702585024e24276bf.tar.bz2
rails-a9fb1544b0e7e6412e4cb64702585024e24276bf.zip
Added support for eagerly including polymorphic has_one associations. (closes #4525) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/tag.rb')
-rw-r--r--activerecord/test/fixtures/tag.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/fixtures/tag.rb b/activerecord/test/fixtures/tag.rb
index ed3c6ce34a..c12ec0c188 100644
--- a/activerecord/test/fixtures/tag.rb
+++ b/activerecord/test/fixtures/tag.rb
@@ -1,5 +1,5 @@
class Tag < ActiveRecord::Base
- has_many :taggings, :as => :taggable
+ has_many :taggings
has_many :taggables, :through => :taggings
- has_one :tagging, :as => :taggable
+ has_one :tagging
end \ No newline at end of file