nanaya wrote in post #1183937:

Rails helper is normal ruby method so you can't write it like erb. There
also a few syntax errors.

You'll be better off writing partial instead of helper.
Thank you! I just did that (iterated over an array with the variables
that change), it was definitely less hassle than trying to make the
function work.

Posted via

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
grouprubyonrails-talk @
postedJun 11, '16 at 4:51p
activeJun 11, '16 at 6:11p

2 users in discussion

Rynn Steinbolt: 2 posts Nanaya: 1 post



site design / logo © 2021 Grokbase