2min chapter

The Changelog: Software Development, Open Source cover image

Don't sleep on Ruby & Rails (Interview)

The Changelog: Software Development, Open Source

CHAPTER

Rails API Responses

In well-factored Rails applications, building the whole separate API as a bunch of separate endpoints really never works because you end up with two code paths doing the same thing. And so I've had really good luck of doing exactly what you, you know, you've struggled with and I've seen a lot of teams struggle with it. In fact, Turbo has a Turbo Stream feature where those action cable little partial page snippets are also just another kind of request, right? It just goes through the same templating. So that's more functional than going out whole hog on day one and saying, you know what, we just need a full fledged API.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode