bmabey/database_cleaner — pull request #120 by rosenfeld (2012-05-17 22:46:30+00:00)
Title: Fix support for newer Sequel versions

Also, there is another catch, I'm not sure how to deal with.

First, I guess the documentation is wrong:

```plain
DatabaseCleaner.strategy = :truncation, {:except => %w[widgets]}
```

Should be:

```plain
DatabaseCleaner.strategy = [:truncation, {:except => %w[widgets]}]
```

But for this to work in Sequel, the tables must be passed as symbols. This is how I use it:

```plain
DatabaseCleaner.strategy = [:truncation, except: [:schema_migrations, :roles]]
```

Sequel will also exclude :schema_info, although I don't use it for keeping track of database changes as I'm using standalone_migrations. This is not a major issue as I don't even have this table, but it could be if that table had a different mean for my application.

I'm only sending a simple patch because I'm not sure how to deal with the other issues.