Is it the case that all links in engines seem to ignore the default
Rails only_path => false option? Every link_to in my Engine results in
whereas the non-engine views in the same application result in links
This is a big problem for me because I’m using Rails full-page caching
on a site which can be accessed via either http or https, and the cache
files are getting written to disk with the full https:// which is real
ugly for what I’m trying to do.
ActionController::UrlWriter.default_url_options[:only_path] = true
doesn’t seem to help anything, and I can’t see anything in the Engines
plugin that’s explicitly causing this.
Is this behaviour intentional, am I doing something really wrong, or is
there a configuration option I can set somewhere?