Rename refactoring is Rails-aware and knows that a Controller Action method has associated view that needs to be renamed too.
See how RubyMine handles more complex cases when using the Extract Method refactoring, e.g. multiple return values.
Short example of using the Extract Method refactoring for improving code logic and structure. The demo also shows error handling during the refactoring.
Quick demonstration of several refactorings: introduce and inline variable, as well as in-place rename for local variable.
©2000-2013 JetBrains. All rights reserved | Have you encountered a bug in JetBrains TV? Want to suggest a new feature? Use JetBrains TV issue tracker!