yonbergman/enumify — pull request #2 by ifeins (2012-04-11 12:46:36+00:00)
Title: Add not scopes

I've added negation scopes that allow to retrieve records that their enum field does not equal the given value.

Another change I made is to switch the tests to use an in-memory sqlite db.
The database is being set programatically in spec_helper.
An alternative approach was to create a schema.rb file and database.yml and load the db from them but I didn't want to pollute the project with those db-config files.