Fixed overiding of String methods in Rails