aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/errors.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2011-07-08 01:12:09 +0900
committerAkira Matsuda <ronnie@dio.jp>2011-07-08 06:13:21 +0900
commita3683fd0e4980ae4926497ba7c7b7e8606f3e88e (patch)
tree0baa4591ebd5f418b9b595176bda793a274f350f /activerecord/lib/active_record/errors.rb
parent1d3f833a5425487cae1e3073b52ebf285eff03f9 (diff)
downloadrails-a3683fd0e4980ae4926497ba7c7b7e8606f3e88e.tar.gz
rails-a3683fd0e4980ae4926497ba7c7b7e8606f3e88e.tar.bz2
rails-a3683fd0e4980ae4926497ba7c7b7e8606f3e88e.zip
find(:all) => all
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 ea1709cb1f..3bd2ed8f1b 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.find :all, :conditions => ["lat = ? AND lng = ?", 53.7362]
+ # Location.all :conditions => ["lat = ? AND lng = ?", 53.7362]
#
# two placeholders are given but only one variable to fill them.
class PreparedStatementInvalid < ActiveRecordError