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.
Running interactive sessions with Kamal
Here’s how to run interactive sessions with Kamal.
🚀 Mastering State Machines in Ruby on Rails 🚀
In my latest article, I dive into the powerful world of state machines in Ruby on Rails and how you can leverage external gems like state_machines and AASM to manage state transitions effectively. [more inside]
Everything You Need to Know About NodeJS Architecture
Learn everything about Node.js Architecture. Read Here: https://www.creolestudios.com/what-is-nodejs-architecture/
🚀 Handling File Transfers in a Heroku Environment with Net::SFTP 🌐
As developers, we often face unique challenges when working with cloud platforms. Recently, I had to deal with an interesting issue—downloading a file generated on the fly within a Heroku server. Since Heroku’s filesystem is ephemeral, retrieving the file wasn’t as straightforward as it seemed. [more inside]
How to create value objects in Ruby - the idiomatic way
I wrote an article exploring what I think should be the idiomatic way to create value objects in Ruby since 3.2 [more inside]
Avoiding PaaS Lock-in
Are you using a platform? Ever thought about using a different platform? If so, it probably makes you a little nervous [more inside]
Ruby OOP Done Right with Responsibility Driven Design
For those who missed it, here is the video of the recent Montreal.rb talk “Ruby OOP Done Right with Responsibility Driven Design”: https://www.youtube.com/watch?v=-KTUZDpMVKU&list=PLRAf4zt5oEjc2mqmEN9m_O0JovQCXxvxt&index=15
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. [more inside]
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]
🚀 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]
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]
🔥 "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]
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