Last Updated: February 25, 2016
·
209
· geetotes

Inline content_for blocks

From this:

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

To this:

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