Subject: bug#32496: 27.0.50; Strange indentation when ruby-align-chained-calls is t

From: Artur Malabarba <[email-masked]>
Date: Wed, 22 Aug 2018 08:36:06 -0300

1. (setq ruby-align-chained-calls t)
2. (setq ruby-use-smie t)
3. Open a file in ruby-mode, insert the following and indent it

----------
some_variable.where.not(x: nil)
             .where(y: 2)
----------

Expected behaviour: Nothing would happen, the code is already properly
indented.

What actually happens: The code gets indented as follows

----------
some_variable.where.not(x: nil)
                   .where(y: 2)
----------

Note that this is conflicts with the indentation enforced by rubocop.
Artur