Naofumi Kagami
naofumik.bsky.social
Naofumi Kagami
@naofumik.bsky.social
Aspiring "Front-end" Ruby on Rails developer
Reposted by Naofumi Kagami
The pull request is now out.

Thank you all for your comments and encouragement. Let's see how it goes from here.

github.com/rails/rails/...
Tag helper buffer for nested elements with multiple children by naofumi · Pull Request #54042 · rails/rails
Motivation / Background This Pull Request adds a buffer to the content block in ActionView::Helpers::TagHelper#tag. This allows us to easily generate HTML for nested elements with multiple children...
github.com
December 24, 2024 at 6:48 AM
This is a proposal for an extension to Rails tag helpers, that will enable us to write slightly more complex HTML in pure Ruby inside our view helpers.

I think it could help us more conveniently write light-weight components.

I welcome any feedback!

dev.to/naofumik/rai...

@skillstopractice.com
Rails View Helpers for Components
This post is intended to gather feedback on a proposal for a new feature for Rails, while I put...
dev.to
December 23, 2024 at 8:18 AM
@garrettdimon.com Hello! I just sent you an email regarding your article on ERb and Partials. I have a proposal for improving the helper approach, and I would be very happy if you could give me some feedback.
December 21, 2024 at 6:02 AM