Michael Loistl
banner
michaelloistl.com
Michael Loistl
@michaelloistl.com
Rubyist doing all sorts of things, including iOS, macOS and Android apps.

👨‍💻 Tech Lead @madebyon_com
🌍 Slow traveling the world, as modern day nomad
Have you gotten around to that video comparing Stimulus to Svelte for Rails developers? Would like to explore this topic more ...
July 31, 2025 at 12:56 PM
Sure can I find you on Zed? Or if you want to send me an invite to Tuple (have never used that)...
January 22, 2025 at 6:00 PM
@joel.drapper.me if that's a phlex related issue, how quick would that be fixed? I've a project deadline on a legacy project by this Friday and would need to potentially not use phlex then 😬
January 22, 2025 at 5:50 PM
@joel.drapper.me so the following renders the input first and the label below...

<%= render partial: 'shared/form_label', locals: { ... } %>
<%= form.text_field attribute_name, options %>
January 22, 2025 at 5:26 PM
Ok, that works as well.

However that partial renders the form input first and then all other partials, so it's not in order as defined in partial 🤯, so it's not in the order as in the erb file.
January 22, 2025 at 5:23 PM
v2 from main

render Phlex::Rails::Partial.new("...") actually resolves that issue 🙌
January 22, 2025 at 5:16 PM
The partial rendered from phlex view renders correctly, but non of the partials rendered from within that erb render...

Any thoughts?
January 22, 2025 at 5:03 PM
Interesting that the API allows to create an empty record.
January 6, 2025 at 6:21 PM