Simple link shortening service in rails