Didn't you realize that some useful and awesome features are provided by Rails 4 but your applications are using Rails 3.x ? What should you do if you want to use these features? Yes, as you see, rails_backward is here for you. It provides backward compatibility for some features in higher versions of Rails to lower versions of Rails, and it is really keeping growing.
- ActiveRecord::Base.none
- Ruby >= 1.9.3
- Rails >= 3.2.x
Put the following line to your Gemfile:
gem 'rails_backward', '>= 0.0.2'
then,
bundle install
Bug report or pull request are welcome.
- 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
Please write unit test for your code if necessary.
See LICENSE file.