April 9, 2025 I recently added a Rails Generator to the trix-genius gem β a small improvement that aims to make integration smoother and faster for developers using Trix with Rails and Stimulus. π TL;DR: rails generate trix_genius:install now does the setup for you. π¬ Need a Custom Ruby Gem for Your App? If you're … Continue reading π§ Making Ruby on Rails Integration Easier with trix-genius Generators
Tag: Ruby on Rails
Creating a Ruby Gem to Add AI Power to the Trix Text Editor β Trix-Genius v0.0.5
April 1, 2025 Welcome to the second article in my three-part series on building and releasing Ruby gems. In the first article, we talked about Ruby gems and how they can simplify your Rails applications. In this article, Iβll dive deeper into the process of creating a gem designed to add AI-powered functionality to the … Continue reading Creating a Ruby Gem to Add AI Power to the Trix Text Editor β Trix-Genius v0.0.5
π Automating Ruby Gem Creation with Thor: A Guide to the Generator Script π
March 28, 2025 Creating a Ruby gem from scratch often involves repetitive tasks such as setting up the gemspec, creating directories, and initializing version control. To simplify this process, Iβve written a Thor script that automates gem creation. In this post, Iβll walk you through the code behind the generator and explain how to use … Continue reading π Automating Ruby Gem Creation with Thor: A Guide to the Generator Script π
Creating a Ruby Gem Scaffold with Docker and PostgreSQL
March 25, 2025 Introduction When building a new Ruby gem, setting up a consistent and isolated development environment is crucial. In this article, Iβll walk you through how I set up a Docker-based scaffold for a Ruby gem, ensuring a clean and reproducible setup with PostgreSQL integration. π Build & Distribute Your Own Ruby Gem! … Continue reading Creating a Ruby Gem Scaffold with Docker and PostgreSQL
Handling File Transfers in a Heroku Environment with Net::SFTP
March 20, 2025 Daily readers, todayβs article is a bit different. Usually, I dive into a specific Ruby or Ruby on Rails topic, but today, time is short, and I need to handle different tasks. So, Iβll share a quick but useful real-world problem I encountered. Need Help with a Heroku Project? Do you need … Continue reading Handling File Transfers in a Heroku Environment with Net::SFTP
Automating Database Seeding for Reliable Tests in Rails
March 19, 2025 When developing a Rails application that involves structured data, testing is crucial to ensure that our data handling works correctly. Recently, I faced a challenge when testing a questionnaire system where I needed to run database seeds before executing test cases. Hereβs how I optimized the process. Need to Improve Your Test … Continue reading Automating Database Seeding for Reliable Tests in Rails
π Simplifying Exception Tracking in Rails: Meet Solid Errors
January 10, 2025 When developing and maintaining Rails applications, error tracking is key to delivering a robust and user-friendly experience. While popular services like Honeybadger and Sentry are great, sometimes you need a lightweight, in-app solution that keeps things simple. Thatβs where Solid Errors comes inβa database-driven exception tracker designed specifically for Rails applications. Do … Continue reading π Simplifying Exception Tracking in Rails: Meet Solid Errors
Unlocking the Magic of perform_async in Ruby on Rails
January 9, 2025 Have you ever wished you could delegate tasks to an invisible assistant while you focus on whatβs important? Well, in the world of Ruby on Rails, perform_async from the Sidekiq gem is that magical assistant! It helps you move tasks to the background, letting your application handle more important thingsβlike keeping your … Continue reading Unlocking the Magic of perform_async in Ruby on Rails
Testing RSpec Environments: A Tale of Setup, Cleanup, and Preventing Total Chaos
March 18, 2025 Testing, like life, requires careful preparation, a little bit of chaos management, and an occasional cleanup. When it comes to RSpec, setting up and cleaning up your test environments might not sound like a rockstar feature, but let me tell you, if you skip these steps, you might as well be throwing … Continue reading Testing RSpec Environments: A Tale of Setup, Cleanup, and Preventing Total Chaos
Understanding Real String Manipulation in Ruby and Rails: From Characters to Performance
January 8, 2025 Strings are one of the most fundamental and widely used data types in any programming language, and Ruby is no exception. Whether you're building a web application with Ruby on Rails or writing scripts, understanding the power of strings in Ruby can make your code more efficient, clean, and expressive. In this … Continue reading Understanding Real String Manipulation in Ruby and Rails: From Characters to Performance









