Last Updated: February 25, 2016
·
290
· geetotes

Inline content_for blocks

From this:

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

To this:

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