I want to create a hidden field and create a link in one helper and then output both to my erb.
<%= my_cool_helper \"something\", form %>
If you want to buffer other output which apart from string then you can use concat instead of +. see this - http://thepugautomatic.com/2013/06/helpers/
concat
+