Update Migration Docs: Defaults for Boolean Fields #7260

Merged
merged 1 commit into from Aug 4, 2012

2 participants

@thomasklemm

A Boolean field will accept true or false as defaults instead of 0 / 1.

As shown in the Rails Migration Guides right in the second box.

@thomasklemm thomasklemm Update Migration Docs: Defaults for Boolean Fields
A Boolean field will accept true or false as defaults instead of 0 / 1.
4c1db8a
@vijaydev vijaydev merged commit c963f88 into rails:master Aug 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment