The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
19 March 2025
🚀 Optimizing Your Rails Test Suite with Automated Database Seeding 🚀
When testing a Rails application, ensuring a clean and reliable database state is crucial. Recently, I tackled a challenge where I needed to seed the database before running tests to validate questionnaire imports. [more inside]
18 March 2025
Simple Declarative Presence for Hotwire apps with AnyCable
In this new post, learn how to seamlessly integrate online presence tracking into a Rails application powered by Hotwire and AnyCable: Simple Declarative Presence for Hotwire apps with AnyCable
🚀 Testing RSpec Environments: The Superhero Guide to Setup and Cleanup 🦸♂️
Ever wondered how to tame the chaos of setting up and cleaning up your RSpec test environments? 🧹 [more inside]
Preserving Flash Messages in Rails
Follow the journey through Rails’ source code to explain application behavior with flash messages. [more inside]
17 March 2025
🚀 Mastering Route Testing with RSpec!
Writing solid tests is key to maintaining a reliable Rails application. One crucial aspect? Route testing! ✅ [more inside]
The Ultimate Guide to Scaling Sidekiq
Starting with the basics (use fewer queues, smaller jobs) and moving on to concurrency settings, dedicated processes, autoscaling, and more. If you use Sidekiq, this guide is a must-read.
Minitest vs RSpec
I publish a run down on choosing Minitest or RSpec for testing Rails applications.
Understanding Real String Manipulation in Ruby and Rails: From Characters to Performa
In my latest LinkedIn article, I dive into the fascinating world of real-world string manipulation in Ruby and Rails. Whether you’re a beginner or a seasoned developer, understanding how to work with strings effectively is crucial for building efficient, secure, and maintainable code. [more inside]
🚀 Have you ever forgotten an important parameter when creating a new Rails project?
You run rails new my_app, start coding, and then realize… you should have set up PostgreSQL, skipped unnecessary features, or chosen a JavaScript bundler. Now, you have to go back and fix it. Don’t worry—I’ve put together a guide on how to properly configure rails new from the start and what to do if you forget a parameter. [more inside]
16 March 2025
Simplify memory profiling with memplify
Are you using memory_profiler? Try memplify and inspect data on UI :) [more inside]
Exploiting LLM tools
I wrote a short piece about an LLM issue I noticed recently. Morale of the story is to never trust user supplied input and be careful with LLMs because they can be tricked. [more inside]
14 March 2025
🔥 "Revolutionize Your Rails App with AI! 🚀 See How I Enhanced Trix with DeepSeek!"
🤯 “Trix Editor + AI? YES! Here’s How I Made It Smarter in Rails! 💡” 🚀 “Stop Making Typos! Add AI-Powered Text Correction to Your Rails App in Minutes!” 🔍 “AI-Powered Editing in Rails? This One Trick Will Transform Your Trix Editor!” Let me know if you want something even spicier! 😃 [more inside]
13 March 2025
How to use Solid Cache in Rails
By leveraging a SQL database for caching, Solid Cache enables Rails applications to store a greater volume of data for extended periods, overcoming the limitations imposed by the cost and capacity of memory storage. Read our new article from Jeffery Morhous
🎯 Are Your Rails Routes Bulletproof?
Routing is the backbone of any Rails app, guiding every request to the right destination. But how confident are you that your routes won’t break during the next big refactor? 🤔 [more inside]
🚀 Ready to supercharge your Ruby on Rails application?
In my latest article, I dive deep into customizing the Trix Rich Text Editor in Rails 8, including how to add exciting features like an underline button and handle file uploads with ease. If you’re looking to enhance your Rails app’s functionality, this guide will show you how to get started quickly and efficiently. Whether you’re a seasoned developer or just getting started with Rails, this article will help you elevate your app’s text editing experience. [more inside]
Dedicated community for Kamal enthusiasts
I am planning to start a community of people using “kamal” regularly or even for hobby projects The main purpose of this community is to share knowledge and help kamal enthusiasts [more inside]
12 March 2025
🚀 Boost Your Ruby on Rails Development with Docker! 🛠️
Tired of dealing with dependency issues and complex setups? With just a few commands, you can have a fully functional Rails + PostgreSQL environment running seamlessly in Docker. No hassle, no conflicts—just code! Check out my latest article on how to streamline your development process and optimize your workflow. 👇 [more inside]
Which Enums to Use? Integers or Strings - Article
I have been programming in Ruby and Rails since 2005 and I was still confused between, String Enums or Integer Enums, until I tried using both string and integer enums myself in a Rails app. If you are like me and you also don’t know then click here to read this article - Integer Enums vs. String Enums in Rails: Which One Should You Use?
Mastering Building PWA (Progressive Web Apps) in Ruby on Rails 8 - FREE Book
PWAs (Progressive Web Apps) are the Future. However, there are not many being built currently using Ruby on Rails. I have written a complete book on Mastering Building PWA (Progressive Web Apps) in Ruby on Rails 8 is published by RailsForge. You can Read it here for FREE. [more inside]
11 March 2025
🚀 Want to Build Your Own AI Chatbot? Here’s How! 🤖
AI chatbots are changing the way we interact with technology, and now, you can build one yourself! I’ve written a detailed step-by-step guide on how to create a complete AI chatbot using Ruby and DeepSeek – with full code examples. [more inside]