render_anywhere 0.0.2
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:
=
安裝:
=
Runtime 相依性套件 (1):
rails
>= 3.0.7