April 24, 2025 In a world overflowing with data, compression isn't just a matter of saving spaceβitβs about efficiency, speed, and clean design. Thatβs where lossless data compression stands out: perfect reconstruction of original data, with zero information loss. Recently, I explored a classic algorithmβRun-Length Encoding (RLE)βand implemented it in pure Ruby. Itβs a great … Continue reading β¨ The Art of Lossless Data Compression in Ruby
Category: coding
Optimizing Ruby Memory Usage with jemalloc-rb
April 23, 2025 When it comes to memory management in Ruby applications, especially those that run for long periods or handle large volumes of data, efficient allocation is key. One powerful tool to help improve memory handling is the jemalloc memory allocator. Even better, the Ruby gem jemalloc-rb makes integrating this allocator into your Ruby … Continue reading Optimizing Ruby Memory Usage with jemalloc-rb
π§© Modeling Dynamic Product Fields in Rails with the EAV Pattern
Modeling Dynamic Product Fields in Rails with the EAV Pattern April 22, 2025 In some applications, products arenβt all the same. A bottle of milk, a car, and a cow each need their own unique fields. Traditional relational databases donβt play well with highly dynamic schemas β and thatβs where the Entity-Attribute-Value (EAV) pattern comes … Continue reading π§© Modeling Dynamic Product Fields in Rails with the EAV Pattern
π§ Understanding Ruby’s YARV (Yet Another Ruby VM) Stack Mechanics β From Code to Execution
April 21, 2025 Ruby is often praised for its expressiveness and ease of use. But behind the scenes, there's a powerful virtual machine making it all happen: YARV (Yet Another Ruby VM). If youβve ever wondered how your Ruby code actually runs, this article is for you. Letβs dive into the inner mechanics using this … Continue reading π§ Understanding Ruby’s YARV (Yet Another Ruby VM) Stack Mechanics β From Code to Execution
π Behind the Code: Crafting a Thoughtful .gemspec for Your Ruby Gem
April 16, 2025 Over the past few weeks, Iβve been working on a gem that integrates AI-powered buttons into the Trix editor using Stimulus: Trix-Genius. Along the way, I found myself reflecting on something that often gets overlooked: the humble .gemspec file. Today, I want to share a breakdown of how I approached my .gemspec … Continue reading π Behind the Code: Crafting a Thoughtful .gemspec for Your Ruby Gem
π Introducing TrixGenius Alpha 0.1.2 β Now with AI-Powered Math Evaluation!
TrixGenius Alpha 0.1.2 April 15, 2025 π’ I just released a new version of my Rails engine and gem: TrixGenius! This gem extends the beloved Trix Editor with some fresh, AI-powered superpowers β all using Hotwire (Turbo + Stimulus). Whether you're building internal tools, CMS interfaces, or AI-enhanced content platforms, TrixGenius gives your rich text … Continue reading π Introducing TrixGenius Alpha 0.1.2 β Now with AI-Powered Math Evaluation!
π Understanding Closures in Ruby: A Powerful Yet Elegant Feature
April 14, 2025 If youβve been working with Ruby for a while, youβve likely encountered blocks, procs, and lambdas. But beneath these familiar constructs lies a concept that gives them real power: closures. πΌ Need Help with Ruby or Rails? I help businesses build, optimize, and maintain Ruby and Ruby on Rails applications β with … Continue reading π Understanding Closures in Ruby: A Powerful Yet Elegant Feature
π Finally! The Alpha Version of TrixGenius Has Arrived β Supercharge Your Trix Editing Experience with AI! π§
April 10, 2025 After many late-night commits, experiments, and way too much mate β β Iβm incredibly excited to introduce the alpha release of a gem Iβve been crafting with love: TrixGenius β A smart extension for Trix + ActionText + Hotwire. π Supercharge Your Trix Editor with DeepSeek AI in Ruby on Rails Discover … Continue reading π Finally! The Alpha Version of TrixGenius Has Arrived β Supercharge Your Trix Editing Experience with AI! π§
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
Supercharging Trix Editor with Rails Generators π
March 31, 2025 As developers, we often find ourselves automating repetitive tasksβwhether setting up configurations, scaffolding files, or adding custom features. Rails generators are a powerful tool to streamline this process, making development more efficient and consistent. This article is part one of a three-part series on building a Rails gem to enhance Trix Editor … Continue reading Supercharging Trix Editor with Rails Generators π









