Permalink
Browse files

Merge pull request #12904 from sbagdat/patch-1

Change Relation#all to Relation#load [ci skip]
  • Loading branch information...
2 parents d5dbc03 + 324ac5f commit 66f168150661af39fc7af717a4e414212f44dbcf @rafaelfranca rafaelfranca committed Nov 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit 66f1681

Please sign in to comment.