aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-07-26 00:23:57 +0200
committerXavier Noria <fxn@hashref.com>2010-07-26 00:23:57 +0200
commit6aa12535881e00f156cf7ddacaba123ed181e015 (patch)
tree9a845318d1b41d1482304eafa235edd60ac7bd41 /activerecord/lib/active_record/base.rb
parentdf95948d455b3a5f75fc01d41375dcd840549633 (diff)
parent7fb7a2bd69b86ee0a0e832f597f11d8cc1c787c9 (diff)
downloadrails-6aa12535881e00f156cf7ddacaba123ed181e015.tar.gz
rails-6aa12535881e00f156cf7ddacaba123ed181e015.tar.bz2
rails-6aa12535881e00f156cf7ddacaba123ed181e015.zip
Merge remote branch 'docrails/master'
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rw-r--r--activerecord/lib/active_record/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 19ccf75b00..c589b32dd8 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -1030,7 +1030,7 @@ module ActiveRecord #:nodoc:
# class Article < ActiveRecord::Base
# def self.find_with_exclusive_scope
# with_scope(:find => where(:blog_id => 1).limit(1)) do
- # with_exclusive_scope(:find => limit(10))
+ # with_exclusive_scope(:find => limit(10)) do
# all # => SELECT * from articles LIMIT 10
# end
# end