[Rails] Re: keeping a controller clean ... how to use a view helper in my controller

2011-05-30 Thread Tim Shaffer
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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group,

[Rails] Re: keeping a controller clean ... how to use a view helper in my controller

2011-05-30 Thread Erwin
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