Last Updated: February 25, 2016
·
270
· geetotes

Inline content_for blocks

From this:

<% content_for :foo do %>
    <%= bar %>
<% end %>

To this:

<% content_for(:foo) { bar } %>