Skip to main content
8 events
when toggle format what by license comment
Dec 14, 2012 at 12:23 comment added tomekfranek "#{content_tag(:span, "Answer", :class: 'search-type snippet')}" + [q.content, get_snippet(search_regex, q.answers)].compact.join(tag(:br)) I dont know why I have to use #{} here to_s not working and i see html tags <br/> i.imgur.com/81mst.png
Dec 14, 2012 at 10:45 vote accept tomekfranek
Dec 14, 2012 at 10:31 comment added tomekfranek Hmm, Of course I can`t :), thx
Dec 14, 2012 at 10:22 comment added tokland can or can't? it does not matter if it's not a helper, you can always use helpers just with an include of the desired module.
Dec 14, 2012 at 10:11 comment added tomekfranek And since this is no helper I can use content_tag
Dec 13, 2012 at 23:57 vote accept tomekfranek
Dec 14, 2012 at 10:13
Dec 13, 2012 at 18:58 history edited tokland CC BY-SA 3.0
added 82 characters in body
Dec 13, 2012 at 18:53 history answered tokland CC BY-SA 3.0