Helperful 0.3.0

Last week I released a new minor version of the Helperful GEM. This is essentially a bugfix release, although it comes with one minor new feature: the javascript_content_for tag. The following overview is taken directly from the documentation.

The javascript_content_for helper combines the features of content_for and javascript_tag into a single helper.

erb
<% javascript_content_for :head do %>
$("#id").hide();
<% end %>

The block is passed as it is to javascript_tag, then the result is stored as content_for :head.