Read more

Rails always tries to use a layout with the same name as your controller

Henning Koch
December 27, 2013Software engineer at makandra GmbH

If you have a FooController and also have a layout app/views/layouts/foo.html, Rails will use this without being told so.

Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

This is super convenient except never.

Posted by Henning Koch to makandra dev (2013-12-27 14:08)