When running a sequel migration I kept getting this error:
Error: NoMethodError: undefined method `compact’ for nil:NilClass

My setup looked like this:


The failing command $ sequel -m ./db/migrate/ -M 1 sqlite://db/data.db

The error in this instance was caused by having ‘-‘ in the file name of the migration. To fix this I changed to:


Some ORM active record and sequels lessons I prepared earlier.