Use <% end %> instead of <% end -%> in erb, there is no need for '-' since Rails 3