RailsCasts Pro episodes are now free!

Learn more or hide this

rowend's Profile

GitHub User: rowend

Site: http://rowend.com

Comments by rowend

Avatar

A good usage example is with the title of the page.
You can change it in base of each page.

rails
# application.html.erb
<title><%= yield :title_tag %></title>
rails
# view index.html.erb
<% content_for :title_tag do %>
 Index Title
<% end %>