Helpers in Lib Modules

Anyone know how to successfully use ActionView helpers (link_to,
contacts_path, contact_path(contact)) in a module included in the /lib

Every time i attempt this by including the helper (include
ActionView::Helpers::UrlHelper, etc) i get a Stack Trace too Deep error.

Joshua S. Martin

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