Asset Packager is in a book! 7
My plugin AssetPackager has been featured in Scott Raymond’s new book Ajax on Rails !
Thanks Scott! Everyone go buy a copy. AssetPackager has a full section in Chapter 9 – Performance. Nice.
Posted by sbecker Sat, 23 Dec 2006 08:04:00 GMT
My plugin AssetPackager has been featured in Scott Raymond’s new book Ajax on Rails !
Thanks Scott! Everyone go buy a copy. AssetPackager has a full section in Chapter 9 – Performance. Nice.
Sigh, I trust you’ll be able to figure out what the source code ought to be.
once in my header partial. Then in any page, I can add the javascripts I need.
But I needed to add a line to the beginning of
It works for me.javascript_include_mergedandstylesheet_link_mergedinasset_packager_helper.rb:That’s
Brett – Instead of modifying the plugin itself, why not do:
in your controller? Asset Packager expects a flattened array of sources already. :)
Scott, you’re right of course – no need for me to modify the plugin. Just thought it would DRY it up by having it in the plugin. Although it expects a flattened array, forcing a flatten makes it a little more flexible.
Thanks for a great plugin. It really helps on SSL sites, where assets are not cached.