NOBODY CODES ANYMORE.
So I built LaunchKit for the agents too!
Rails 8, all the boring stuff already built, full documentation, and an AGENTS.md that helps your coding agent understand the entire codebase.
launchkit.codes
In Rails 8, you can now access your notes directly in the browser by visiting `GET /rails/info/notes`!
Small details like this are why we love @rails! 💚
✨ RUBYCADEMY CARDS ✨
Rails has a `halted_callback_hook` that fires whenever a before_* callback halts. 🤩
Super handy for debugging and logging!
#rubyonrails
Two Rails 8 defaults that don't compose.
rate_limit counts in your cache store. Solid Cache increments under SELECT ... FOR UPDATE, which locks nothing when there's no row yet.
First hit from a new IP, two at once, both write 1. A limit of 10 admits 11.
launchkit.codes/yield/rails-wi…
Rails 7.1 added a neat little upgrade to rails routes --expanded: Source Locations! 💚
Now you can instantly see exactly where each route is defined in your codebase.
#rubyonrails
Ruby makes it so easy to keep user input within a safe range using `clamp()`! 💚
Perfect for forcing a value between MIN and MAX without extra ifs.
🔗 launchkit.codes
Rails 8 added `except_on:` for validations! 🤩
A clean way to say "always validate, except in this context."
It is simpler than `if:` or `unless:` and perfect for drafts, multi-step forms, or any workflow where some fields can be missing!
🔗 launchkit.codes
Great question! 💚
Yep, it composes with custom contexts too.
`except_on:` accepts a symbol or an array of contexts, just like `on:`.
So you can do `except_on: [:draft, :some_custom_context]`.
Conceptually, it’s the inverse of `on:`: the validation runs in every context except the ones you explicitly exclude.
That’s what makes it nice for draft workflows.
Hope this helps! 🙏
When your business rule says "exactly one record must exist", Rails has built-in methods to guarantee it.
That’s what `find_sole_by` is built for! 🤩
🔗 launchkit.codes
5K Followers 295 Following💻 Senior/Lead Ruby on Rails developer
📘 Author of the turbo-rails tutorial (https://t.co/nA9J1rQ134)
✏️ I write Ruby on Rails books (https://t.co/HD8ENJVP40)
4K Followers 5K FollowingAuto tech turned Ruby/AI indie hacker 🧑💻 Building a money dashboard for repair shops. I babysit bots. Also: future astronaut’s dad 🚀
23 Followers 148 FollowingSenior backend engineer. Ruby on Rails, Go, Postgres. I write about the part of a system that only misbehaves under load. Open to contract work.
123 Followers 863 FollowingI love software engineering and developing high-performance web applications/services/solutions. I've experience working with agile methodologies.
74 Followers 556 FollowingBuilding https://t.co/7tdsLWv3LX
Bootstrapper @MemberDrive_org
Hobbit @RagtimeRanch
Building AI concierge service https://t.co/B1sxyYEOBg
19 Followers 222 Following🎯 Trying new things & documenting the journey. Read about my failures and wins.
💻 IT • ⚡ Productivity • 💪 Fitness • 🗣️ Languages
485 Followers 983 FollowingFull-Stack Engineer 💻 && Traveler 🛵 && Lover of dogs 🐶 "I have no special talent. I'm only passionately curious." -𝙰𝚕𝚋𝚎𝚛𝚝 𝙴𝚒𝚗𝚜𝚝𝚎𝚒𝚗