Personal Blog

"

Gowsik's
Blog.

Writing about Rails, Ruby,
DevOps, AI and the web.

Rails · November 26, 2024 · 5 min read

Implementing Passwordless Authentication with WebAuthn in Rails

Learn how to set up WebAuthn in Rails for passwordless authentication, offering a secure and seamless login experience using biometric or hardware-based credentials.

Rails · November 15, 2023 · 2 min read

Rails 7.1 Adds Support for MessagePack as Message Serializer

MessagePack is now supported in Rails 7.1, this new serializer enables the generation of smaller payloads and significantly faster serialization and deserialization compared to other serializers.

Rails · October 16, 2023 · 2 min read

Rails 7.1 Introduces Autoload Lib and Ignore Sub-Directories with config.autoload_lib(ignore:) Method

Autoloading lib directory isn't always straightforward. In this blog post, we'll delve into the autoloading of the lib directory using config.autoload_lib(ignore:).

Rails · August 15, 2023 · 2 min read

Rails 7.1 Store secret_key_base In Credentials For Local Environment

In upcoming Rails 7.1 secret_key_base will be stored in credentials instead of secrets, as secrets has been deprecated in favour of credentials

JSOpenAI APIAI · August 5, 2023 · 8 min read

Building a chatbot in Next.js using Vercel AI SDK

Using Vercel AI SDK to build an OpenAI chatbot with streamable user interface

RailsRuby WeeklyAI · August 5, 2023 · 7 min read

Integrate Replicate in Rails Application

Integrate Replicate in Rails application and effortlessly run various machine learning models in the cloud using Replicate

RailsRuby Weekly · May 29, 2023 · 2 min read

Extract Sample Rate of an Audio File with Audio Analyzer in Rails 7.1

Extract the sample rate of an audio file with ActiveStorage::AudioAnalyzer which will return the bit rate, duration, and sample rate

RubyOpenAI APIChat GPTAI · May 9, 2023 · 11 min read

Integrate OpenAI API in Ruby applications

We can integrate OpenAI API in a ruby application by using ruby-openai gem which allows us to build an app with all the ChatGPT

JekyllDevOpsAWS AmplifyRuby Weekly · May 2, 2023 · 4 min read

Deploy Jekyll blog to AWS Amplify

Deploy a static site like a Jekyll blog to AWS Amplify with full fledged CI/CD pipeline and app preview.

WebDevOps · March 23, 2023 · 3 min read

Restore Postgres DB in fly.io - PG version mismatch issue workaround

Restoring Postgres DB a workaround for PG version mismatch issue in fly.io