Writing better Action Mailers: Revisiting a core Rails concept
19-Jan-2023 837
Mailers are a feature used in literally every Rails application. But they are often an after thought where we throw out the rules of well-written applications.Writing mailers is a “set it and forget it” part of your codebase. But recently, I’ve revisited the handful of mailers in my application and I was shocked at both how bad things were and also how many nice mailer features in Rails I wasn’t aware of.I’ve been writing Rails applications for over 10 years and there were things I figured out just this week about mailers that I will be using as my new defaults going forward.
Writing better Action Mailers: Revisiting a core Rails concept #ruby #rubydeveloper #rubyonrails #Writing #better #Action #Mailers: #Revisiting #Rails #concept https://rubyonrails.ba/link/writing-better-action-mailers-revisiting-a-core-rails-concept