padrino/padrino-framework — pull request #1793 by glaucocustodio (2014-10-21 17:49:32+00:00)
Title: String#sub instead String#gsub. Faster code.

Sub replaces only the first occurrence, while gsub all. More info at https://github.com/JuanitoFatas/fast-ruby#stringgsub-vs-stringsub-code.