Rails url shortening database with CLI