diff options
author | Xavier Noria <fxn@hashref.com> | 2010-08-12 16:41:34 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-08-12 16:41:34 +0200 |
commit | 599c50583784537eec454f5e91dac89f88e54da3 (patch) | |
tree | f417abfdd5c1f0e12d3aa7accdc896eaaf2b7cd4 /activerecord/lib/active_record/base.rb | |
parent | cfad74cfef51888321c042623c9e2fb9663640f3 (diff) | |
download | rails-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.rb | 4 |
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 |