Not exactly a "break" per se, but the .squish call is moved into a weird place, which results in a code, which is weirdly idented/formatted.
I am not sure if this is only (a/my) style preference or rather incorrect rubyfmt behaviour, which should be fixed. I won't be posting such issues if it's the former.
The cop: RuboCop::Cop::Rails::SquishedSQLHeredocs
Input file
Rubyfmt's output
This breaks because
Not exactly a "break" per se, but the
.squish
call is moved into a weird place, which results in a code, which is weirdly idented/formatted.I am not sure if this is only (a/my) style preference or rather incorrect rubyfmt behaviour, which should be fixed. I won't be posting such issues if it's the former.