acts_as_flying_saucer
acts_as_flying_saucer copied to clipboard
stylesheet_link_tag should overwrite 'media', not :media
options = sources.extract_options!.stringify_keys options[:media] = 'print' if options[:media].blank?
In the first line, every key is converted to a string, in the second line you look for the :media key Maybe
options["media"] ||= 'print'
is better?
Can options[:media] be a empty string? The actually code cover this, your example not.