What code runs when you request a page from a Ruby on Rails application?
Here is an annotated trace showing every method call within Rails and its dependencies. It is for an example application that loads a blog post from the database and renders a page containing the post's title.
ActionView is the part of Rails that helps build HTML pages (or other formats such as JSON or XML).
ActionView has to find the corresponding template for the controller action. If the view uses a shared layout
ActionView finds it too.