Ruby URL shortener supported with a SQLite database