How to use helper in model?

if we want use helper in controller, use context_view, but I want to use
helper in model to format a message and store it message into redis db.
how?

See this screencast
http://railscasts.com/episodes/132-helpers-outside-views

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs