OpenAI Realtime and Rails Simplified
OpenAI has a new API called OpenAI Realtime API. Now you might ask how is this different from the existing OpenAI API? Or where can we use this? This article is to answer all these basic questions...
OpenAI has a new API called OpenAI Realtime API. Now you might ask how is this different from the existing OpenAI API? Or where can we use this? This article is to answer all these basic questions...
Often times, a test-case fails but we don’t get a proper reason of the failure on CI. We need to run the test again on our local environment or put some kind of debug pointer to check what was the ...
Many times, we would like to validate if a class or a method sends an email. We don’t wanna worry too much about the specific details (i.e. body, subject, from, to) of the email but just wanna ensu...
When deploying a Rails application using Kamal, we set RAILS_MASTER_KEY in our .env file. However, this RAILS_MASTER_KEY is for our production environment. When we try to run the same application o...
What is the difference between kamal deploy and kamal redeploy? When using Kamal, when we do kamal help, there are two commands which seem similar. They are kamal deploy and kamal redeploy. In this...
Next up in our Rails Kamal series is adding Redis and Sidekiq configuration. Sidekiq is a very well-known background task manager in the Rails community. Sidekiq uses Redis as a data store for sche...
This is Part 3 of my Kamal Rails Series. So far, we’ve deployed a Rails application and accessed the application using the HTTP protocol. However, in production, we rarely do this and always deploy...
In Part 1 of this Kamal Series, we have deployed a vanilla Rails application to our remote server using Kamal. A vanilla Rails application ships with SQLite as a database by default. Many times tho...
Kamal is still it in its early stages and is getting battle-tested. While we try to use Kamal to deploy our Rails applications, there are several instances where we mess things up on the server and...
Kamal is a new shiny way to deploy Rails applications announced by DHH back in February 2023 and also spoke about it in his RailsWorld Keynote. Now that Heroku has removed their free tier, Kamal ha...