Has anyone used Jammit with EJS javascript templates?I can\'t figure out how I should load a new template with jammit.It\'s causing me caching issues.
I just hooked Amazon\'s CLoudfront CDN up开发者_StackOverflow中文版 to our app. In the staging and production.rb file, in rails all it took was:
I\'m using Jammit to package assets and Sass to generate stylesheets in a Rails 3 app.There are around 35 stylesheets for different site components and all are individually listed in our Jammit config
Suppose I have a main layout, a nested layout, and a view. Each has its own CSS file associated with it.
I have been using Jammit to handle asset packaging in a rails3 app, hosted at heroku, without any problems.
This question already has answers here: C开发者_如何转开发losed 10 years ago. Possible Duplicate:
If I have both gems I get the error: uninitialized constant AWS开发者_如何转开发::S3::Connection
I have made a webapp and deployed it to Heroku in Rails 2.3 I have also compressed all the files and uploaded to Cloudfront.
I really don\'t like having a duplicate directory structure in the public folder to contain Javascript templates as is suggested here.I\'m about to dive into a project.Anyone that can talk me down fro
We\'re on Rails (3.0.3 / 1.9) using Jammit for static compression and all the other front-end goodies it provides.