Forum: Ruby on Rails many many checkboxes

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Luke H. (Guest)
on 2006-04-21 03:45
(Received via mailing list)
Hi *,

Starting to try and figure out the best way to handle the next part of
my first application.

I need to provide a form which will host approx 60 checkboxes - each
respective checkbox will need to relate to a boolean (tinyint? - I
persume a boolean would be best, (ticked / not ticked)).

I have had quite a google around on this and I have seen some tutorials
where it is suggested to use HABTM - but I am using rails 1.1 so I have
a suspicion that there may be a better method to implement.

Does anyone have any pointers on the best approach to take or any links
to point me to a good reference site / tutorial.

Thanks in advance,

Luke
This topic is locked and can not be replied to.