1min chapter

Frontend First cover image

HTML, HTTP, and React

Frontend First

CHAPTER

How to Model User Interactions in Rails

Liking a tweet on the timeline is the same thing as like creating a new user in your back-end Admin it's actually can be models of form submission. This is just like when rails was like teaching us that like how do you log in like you don't send a patch request like slash log in You actually post to session like creating a session is how you can model these user interactions in HGP. That's brilliant, right? But you shouldn't stop there and you shouldn't teach the form and link clicking Websites and then say oh, yeah, we can get fancy if we want let's add this later. The only reason people are doing this in the first place

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