A gem to speed up asset serving in development in Rails. When you use this middleware, all asset requests will bypass your application and all other middlewares, and go straight to the asset pipeline.
Add this line to your application's Gemfile:
gem 'turbo_dev_assets'
And then execute:
$ bundle
Then add to the end of the config block in development.rb:
YourApplication.configure do
# ... other settings
config.middleware.insert 0, TurboDevAssets
end
- Fork it ( http://github.com/markijbema/turbo_dev_assets/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
MIT License. See LICENSE.txt for details