This is an old pet peeve of mine: Ruby allows functions to be called without parentheses.
In my opinion, this just makes the code less readable, especially for beginners.
All changes are made my rubocop --auto-correct, which should be completely safe.
The exception to this rule is a somewhat unrelated change in app/controllers/public/status_controller.rb, where 'not include' was replaced by 'exclude' by rubocop --auto-correct-all.
I double-checked, and this should be safe too.
This is an old pet peeve of mine: Ruby allows functions to be called without parentheses. In my opinion, this just makes the code less readable, especially for beginners. All changes are made my
rubocop --auto-correct
, which should be completely safe. The exception to this rule is a somewhat unrelated change inapp/controllers/public/status_controller.rb
, where 'not include' was replaced by 'exclude' byrubocop --auto-correct-all
. I double-checked, and this should be safe too.