Ruby on Rails - structure in ruby on rails- ruby on rails tutorial - rails guides - rails tutorial - ruby rails
- As Rails follows the MVC pattern Views are where your "templates" are for our actions.
- Ensure that we have a controller articles_controller.rb. For this controller we would have a folder in views called app/views/articles:
- This structure allows us to have a folder for each controller.
- When calling an action in our controller the appropriate view will be rendered automatically.