Tutorials
Crafting Code: Building a Ruby Pattern Generator for a Crochet Circle | Hashrocket
In my time as a developer, I have noticed that one of the most common ways my coworkers spend time coding outside of work is by developing little code snippets or apps that solve problems in their everyday lives. From household budgeting, to manag...
Build a File Deduplication System with ActiveStorage | Code With Rails
Stop storing duplicate files. Learn how to detect identical uploads and reuse existing blobs to save storage costs and speed up uploads.Every time a user uploads their company logo, profile picture, or that same PDF they’ve uploaded three times be...
Nested forms without accepts_nested_attributes_for in Rails | Rails Designer
Build nested forms in Rails without accepts_nested_attributes_for. Use separate forms with auto-save and Turbo Streams for a simpler solution.Initially I thought of building it using Rails’ accepts_nested_attributes_for (like I wrote about here), ...
Building an AI-Powered Mobile App with Ruby on Rails and DigitalOcean | 10 Grounds
Building an AI-powered consumer app today comes with a lot of noise.
New frameworks, new models, new infrastructure patterns — all promising speed, scale, and intelligence out of the box.
When we started building CoChefy, our goal was much simple...
Rails 7.2 Connection Pool Changes May Slow Down Your App | Code With Rails
After upgrading to Rails 7.2, you might notice your app is a bit slower. Not dramatically, but measurably—around 5-6% in real-world benchmarks. It comes down to how ActiveRecord now manages database connections.
The Change
In Rails 7.1, each thre...