# Generate checkbox in scaffold

**URL:** <https://www.ruby-forum.com/t/generate-checkbox-in-scaffold/110896>\
**Category:** Rails\
**Created:** [July 31, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/generate-checkbox-in-scaffold/110896 "2007-07-31T22:08:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rage989](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/4af34b/32.png) [@rage989](https://www.ruby-forum.com/u/rage989)\
**Post date:** [July 31, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/generate-checkbox-in-scaffold/110896/1 "2007-07-31T22:08:27Z")

</div>

I was wondering what kind of mysql data type you use to so that when you  
generate a scaffold that it puts a checkbox in the form instead of text  
box?

Or is there some setting i have to change? thanks.
