mirror of
https://github.com/github/rails.git
synced 2026-01-24 05:48:09 -05:00
No conditions relevant here
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user