In Rails 2.1 in production mode, the config/production.rb file has config.action_controller.perform_caching = true.
If this is the case, Rails writes all CSS files into one file called all.css. Set perform_caching to false if you want the development behavior of the application.html.erb file listing all CSS files separately. See Rails docs for stylesheet_link_tag if I haven't explained well enough. Hope this helps. Markus On Nov 9, 6:01 pm, tildenm <[EMAIL PROTECTED]> wrote: > Hey Less folks, > First, I wanted to say thank you for such an awesome project - it > is really, really great! > My question is this, when I go into production my css and > javascript is not coming through. The source says: > > <script src="http://legalpaths.s3.amazonaws.com/javascripts/all.js? > 1226270521" type="text/javascript"></script> > <link href="http://legalpaths.s3.amazonaws.com/stylesheets/all.css? > 1226270521" media="screen" rel="stylesheet" type="text/css" /> > > instead of application.css. If I go > tohttp://legalpaths.s3.amazonaws.com/stylesheets/application.css > I can see it fine and if I put this in firebug it all works as it is > supposed to. Is there a switch I need to flip somewhere to have it > point to the appropriate files? > Thanks! > Tilden --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lovd by Less" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/lovdbyless?hl=en Who loves ya baby? -~----------~----~----~----~------~----~------~--~---
