Practicing ruby on the rails with a simple URL shortener app