Set multiline ENV variable in production
Did you try to set up a private key as ENV variable in production but you get the following error:
Did you try to set up a private key as ENV variable in production but you get the following error:
In the first part, we saw some guidelines for choosing a Gem, in the following post we will discuss updating gems which is an important use case for real world applications.
Most of the available Gems in the ecosystem will receive some patches and updates. So we should check our installed versions for security fixes and performance improvement.
Ruby provides a variety of Gems for every requirement and new developers get confused when choosing the between Gems.
When integrating a service provider to your Rails application like payment or mailing, it’s common to face the need of using Webhooks to get a notification about specific events.
We use Rails routing helpers in views and controllers but sometimes we need to generate a link from a service class or background job.
Kaminari is a popular pagination gem for Rails application and provides a decent default template to get started.