Community-driven Ruby news and articles
257 articlesCapturing browser console.log output in Rails system tests isn’t obvious with Capybara + Cuprite - especially when debugging timing issues that only s...
SF Ruby vibe coding hackathon at Sentry HQ is just 2 weeks away! The $3,000 prize is sponsored by Fly.io, Continue, Evil Martians. Rails is known as t...
https://github.com/igorkasyanchuk/editor_opener - with this gem, you can open a file in an editor directly from the crash page. Also, plan to make a P...
Ever needed to convert an array into a hash without messy loops? Ruby gives us two elegant tools for that: index_by and index_with.
https://www.carmatec.com/blog/rubys-string-split-a-complete-guide-with-examples/
An RSpec spec to verify FactoryBot.build doesn’t interact with the DB: https://lovro-bikic.github.io/factory-bot-build-without-creating/
Rails 8 lets you deprecate Active Record associations, making it easier to phase them out gradually while keeping them around to safely track and remo...