Even if closed, I hope this will serve as a signpost to others encountering this issue. Steps to reproduce. Configure your Rails 4.2 app to run ... ... <看更多>
I wanted to use url_for in a job, so I added the following: ... include Rails.application.routes.url_helpers self def default_url_options ... ... <看更多>