by camillovisini on 3/3/25, 8:20 AM with 24 comments
by axelthegerman on 3/3/25, 12:16 PM
Sure ERB is another DSL and some things are not perfect. But for the mark-up you write actual HTML instead of having to learn and get used to writing blocks for each element.
I guess to each their own, you enjoy rails with Phlex and I will with ERB.
I think the bigger challenges with emails is that action mailer itself is a little dated and feels cluttered. Most email clients being a nightmare with the actual rendering and not being able to use stylesheets etc makes it even harder... So I'd love to see a general iteration on action mailer to bring it up to the level of Rails 8
by xutopia on 3/3/25, 4:31 PM
by dasil003 on 3/3/25, 2:28 PM
by dewey on 3/3/25, 1:41 PM
- People inventing new technologies to not write SQL
- People inventing ways to avoid writing HTML
I feel like the solution to both of these is just to stick to SQL / HTML as for both of these there's a lot of resources, tooling and knowledge and they will not go away. They are transferable between languages, projects and whatever tooling companies are using.