ActionController::Base.helpers proxy
Tidbit from RailsCast 132:
ActionController::Base.helpers is a proxy object you can use to access Rails view helpers, outside of views, e.g.:
1 | ActionController::Base.helpers.pulralize(products.count, 'product') |
