{"action":"created","issue":{"url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/257","labels_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/257/comments","events_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/257/events","html_url":"https://github.com/mileszs/wicked_pdf/issues/257","id":20145834,"number":257,"title":"clarification on usage with asset pipeline?","user":{"login":"peashutop","id":12373,"avatar_url":"https://avatars.githubusercontent.com/u/12373?v=3","gravatar_id":"","url":"https://api.github.com/users/peashutop","html_url":"https://github.com/peashutop","followers_url":"https://api.github.com/users/peashutop/followers","following_url":"https://api.github.com/users/peashutop/following{/other_user}","gists_url":"https://api.github.com/users/peashutop/gists{/gist_id}","starred_url":"https://api.github.com/users/peashutop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peashutop/subscriptions","organizations_url":"https://api.github.com/users/peashutop/orgs","repos_url":"https://api.github.com/users/peashutop/repos","events_url":"https://api.github.com/users/peashutop/events{/privacy}","received_events_url":"https://api.github.com/users/peashutop/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2013-09-27T00:40:54Z","updated_at":"2015-12-27T20:04:56Z","closed_at":"2013-10-15T20:01:12Z","body":"Hi, I'm trying to figure out the best way to handle references to stylesheets when using wicked_pdf with a generic Rails 4 app.\r\n\r\nThe README says \"the best option for Rails *without* the asset pipeline\" is to use the wicked_pdf_stylesheet_link_tag, which will generate absolute links.\r\n\r\nThere's a brief mention of usage with the asset pipeline, but it doesn't provide the detail I'm looking for. How would adding pdf.css to the config.assets.precompile list help with the absolute links issue? Do I need to tweak some setting, e.g. config.action_controller.asset_host?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/comments/167438888","html_url":"https://github.com/mileszs/wicked_pdf/issues/257#issuecomment-167438888","issue_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/257","id":167438888,"user":{"login":"unixmonkey","id":8360,"avatar_url":"https://avatars.githubusercontent.com/u/8360?v=3","gravatar_id":"","url":"https://api.github.com/users/unixmonkey","html_url":"https://github.com/unixmonkey","followers_url":"https://api.github.com/users/unixmonkey/followers","following_url":"https://api.github.com/users/unixmonkey/following{/other_user}","gists_url":"https://api.github.com/users/unixmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/unixmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unixmonkey/subscriptions","organizations_url":"https://api.github.com/users/unixmonkey/orgs","repos_url":"https://api.github.com/users/unixmonkey/repos","events_url":"https://api.github.com/users/unixmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/unixmonkey/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T20:04:56Z","updated_at":"2015-12-27T20:04:56Z","body":"1, 2, 3.\r\n\r\nI'm not sure if they stopped working in the general case in 3.2 or 4.0. It's also possible that updates made to the asset helpers in this gem had broken backwards compatibility in some way, but there are other ways to use the regular Rails helpers that should be OK.\r\n\r\nAside from fingerprinted assets, you may also be running a version of `wkhtmltopdf` that won't load assets over https (on most networks), since that version relied on SSLv3. Make sure you are running a recent version of `wkhtmltopdf`."}}