README.md in sequel-rails-0.4.0.pre2 vs README.md in sequel-rails-0.4.0
- old
+ new
@@ -1,9 +1,10 @@
sequel-rails
============
[](https://travis-ci.org/TalentBox/sequel-rails)
+[](https://codeclimate.com/github/TalentBox/sequel-rails)
This gem provides the railtie that allows [sequel](http://github.com/jeremyevans/sequel) to hook into [rails3](http://github.com/rails/rails) and thus behave like a rails framework component. Just like activerecord does in rails, [sequel-rails](http://github.com/talentbox/sequel-rails) uses the railtie API to hook into rails. The two are actually hooked into rails almost identically.
The code for this gem was initially taken from the excellent [dm-rails](http://github.com/datamapper/dm-rails) project.
@@ -39,10 +40,18 @@
# require "active_record/railtie"
require "action_mailer/railtie"
require "sprockets/railtie"
```
+Starting with sequel-rails 0.4.0.pre3 we don't change default Sequel behaviour
+nor include any plugin by default, if you want to get back the previous
+behaviour, you can create a new initializer (eg: `config/initializers/sequel.rb`) with content:
+
+```ruby
+require "sequel_rails/railties/legacy_model_config"
+```
+
After those changes, you should be good to go!
Available sequel specific rake tasks
====================================
@@ -112,14 +121,15 @@
* Gabor Ratky (rgabo)
* Joshua Hansen (binarypaladin)
* Arron Washington (radicaled)
* Thiago Pradi (tchandy)
* Sascha Cunz (scunz)
+* Brian Donovan (eventualbuddha)
Credits
=======
-The [dm-rails](http://github.com/datamapper/dm-rails) team wrote most of the original code, I just sequel-ized it, but since then most of it as been either adapter or rewritten.
+The [dm-rails](http://github.com/datamapper/dm-rails) team wrote most of the original code, I just sequel-ized it, but since then most of it as been either adapted or rewritten.
Copyright
=========
Copyright (c) 2010-2013 The sequel-rails team. See [LICENSE](http://github.com/brasten/sequel-rails/blob/master/LICENSE) for details.