Tutorials

Improving your Rails mailers with `email_address_with_name`
It’s a small touch, but it is a more human-readable way of addressing an email. Rails provides a helper utility to format email addresses in this style without resorting to manual string manipulation.UsageUse email_address_with_name to add a name ...

How to redact sensitive parameters in GraphQL and Rails?
Every application holds a sensitive or private information that needs to be protected from being leaked. Most application will writes details to the logs which are accessible to the application developer to debug and trace activities whenever need...





DB max connection limits for Rails app and Postgres, Redis, Puma settings
Configuring the database connections pool for the Rails app might not be a straightforward task for many programmers. There is a constraint of max opened connections on a database level. Your server environment configuration can change in time and...



Rails 7 transforms a Ruby hash into HTML attributes for ERB interpolation | Saeloun Blog
One of the basic things we learn as a Rails developer is how to interpolate bits and pieces of Ruby code into our template file, which is ERB. There are many other template engines apart from ERB, such as HAML and Slim, but since ERB is the defaul...