aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-11-15 18:11:53 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-11-15 18:11:53 -0800
commit66f168150661af39fc7af717a4e414212f44dbcf (patch)
treeaf25df5f373fbd4a68099c6ee44a3e67b1bcf46b /guides/source
parentd5dbc037c45ead4a4fbfa826ad537017af408c4b (diff)
parent324ac5f20b21735608577503f11628d97086d39c (diff)
downloadrails-66f168150661af39fc7af717a4e414212f44dbcf.tar.gz
rails-66f168150661af39fc7af717a4e414212f44dbcf.tar.bz2
rails-66f168150661af39fc7af717a4e414212f44dbcf.zip
Merge pull request #12904 from sbagdat/patch-1
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.