Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Andrea Fomera

@afomera@ruby.social
mastodon 4.7.3
  • Open on ruby.social

👩‍💻 Senior Developer
📚 Course creator on the side
🛠️ Builder of side projects

starryweather.com • relationkit.io

🏳️‍⚧️🏳️‍🌈

325 Followers
100 Following
8 Posts
Joined November 07, 2022
Pronouns:
she/her
Twitter:
@afomera
Website:
https://afomera.dev
Open post
Andrea Fomera @afomera@ruby.social
· 12mo ago

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.

ruby.social
18
0
9
0
Open post
Andrea Fomera @afomera@ruby.social
· 11mo ago

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!

11
0
2
0
Open post
Andrea Fomera @afomera@ruby.social
· 11mo ago
Replying to
@phillmv the words and time you put into things sums up my feelings in such a better way than I could myself when I tried. big thank you for writing it, made me not feel so alone in my thoughts.
8
0
1
0
Open post
Andrea Fomera @afomera@ruby.social
· 11mo ago

@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!

#HanamiTips

ruby.social
6
2
2
0
Open post
Andrea Fomera @afomera@ruby.social
· 12mo ago

I will not get nerd sniped and make a new course 😅

2
2
0
0
Open post
Andrea Fomera @afomera@ruby.social
· 11mo ago
Replying to
social media is hard ok, I posted this yesterday on Bluesky but forgot to cross post it here
0
0
0
0
Open post
Andrea Fomera @afomera@ruby.social
· 11mo ago
Replying to

@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.."]

0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 09:04:10 UTC