aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-11 15:13:43 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-11 15:13:43 +0000
commitb59619600fbbfb2cf6d7156fb4c21bb2c0cec955 (patch)
tree4fdf5cf20505215c392f7e4ed868bfa036743cb3 /activerecord
parenta67beac9d0db8e7dd88267ac5eeefc49ffbd46ce (diff)
downloadrails-b59619600fbbfb2cf6d7156fb4c21bb2c0cec955.tar.gz
rails-b59619600fbbfb2cf6d7156fb4c21bb2c0cec955.tar.bz2
rails-b59619600fbbfb2cf6d7156fb4c21bb2c0cec955.zip
No conditions relevant here
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb b/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
index 5ccac8e62b..eda6992243 100644
--- a/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
+++ b/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
@@ -51,7 +51,7 @@ module ActiveRecord
# If no block is given, raise RecordNotFound.
if ids.empty?
- raise RecordNotFound, "Couldn't find #{@association_class.name} without an ID#{conditions}"
+ raise RecordNotFound, "Couldn't find #{@association_class.name} without an ID"
# If using a custom finder_sql, scan the entire collection.
elsif @options[:finder_sql]