RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

How Rails Finds the View to Render

Rails does not render views by guessing filenames. It builds a template lookup query from the controller, action, format, variant, handler, and view paths, then asks Action View to resolve the best matching template.

URL: https://railsrevelry.substack.com/p/how-rails-finds-the-view-to-render

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in