aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/tag.rb
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2006-01-20 21:51:48 +0000
committerJamis Buck <jamis@37signals.com>2006-01-20 21:51:48 +0000
commitf9c13e6134bbc32dd826eec39fedba5de2514f88 (patch)
treef58cbeb77de93e1fa229b191b91e03913163770a /activerecord/test/fixtures/tag.rb
parentd2f47503f8890fe42310ada8ca9408ac5f268265 (diff)
downloadrails-f9c13e6134bbc32dd826eec39fedba5de2514f88.tar.gz
rails-f9c13e6134bbc32dd826eec39fedba5de2514f88.tar.bz2
rails-f9c13e6134bbc32dd826eec39fedba5de2514f88.zip
Add a test to verify correct behavior when creating a polymorphic association
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/tag.rb')
-rw-r--r--activerecord/test/fixtures/tag.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/tag.rb b/activerecord/test/fixtures/tag.rb
index bfd81c69f7..d54f3cd680 100644
--- a/activerecord/test/fixtures/tag.rb
+++ b/activerecord/test/fixtures/tag.rb
@@ -1,2 +1,3 @@
class Tag < ActiveRecord::Base
+ has_many :taggings, :as => :taggable
end \ No newline at end of file