aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping/default.rb
diff options
context:
space:
mode:
authordmathieu <42@dmathieu.com>2014-03-07 15:06:20 +0100
committerdmathieu <42@dmathieu.com>2014-03-07 15:06:20 +0100
commit3f1699a780de5cd0c3433bc3427cc43f08f77040 (patch)
treeb74e60811147b093532db604cf14f31095d56d0a /activerecord/lib/active_record/scoping/default.rb
parent24434880d91ceae15e68fdd90b466ec29627388a (diff)
downloadrails-3f1699a780de5cd0c3433bc3427cc43f08f77040.tar.gz
rails-3f1699a780de5cd0c3433bc3427cc43f08f77040.tar.bz2
rails-3f1699a780de5cd0c3433bc3427cc43f08f77040.zip
fix typo app -> all
Thank you @bquorning
Diffstat (limited to 'activerecord/lib/active_record/scoping/default.rb')
-rw-r--r--activerecord/lib/active_record/scoping/default.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/scoping/default.rb b/activerecord/lib/active_record/scoping/default.rb
index da01464eb5..73ab3b39aa 100644
--- a/activerecord/lib/active_record/scoping/default.rb
+++ b/activerecord/lib/active_record/scoping/default.rb
@@ -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.