RuboCop
共通(?) Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||. Align the keys of a hash literal if they span more than one line. Please use Rails.root.join('path/to') instead. A…
共通(?) Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||. Align the keys of a hash literal if they span more than one line. Please use Rails.root.join('path/to') instead. A…