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
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner