jpmcgrath/shortener — pull request #14 by fmbiete (2013-09-03 16:57:18+00:00)
Title: Fixed to work with Rails4 and support URL with spaces

This fixes the Issue #13

Maybe it's not the better solution, since the model doesn't overrides the create/new method but it works.

Also I need to shorten URLs with spaces and unescaped characters, so before URI.parse an URI.escape is needed, although URI.normalize will restore the spaces.