aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/tagging.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2012-07-20 19:35:02 +0100
committerJon Leighton <j@jonathanleighton.com>2012-07-20 19:35:02 +0100
commit2f6e33d3f84fe6924971291bbf9d0c345afe3f47 (patch)
treef66823bc85e9af7ac8483dc819448476c4090a29 /activerecord/test/models/tagging.rb
parentf7d8aac40ab9b8357b55a7d38501ced0dec09448 (diff)
downloadrails-2f6e33d3f84fe6924971291bbf9d0c345afe3f47.tar.gz
rails-2f6e33d3f84fe6924971291bbf9d0c345afe3f47.tar.bz2
rails-2f6e33d3f84fe6924971291bbf9d0c345afe3f47.zip
rm unnecessary test
interpolation is no longer a thing separate from "normal" assoc conditions.
Diffstat (limited to 'activerecord/test/models/tagging.rb')
-rw-r--r--activerecord/test/models/tagging.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/models/tagging.rb b/activerecord/test/models/tagging.rb
index 3d1c4e5f3d..f91f2ad2e9 100644
--- a/activerecord/test/models/tagging.rb
+++ b/activerecord/test/models/tagging.rb
@@ -8,7 +8,6 @@ class Tagging < ActiveRecord::Base
belongs_to :invalid_tag, :class_name => 'Tag', :foreign_key => 'tag_id'
belongs_to :blue_tag, -> { where :tags => { :name => 'Blue' } }, :class_name => 'Tag', :foreign_key => :tag_id
belongs_to :tag_with_primary_key, :class_name => 'Tag', :foreign_key => :tag_id, :primary_key => :custom_primary_key
- belongs_to :interpolated_tag, -> { where "1 = #{1}" }, :class_name => 'Tag', :foreign_key => :tag_id
belongs_to :taggable, :polymorphic => true, :counter_cache => true
has_many :things, :through => :taggable
end