Implementation checkbox array in rails--How to?


    I am having a nested array like
    AVAIL_LISTS = [["Purchased User, 1], ["Downloaded User, 2"]].

    In the form i have to allow to check any options applicable
    so, in view i have:

please suggest, am i going wrong anywhere, i am getting confused

with formhelpers docs
as most of the examples are portrayed with checkbox_tag

You need to use check_box_tag for this sort of stuff (the hidden input
that check_box generates will mess up array parameters)


Huh :expressionless: Thanks very much Fred
Got it at last... :slight_smile:

VImal Das