Playing with a URL Shortener to understand rails associations. You can run it by typing rails runner bin/cli. All primary keys, foreign keys, class names, etc are defined manually to get a better hang of it.