aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-08-12 16:41:34 +0200
committerXavier Noria <fxn@hashref.com>2010-08-12 16:41:34 +0200
commit599c50583784537eec454f5e91dac89f88e54da3 (patch)
treef417abfdd5c1f0e12d3aa7accdc896eaaf2b7cd4 /activerecord/lib/active_record/base.rb
parentcfad74cfef51888321c042623c9e2fb9663640f3 (diff)
downloadrails-599c50583784537eec454f5e91dac89f88e54da3.tar.gz
rails-599c50583784537eec454f5e91dac89f88e54da3.tar.bz2
rails-599c50583784537eec454f5e91dac89f88e54da3.zip
commit review: applies guidelines to "# =>"
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rw-r--r--activerecord/lib/active_record/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index a464b65c19..4b550eb446 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -1155,8 +1155,8 @@ MSG
# default_scope where(:published => true)
# end
#
- # Article.new.published #=> true
- # Article.create.published #=> true
+ # Article.new.published # => true
+ # Article.create.published # => true
def default_scope(options = {})
self.default_scoping << construct_finder_arel(options, default_scoping.pop)
end