nanaya wrote in post #1183937: > Hi > > 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 http://www.ruby-forum.com/. -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/849be919d8a35574c8755842942dce93%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

