In Rails, by passing a default value to boolean You can make sure that the three pieces of information, true, false, and nil, converge to two. You can check that there is no such thing as nil.
So be sure to enter the default value.
Recommended Posts