I\'m using the PDFkit in my controller to build out a series of PDFs, zip them up, and then send them to the user.
In order to control the output styles, I tell PDFK
One solution is to pull the CSS inline in your view.
In HAML, this could look like:
%style = Sass.compile(File.read(File.join(Rails.root, 'app', 'assets', 'stylesheets', 'sass', "application.scss")))
Or in ERB: