Template wasn't generating correctly.

changed <% @whatever -%> to <%= @whatever %>.