README.md in sequel-rails-1.0.1 vs README.md in sequel-rails-1.1.0
- old
+ new
@@ -186,10 +186,14 @@
config.sequel.load_database_tasks = false
# This setting disabled the automatic connect after Rails init
config.sequel.skip_connect = true
+ # Configure if Sequel should try to 'test' the database connection in order
+ # to fail early
+ config.sequel.test_connect = true
+
# If you want to use a specific logger
config.sequel.logger = MyLogger.new($stdout)
```
The connection settings are read from the file `config/database.yml` and is
@@ -331,10 +335,12 @@
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: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).
+rake db:sessions:clear # Delete all sessions from the database
+rake db:sessions:trim[threshold] # Delete all sessions older than `threshold` days (default to 30 days, eg: rake db:session:trim[10])
```
Note on Patches/Pull Requests
=============================
@@ -401,9 +407,12 @@
* Steve Hoeksema (@steveh)
* Jester (@Jesterovskiy)
* ckoenig (@ckoenig)
* Rolf Timmermans (@rolftimmermans)
* Olivier Lacan (@olivierlacan)
+* Dustin Byrne (@dsbyrne)
+* Michael Coyne (@mjc-gh)
+* p-leger (@p-leger)
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 has been either adapted or rewritten.