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.
Rails 8 Assets - Deep dive into Propshaft
After covering interplay of Propshaft in importmap-rails in the previous article, I covered how Propshaft works in this one: Rails 8 Assets - Deep dive into Propshaft
🚀 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. Read more
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? 🧹 Read more
Preserving Flash Messages in Rails
Follow the journey through Rails’ source code to explain application behavior with flash messages. Read more
🚀 Mastering Route Testing with RSpec!
Writing solid tests is key to maintaining a reliable Rails application. One crucial aspect? Route testing! ✅ Read more
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. Read more
🚀 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. Read more
Simplify memory profiling with memplify
Are you using memory_profiler? Try memplify and inspect data on UI :) Read more
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. Read more
🔥 "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! 😃 Read more
ERB: Embedding Ruby in HTML
ERB is a Ruby templating system to embed Ruby code in HTML. Learn how it works, with examples and step-by-step rendering instructions. Read more
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? 🤔 Read more
🚀 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. Read more
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 Read more
🚀 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. 👇 Read more
Limit Spam Sign Ups in Rails Apps
If you launch a Rails app to the world, sooner than later, you will see them: spam sign ups (along with requests to typical WordPress URLS). Read more
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. Read more