I tried .. but I did it wrong .. ..according to your feedback .. I re-tested .. and it works .. my error : passing the helper method as a variable <%= @fees_string( 1, @academy_account_type ) %> bad ! I just corrected it : <%= fees_string( 1, @academy_account_type ) %> and it works .... ned to rest a little bit
thanks a lot ! On 30 mai, 13:01, Tim Shaffer <[email protected]> wrote: > > cannot reuse it in the .js.erb > > Why not? Seems like that would be the easiest option. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

