Tutorials


Tutorial - Use transactions to extract your Rails controller
When your Rails app needs to handle multiple steps, your controllers' methods can become a mess. Don't despair, though. You can delegate sequential steps to business transactions and Marie-Kondo those messy controllers. I'll show you how.Let's kee...




🚀 Configurable plain Ruby 📨 email validator. Verify email via Regex, DNS and SMTP. Be sure that email address valid and exists.
The Truemail gem helps you validate emails via regex pattern, presence of DNS records, and real existence of email account on a current email server. Also Truemail gem allows performing an audit of the host in which runs.




Creating multiple models with form objects in Rails.
Update: User MelissaLiberty from Reddit pointed out how they would improve the form object and some of it faults. The form object has been updated to reflect their excellent points. Often, when we start a new Rails app we start with simple control...