aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping/default.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2015-10-25 01:49:37 +0900
committerRyuta Kamizono <kamipo@gmail.com>2015-10-25 01:49:37 +0900
commite7c0595f3bb978e3cbf56d199ed6777949ac9f2b (patch)
tree86abda93c77b65f4ab26126a0c76e97cced520cc /activerecord/lib/active_record/scoping/default.rb
parentdf153edcfb9030fb428e1363b969fba846ff14eb (diff)
downloadrails-e7c0595f3bb978e3cbf56d199ed6777949ac9f2b.tar.gz
rails-e7c0595f3bb978e3cbf56d199ed6777949ac9f2b.tar.bz2
rails-e7c0595f3bb978e3cbf56d199ed6777949ac9f2b.zip
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
#