aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/command/behavior.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-6/+4
| | | | | | | | | | Currently we sometimes find a redundant begin block in code review (e.g. https://github.com/rails/rails/pull/33604#discussion_r209784205). I'd like to enable `Style/RedundantBegin` cop to avoid that, since rescue/else/ensure are allowed inside do/end blocks in Ruby 2.5 (https://bugs.ruby-lang.org/issues/12906), so we'd probably meets with that situation than before.
* Extract Rails::Command::SpellcheckerGenadi Samokovarov2018-03-041-40/+0
|
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Privatize unneededly protected methods in RailtiesAkira Matsuda2016-12-251-6/+6
|
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
|
* Apply Rafaels review fixes.Kasper Timm Hansen2016-09-251-1/+1
|
* Initial command structure.Kasper Timm Hansen2016-09-251-0/+123