RubyGems.org

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.

installgem install render_anywhere
Authors

Luke Melia

15,528 total downloads 1,503 for this version
Owners

49612ba6e616ca3c4c668ad35e3e84ce1668868370ee5829339e06031ad0b145

Gemfile
gem 'render_anywhere', '~> 0.0.8'
Versions
  1. 0.0.8 February 25, 2014 (6.5 KB)
  2. 0.0.7 February 1, 2014 (6.5 KB)
  3. 0.0.6 January 26, 2014 (6.5 KB)
  4. 0.0.5 January 25, 2014 (6.5 KB)
  5. 0.0.4 August 3, 2013 (5.5 KB)
Show all versions (8 total)
Runtime Dependencies
  1. rails >= 3.0.7