Hi, I''m trying to generate some static feeds using a script in /lib that I will later call from a sidekiq worker and I need to access the URL helpers from my library, how can I do it? What I tried so far is including Rails.application.routes.url_helpers in my class but it doesn''t seem to work. I''ve also tried to follow this blog post http://hawkins.io/2012/03/generating_urls_whenever_and_wherever_you_want/ but still no success. Does someone know how to use url helpers inside a lib? ngw -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7749e8b2-ef6e-4e54-8930-bb4348dbae98%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.