aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/errors.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2011-07-08 06:05:48 +0900
committerAkira Matsuda <ronnie@dio.jp>2011-07-08 06:13:21 +0900
commit4d4819fb279386570466b2f99254cd77fb71e05c (patch)
tree015c2dff8517520e26476f4564ea7e2c2feba816 /activerecord/lib/active_record/errors.rb
parentb2816ae97173839176ccb982b3dc48854f1fc280 (diff)
downloadrails-4d4819fb279386570466b2f99254cd77fb71e05c.tar.gz
rails-4d4819fb279386570466b2f99254cd77fb71e05c.tar.bz2
rails-4d4819fb279386570466b2f99254cd77fb71e05c.zip
:conditions => where
Diffstat (limited to 'activerecord/lib/active_record/errors.rb')
-rw-r--r--activerecord/lib/active_record/errors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/errors.rb b/activerecord/lib/active_record/errors.rb
index 3bd2ed8f1b..ad7d8cd63c 100644
--- a/activerecord/lib/active_record/errors.rb
+++ b/activerecord/lib/active_record/errors.rb
@@ -87,7 +87,7 @@ module ActiveRecord
#
# For example, in
#
- # Location.all :conditions => ["lat = ? AND lng = ?", 53.7362]
+ # Location.where("lat = ? AND lng = ?", 53.7362)
#
# two placeholders are given but only one variable to fill them.
class PreparedStatementInvalid < ActiveRecordError