hi all,
i need to store multiple checkbox values in single column of a table.
here is my short code Kumar2013hk/check · GitHub .Please
help me in this regard…
On 5 August 2013 12:09, mack gille [email protected] wrote:
hi all,
i need to store multiple checkbox values in single column of a table.
here is my short code Kumar2013hk/check · GitHub .Please
help me in this regard…
googling for
rails bitfield
provides a number of hits, though I have no personal experience of the
suggestions.
First, though, don’t bother unless you have a good reason. Just have
a column per boolean. Adopt the KISS technique.
Colin
If you want to store multiple on/off switches together, then Binary is
your friend.
No, Yes, No, No, Yes, Yes, No
0100110