aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping/default.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-10-25 11:54:28 -0500
committerSean Griffin <sean@seantheprogrammer.com>2015-10-25 11:54:28 -0500
commit09463183867f702d6ec66fce964ecb9f7ae0d98a (patch)
treeaf8c2c8e60a141db963b79568edfa65549b47dcd /activerecord/lib/active_record/scoping/default.rb
parent504e5e102b847019f08c4c2d1fa30444ed9a59a0 (diff)
parente7c0595f3bb978e3cbf56d199ed6777949ac9f2b (diff)
downloadrails-09463183867f702d6ec66fce964ecb9f7ae0d98a.tar.gz
rails-09463183867f702d6ec66fce964ecb9f7ae0d98a.tar.bz2
rails-09463183867f702d6ec66fce964ecb9f7ae0d98a.zip
Merge pull request #22064 from kamipo/do_not_omit_parentheses
Do not omit parentheses [ci skip]
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 17bc066e4d..cdcb73382f 100644
--- a/activerecord/lib/active_record/scoping/default.rb
+++ b/activerecord/lib/active_record/scoping/default.rb
@@ -17,7 +17,7 @@ module ActiveRecord
#
# class Post < ActiveRecord::Base
# def self.default_scope
- # where published: true
+ # where(published: true)
# end
# end
#