less / more

less on rails — the official LESS plugin for Ruby on Rails
http://lesscss.org
MIT License
226 stars 41 forks source link

:cache => true in stylesheet_link_tag #12

Closed augustl closed 14 years ago

augustl commented 14 years ago

Breaks when using :cache => true for stylesheet_link_tag. Probably because Rails attempts to read the .css file from the file system before the controller is ever poked.

augustl commented 14 years ago

Generating the CSS when the app boots if page_cache? is enabled. Ugh. Using page_cache is kind of borked then, isn't it? Anyway, we need to do that because :cache => true in stylesheet_link_tag tries to read the .css file before the controller is accessed. Closed by 65024330025ae47f0dbcd98b144cd3f48cc9d8ad