It can help you minify erb templates to reduce transfer time
Ruby JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.markdown
Rakefile
erb_minifier.gemspec

README.markdown

ERB Minifier

First, add "gem 'erb_minifier', :git => 'https://github.com/jasl/erb_minifier.git'" to your Gemfile, and bundle it.

Second, execute "rails g erb_minifier:install" to generate initializer.

Finally, execute "rake views:precompile" before starting production environment, and it will have effect.