Issue #5141 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Assigned to Closed

Use Emacs-bundled ruby-mode.el.
----------------------------------------
Bug #5141: Inconsistent indentation in method call with args on multiple lines.
https://bugs.ruby-lang.org/issues/5141#change-34334

Author: budu (Nicolas Buduroi)
Status: Closed
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: misc
Target version: 
ruby -v: HEAD


The indentation of method call with arguments spread on multiple lines is inconsistent.

  belongs_to(:foo,
          :class_name => 'Foo',
          :foreign_key => 'foo_id')

  has_many(:bar,
      :class_name => 'Bar',
      :foreign_key => :bar_id)

This was working correctly in earlier versions.


-- 
http://bugs.ruby-lang.org/