Last week I put together a Gem for use with the new Rails 3.1 asset pipeline, it packages up js-model and means you’ll never have right-click-save-as-move-to-directory ever again. Now all you have to do is include it in your Gemfile:
And require js-model in your application.js:
//= require js-model
config.active_record.include_root_in_json = false
But in the future it’ll read your
Here’s the source on Github.