Rails migration: is it ok to use 'nil' as the default value for a boolean field?

Viewed 2548

Is there anything wrong with defaulting a boolean field to nil rather than false with an ActiveRecord migration for use with Postgres?

I like how it gives a small bit of extra data- whether or not that field has been marked as true or false yet.

1 Answers
Related