#Rails Tip ✨
Don't know how to get started with automated tests?
- Open the app
- Choose simple feature (~ Login)
- Manually test feature
- List down things you looked at to make sure feature is working
- Now open your test file and replicate those manual steps
🧵1/n
#Rails Tip ✨
Don't know how to get started with automated tests?
- Open the app
- Choose simple feature (~ Login)
- Manually test feature
- List down things you looked at to make sure feature is working
- Now open your test file and replicate those manual steps
🧵1/n
I am teaching about writing automated tests in my free beginner-friendly guide at Minitest Rails
The latest chapter talks about developing this mental model:
- Test manually
- Write scenarios
- Automate the steps
Check it out:
https://t.co/POCYzUcVNx
🧵 6/6
Step 3: Automate manual steps
Finally, I write automated tests using Minitest as I now know what steps to automate.
I normally write integration tests for these type of tests but system test is best for beginners since you can view tests running live in the browser.
🧵 5/n
Nepal Ruby Meetup - May edition (2026), is now on https://t.co/YeCIiJMPM6
This time we also have recorded talks and have them on Youtube.
Enjoy!
https://t.co/1niZ4V81Cj
@rubycentralorg@yukihiro_matz Ruby on Rails Kathmandu Meetup. We host it quarterly here in Kathmandu, Nepal. And have been doing it for over a year now.
Our dream is bringing world Rails community here for Rails Conf Nepal.
cc @gkunwar1
If you don't know yet, https://t.co/22qjZmqg7G is a complete free guide.
Not because paid books/courses are bad. Many are great.
I just don’t want fellow Rails devs to struggle getting started with automated testing like I did.
If this helps even one developer, it’s worth it.
Super cool news tonight: Rails realtime now runs on the server of your choice 🔥🔥🔥
Vova’s Action Cable server adapterization PR was merged 🥳. Same Channel and Connection code, swappable runtime underneath: Falcon, Fibers, async-cable.
This is the groundwork AnyCable has been proving in production for years, now landing in Rails itself.
People credit Rails’ longevity to DX. I think the secret behind it is adapterization pattern: every layer hides a default behind an interface, so the framework absorbs each new wave of innovation without a rewrite. Others wire it up with extra services. In Rails you swap the implementation as you wish, keeping the code intact.
Two years in the making, with
@ioquatix, @matthewd and @rafaelfranca steering the reviews. Congrats @palkan_tula 🥳
#Rails Testing Tip ✨
I used to struggle with automated testing because I lacked the right mental model.
Then it clicked: a test isn’t an abstract math problem.
It’s literally just a sequence of the exact manual steps you already perform in your browser to check your work.
@Kyriakos_Pelek I already had a website but wanted to change the copy. I just fed Cursor what the app does and the direction I want to go to in future.
After a few to and fro with the Cursor, above screenshot is what I got that I liked.
Marketing copy was always something that was very hard for me to get right.
With AI, at least I am getting copies I am happy with.
Context:
I am revamping https://t.co/91ssybszRt so I can leverage AI and market it as a starter kit instead of a generator.