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.
đŻ 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]
đ 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]
đ 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]
Caching Strategies for Ultra-High Performance in Ruby on Rails, Part 1
When it comes to optimizing web applications, a proper caching strategy is critical because it can significantly reduce load times and improve the overall user experience. This is especially true for Ruby on Rails applications, where performance can often experience bottlenecks due to heavy database queries or complex view rendering. [more inside]
Cloud hosting comparison calculator
Iâve been wanting a tool to compare prices side-by-side for Heroku, Fly, Render, etc., so I built one.
Building a Multi-Page guided tour with Rails + Driver.js
Learn to set up a multi-page guided tour in Rails with Driver.js. Integrate frontend and backend to manage and connect tours across pages. [more inside]
Mastering Enums in Rails - FREE Book
Enums is a valuable feature of ActiveRecord, however, RubyonRails newbie developers struggle to learn it and get hold of it. I have written a complete book on âMastering Enums in Railsâ and is published by RailsForge. You can Read it here for FREE. [more inside]
đ Unlock the Power of Collection and Container Objects in Ruby on Rails! đ ïž
As developers, we know that managing data efficiently is at the core of building scalable applications. Whether itâs organizing key-value pairs, ensuring data uniqueness, or working with lazy-loaded ActiveRecord collections, mastering collection and container objects is a game-changer. [more inside]
đ Want to integrate AI into your Ruby or Ruby on Rails projects?
Check out my latest article, where I explore DeepSeekâs API with a practical Ruby example to generate AI-powered responses. Learn how to make API calls, fetch available models, and handle responses efficiently. [more inside]
Better Know A Ruby Thing: Method Lookup
Been sitting on this for way too long, but hereâs a follow up blog post about method lookup in Ruby and how that interacts with singleton classes: [more inside]
Speed up RSpec tests: understand lifecycle and execution
One of RSpecâs strengths is the legibility of its behavior-based DSL. But the proliferation of small example blocks introduces a performance overhead. Why? Because of RSpec lifecycle! Letâs see how we can make your RSpec tests run faster!
New Ruby on Rails gem for building Intranets
AgileRails is a Ruby on Rails gem for agile programming of Intranet or business applications. You can view introduction videos here: https://www.youtube.com/playlist?list=PLM66pztpUC0DVAqZvIAqH3Khb_RzJdD3W Demo web site here: https://agile-rails.com Source code here: https://github.com/agile-rails
The pragmatic approach to testing Rails applications
Whatâs the right amount of testing? I am putting my take into words and what it means for my Rails template.
Small and Little Things Matter in Programming! đ
In software development, even the simplest tasks can reveal profound lessons. I recently tackled an interesting Ruby problem: cleaning an array by removing substrings found in other elements. While it sounds straightforward, the solution taught me the power of leveraging Rubyâs enumerable methods like reject and any?. In my latest article, I dive into this challenge, share an elegant solution, and explore why focusing on these âsmall and little thingsâ can make a big difference in our code. Check it out and let me know your thoughts! [more inside]
đ Microservices: Unlocking Agility and Scalability
Microservices have revolutionized how we build software, offering unmatched flexibility, scalability, and resilience. By enabling small, autonomous teams to work independently, microservices empower organizations to innovate faster, adopt new technologies, and scale effortlessly to meet growing demands. [more inside]
Ruby Mixins vs Rails Concerns
It is amazing how cryptic, difficult to reason about, and expensive to maintain Ruby codebases become when they include countless âconcernsâ without honoring the Ruby naming convention for mixins as representing âtraitsâ⊠https://andymaleh.blogspot.com/2025/03/ruby-mixins-vs-rails-concerns.html
đ Effortlessly Store Your Ruby-Generated Files on Google Drive! đ
Have you ever struggled with Google Drive API integration in Ruby? I recently tackled this challenge and hit some roadblocksâOAuth headaches, gem conflicts, and those frustrating âAPI not enabledâ errors. đ After some debugging (and a few cups of coffee â), I found a smooth and enjoyable workflow to automate file storage on Google Drive. Now, creating spreadsheets and managing files is a breeze! [more inside]
Lanet: A lightweight tool for networking
Lanet provides a simple yet powerful API for LAN device discovery, secure messaging, and real-time network monitoring. Features include encrypted communications, network scanning, targeted and broadcast messaging, and host pinging capabilities. [more inside]