rails/rails — pull request #3542 by amatsuda (2011-11-07 05:42:36+00:00)
Title: Remove redundant blank line at the bottom of generated controller code

Every time the controller generator produces controller codes with a redundant blank line at the bottom.
This is because the generator outputs a method definition and a blank line for each actions when iterating over given actions.
Here's (a bit ugly) workaround for removing this.