rails/rails — pull request #5574 by phiggins (2012-03-26 01:10:20+00:00)
Title: Remove trailing newline from strip_heredoc output.

Almost everytime I use strip_heredoc I end up manually removing the trailing newline at the end, which seems a bit redundant. This change adds a .chomp to the end to remove the trailing newline, but will preserve and whitespace the user intentionally adds.

I asked @tenderlove about this and his response was [a resounding 'meh'(https://twitter.com/#!/tenderlove/status/180044228418740224).