Ruby On Rails

How to Use Rails Layouts & Display The Current Action Name



Ruby on Rails has this nice things called layouts. They allow you to change what your users can see on every page of your website.

Things like:

– Menus
– CSS / Javascript
– Footer

This is important to understand if you want to build web applications.

In this video:

You’ll learn the basics of layouts on Rails with a quick demonstration, then you’ll discover how you can show or hide certain sections of your layout.

Based on a condition, like the current action name, or the current…

Similar Posts

4 thoughts on “How to Use Rails Layouts & Display The Current Action Name

Leave a Reply

Your email address will not be published. Required fields are marked *