aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorSıtkı Bağdat <sbagdat@gmail.com>2013-11-15 23:31:23 +0200
committerSıtkı Bağdat <sbagdat@gmail.com>2013-11-15 23:31:23 +0200
commit324ac5f20b21735608577503f11628d97086d39c (patch)
tree5673e6ff438a45ef8c64e6d8198ecda4d3583c09 /guides/source
parent314e2cc05b6cad93b6e8a3414b2c0106174239be (diff)
downloadrails-324ac5f20b21735608577503f11628d97086d39c.tar.gz
rails-324ac5f20b21735608577503f11628d97086d39c.tar.bz2
rails-324ac5f20b21735608577503f11628d97086d39c.zip
Change Relation#all to Relation#load [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_record_querying.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md
index 57e8e080f4..cf0249a400 100644
--- a/guides/source/active_record_querying.md
+++ b/guides/source/active_record_querying.md
@@ -1301,7 +1301,7 @@ especially useful if a `default_scope` is specified in the model and should not
applied for this particular query.
```ruby
-Client.unscoped.all
+Client.unscoped.load
```
This method removes all scoping and will do a normal query on the table.