Erubis For Rails2.3
A simple gem which can resolve some compatibility issues when using Erubis in Rails 2.3
Installation
Add this line to your application's Gemfile:
gem 'erubis_for_rails23'
And then execute:
$ bundle
Or install it yourself as:
$ gem install erubis_for_rails23
Usage
Just install it and require it in your Rails 2.3 project
You could add ERB_ENGINE = Erubis::FastEruby
to config/environment.rb
if you want to switch to FastEruby
Contributing
- Fork it
- 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