From the course: Ruby on Rails 5 Essential Training
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
REST - Ruby on Rails Tutorial
From the course: Ruby on Rails 5 Essential Training
REST
- [Lecturer] In this movie, we'll learn about REST and how Rails implements it. REST is a tricky subject in beginner Ruby on Rails training course. On one hand, it requires learning some advanced web concepts and new techniques at a time when you're still getting your footing in the basics of MVC and CRUD. But on the other hand, REST has become such a core part of developing in Rails that you must learn it. So hang with me as we go into some deeper waters. REST is short for Representational State Transfer, and REST is a design concept which says that our application should not focus on performing procedures, but instead on performing state transformations upon resources. It's not easy to see how that's different from what we're already doing because the Rails MVC pattern already encourages us to break up our code by model and controllers for those models. Each model is already being treated as a resource. In fact, it may be helpful for you to think of model whenever you hear me say…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.