Issue #5140 has been reported by Nicolas Buduroi.

----------------------------------------
Bug #5140: Emacs ruby-mode major indentation bug with Ruby 1.9
http://redmine.ruby-lang.org/issues/5140

Author: Nicolas Buduroi
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: HEAD


When spreading the arguments of a method call on multiple lines using the new hash syntax from Ruby 1.9, the level of indentation is retained even after the closing parenthesis. Example:

  belongs_to(:foo,
          class_name: 'Foo',
          foreign_key: 'foo_id')
          
          # the indentation level is wrong!


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