render_anywhere 0.0.11
Out of the box, Rails will render templates in a controller context only. This gem allows for calling "render" from anywhere: models, background jobs, rake tasks, you name it.
Gemfile:
=
installieren:
=
Runtime Abhängigkeiten (1):
rails
>= 3.0.7