👩💻 Senior Developer 📚 Course creator on the side 🛠️ Builder of side projects starryweather.com • relationkit.io 🏳️⚧️🏳️🌈
👩💻 Senior Developer
📚 Course creator on the side
🛠️ Builder of side projects
starryweather.com • relationkit.io
🏳️⚧️🏳️🌈
Posts
👩💻 Senior Developer 📚 Course creator on the side 🛠️ Builder of side projects starryweather.com • relationkit.io 🏳️⚧️🏳️🌈
I actually am enjoying @hanami@ruby.social quite a lot to rebuild my forked.sh project in.
It's taken time to get used to it, but I think the end result is going to be very nice!
👩💻 Senior Developer 📚 Course creator on the side 🛠️ Builder of side projects starryweather.com • relationkit.io 🏳️⚧️🏳️🌈
@francois@ruby.social @hanami@ruby.social You can use the shorthand syntax like you're asking for sure.
One thing to note is using the container Deps includes in that style you'd have to call MyApp::Deps instead of just Deps unless you used a module of your App and then did the shorthand style (so one layer of nesting).
This is since the constants won't be loaded in the shorthand style automatically.
module MyApp class Actions::Users::Params < Hanami::Action::Params include Deps["view.."]
👩💻 Senior Developer 📚 Course creator on the side 🛠️ Builder of side projects starryweather.com • relationkit.io 🏳️⚧️🏳️🌈
@hanami@ruby.social provides the ability to reuse param validations/definitions across actions.
In each action class you can define `params` blocks, but you can also make those into reusable classes that can be shared (and tested!) if you have a common set of params that need to be used!
👩💻 Senior Developer 📚 Course creator on the side 🛠️ Builder of side projects starryweather.com • relationkit.io 🏳️⚧️🏳️🌈
👩💻 Senior Developer 📚 Course creator on the side 🛠️ Builder of side projects starryweather.com • relationkit.io 🏳️⚧️🏳️🌈
some news: i’ve joined the Hanami Maintainers team, and i’m
spending my free time efforts towards making Hanami better.
i am still very early in my usage of @hanami@ruby.social but i’m excited for the future and to help make things better for the ruby community as i use it more and contribute back.
a diverse ruby ecosystem is a healthy one, and Ruby needs alternative choices and ideas in the tent to be successful.
hopefully more to come with Hanami in the future that everyone will love :)
👩💻 Senior Developer 📚 Course creator on the side 🛠️ Builder of side projects starryweather.com • relationkit.io 🏳️⚧️🏳️🌈
Starting a new series called: #HanamiTips
You can implement your own logging behavior for
@hanami@ruby.social by overriding the `config.logger.logger_constructor` in your app.rb file.
This one records the logs to stdout AND a log file and rotates logs daily or at 1mb in size.
👩💻 Senior Developer 📚 Course creator on the side 🛠️ Builder of side projects starryweather.com • relationkit.io 🏳️⚧️🏳️🌈
I will not get nerd sniped and make a new course 😅