is there any way how to use Helpers in Controllers in Rails 3? I was
trying to google about it, but no luck.
In old Rails times (2.x) we were using something like this.
my_active_record_object.variable = "This is the message body:<br /><br
point is that when we wanted to attach text from Text Area to some other
HTML text with leaving breaks and paragraphs and so. We were able to
call helper methods by using variable @template in controller. But thats
not possible in Rails 3.x.
Any ideas for solution? I couldnt find anything in some deprecations or
migration guides. Thx.