diff options
author | Akira Matsuda <ronnie@dio.jp> | 2011-07-08 06:05:48 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2011-07-08 06:13:21 +0900 |
commit | 4d4819fb279386570466b2f99254cd77fb71e05c (patch) | |
tree | 015c2dff8517520e26476f4564ea7e2c2feba816 /activerecord | |
parent | b2816ae97173839176ccb982b3dc48854f1fc280 (diff) | |
download | rails-4d4819fb279386570466b2f99254cd77fb71e05c.tar.gz rails-4d4819fb279386570466b2f99254cd77fb71e05c.tar.bz2 rails-4d4819fb279386570466b2f99254cd77fb71e05c.zip |
:conditions => where
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/errors.rb | 2 |
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 |