Paweł Świątkowski · @katafrakt
221 followers · 467 posts · Server ruby.social

I finally wrapped up some (minor) work around . This one add human-friendly slugs to categories and threads.

github.com/katafrakt/palaver/p

I went in a really wrong alleys with that before, trying to add slugger as a provider, not just a dependency. Finally, I ended up creating it as just a "regular" dependency in one of the slices, as it won't probably be needed elsewhere.

The main challenge was to isolate Stringex, which is very slow to load, in tests.

#palaver #ruby #hanami

Last updated 1 year ago