Please sign in to comment.
Register the adapter extensions during DataMapper.setup
This means that it's not necessary anymore to require an explicit adapter before being able to use the automigration features. Previously it was necessary to do require 'dm-migrations/adapters/dm-mysql-adapter' DataMapper.setup(:default, 'mysql://localhost/fu') whereas all that's need now is require 'dm-migrations' DataMapper.setup(:default, 'mysql://localhost/fu') Calling DataMapper.setup will automatically require the dm-mysql-adapter and register the automigration extensions
- Loading branch information...
Showing with 9 additions and 0 deletions.
|@@ -1,2 +1,3 @@|