mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix typo app -> all
Thank you @bquorning
This commit is contained in:
parent
24434880d9
commit
3f1699a780
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module ActiveRecord
|
|||
#
|
||||
# Post.all # Fires "SELECT * FROM posts WHERE published = true"
|
||||
# Post.unscoped.all # Fires "SELECT * FROM posts"
|
||||
# Post.where(published: false).unscoped.app # Fires "SELECT * FROM posts"
|
||||
# Post.where(published: false).unscoped.all # Fires "SELECT * FROM posts"
|
||||
#
|
||||
# This method also accepts a block. All queries inside the block will
|
||||
# not use the previously set scopes.
|
||||
|
|
Loading…
Reference in a new issue