Getting Hanami to behave in a similar way to Rails' out-of-the-box support for Postgres peer mode isn't obvious, but this config for `.env.development` seems to work:

`DATABASE_URL="postgresql://$(whoami)@/[name of database]"`

So far so good, but does anyone want to talk me out of developing a greenfield app with Hanami? After ~20 years of Rails it's already feeling like I'm making things harder for myself than they need to be. Need encouragement to push ahead.

#hanami #ruby

@ferrisoxide If it helps, I wrote Hanamismith to make building a Hanami app much smoother: https://alchemists.io/projects/hanamismith

I'm also the architect behind Terminus (https://github.com/usetrmnl/byos_hanami) if you like using Hanami with TRMNL e-ink displays.

All of this is open source so might be of help and give you guidance. You can also search for my "Hanami" articles on my site if you need deeper dives (since the Hanami documentation is quite lacking): https://alchemists.io/articles

Hanamismith | Alchemists

A collective devoted to the craft of software engineering where expertise is transmuted into joy.

@bkuhlmann Awesome sauce Brooke. Thank you for this - feeling inspired.

@ferrisoxide You bet! I know the feeling as I've spent countless hours on this and still constantly figuring things out.

Hanami definitely has problems -- not going to lie -- but I enjoy not having to work in Rails. 😅