Doing a walkthrough of the tutorial, web version, now, and I’m just going to note a couple of things as I’m going. ruby 3.3.5
I’m getting ostruct warnings. Nothing breaking, but it’s nice to have a warning free initial install. I’m not sure which gem is actually causing it.
The tutorial asks you to install database_cleaner-sequel, but it’s prebaked now
the require_relative instruction isn’t required as the generated spec_helper glob includes everything in the support directory already
Adding the handling for the books.show 404 causes a generated spec (actions/books/show_spec) to start failing.
the rest of it seems to finish out fine, although I think I might like to suggest that the “build a web page” tutorial at least have a small hint at CSS management, before sending you off to the more in-depth asset guide.
It’s kind of fun seeing ROM’s bones in all the repo management after all this time.
Good suggestion! I’ve added this as a contribution idea for the hack day at RubyConf next week: Hanami hack day at RubyConf 2024. If we don’t get any takers there, I’ll open up an issue.
We’re going to bring it to the masses!!
This was all fantastic feedback, Chris, thanks again! And maybe I’ll see you at RubyConf next week?
getting the following error:
Unable to load application: NameError: uninitialized constant Hanami::Middleware::BodyParser
when using
config.middleware.use Hanami::Middleware::BodyParser, :form
in app.rb