README.md in sequel-rails-0.4.0 vs README.md in sequel-rails-0.4.1
- old
+ new
@@ -35,17 +35,17 @@
```ruby
# require 'rails/all'
# Instead of 'rails/all', require these:
require "action_controller/railtie"
-# require "active_record/railtie"
+# 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
+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"
```
@@ -72,21 +72,21 @@
```bash
rake db:create[env] # Create the database defined in config/database.yml for the current Rails.env
rake db:create:all # Create all the local databases defined in config/database.yml
rake db:drop[env] # Create the database defined in config/database.yml for the current Rails.env
rake db:drop:all # Drops all the local databases defined in config/database.yml
-rake db:force_close_open_connections # Forcibly close any open connections to the test database
+rake db:force_close_open_connections # Forcibly close any open connections to the test database
rake db:migrate # Migrate the database to the latest version
rake db:migrate:down # Runs the "down" for a given migration VERSION.
rake db:migrate:redo # Rollbacks the database one migration and re migrate up.
rake db:migrate:reset # Resets your database using your migrations for the current environment
rake db:migrate:up # Runs the "up" for a given migration VERSION.
rake db:reset # Drops and recreates the database from db/schema.rb for the current environment and loads the seeds.
rake db:schema:dump # Create a db/schema.rb file that can be portably used against any DB supported by Sequel
rake db:schema:load # Load a schema.rb file into the database
rake db:seed # Load the seed data from db/seeds.rb
-rake db:setup # Create the database, load the schema, and initialize with the seed data
+rake db:setup # Create the database, load the schema, and initialize with the seed data
rake db:test:prepare # Prepare test database (ensure all migrations ran, drop and re-create database then load schema). This task can be run in the same invocation as other task (eg: rake db:migrate db:test:prepare).
```
Note on Patches/Pull Requests
=============================
@@ -122,9 +122,11 @@
* Joshua Hansen (binarypaladin)
* Arron Washington (radicaled)
* Thiago Pradi (tchandy)
* Sascha Cunz (scunz)
* Brian Donovan (eventualbuddha)
+* Jack Danger Canty (JackDanger)
+* Ed Ruder (edruder)
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 adapted or rewritten.