Writing better Action Mailers: Revisiting a core Rails concept

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 https://rubyonrails.ba/single/writing-better-action-mailers-revisiting-a-core-rails-concept

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles