1. 13
  1. 3

    Nice. Although arguably, with the sql db, there’s now two files (although in-memory might make sense) - and the example might have benefitted from using the model(s).

    With an in-memory database and some in-line seeding - the app might start to look like a real utility :)

    1. 3

      There’s a small collection of single file Ruby starters here: https://starters.wolfgangrittner.dev/scripts

      1. 2

        I don’t see the bundler in-line technique used a lot. It is super handy especially for weird little one-off utilities I keep around and don’t want to also have to do something with a separate Gemfile.