Checkboxes HABTM Collection
Checkboxes HABTM Collection

This commit resolves #1125 .

Added a check in make_selected_values that
reverts to an id if nil is returned from the
value methor and the object responds to
id.

Seems a little naive but I do not know all the use
cases.

mikz/formtastic,thenthen8515/formtastic,justinfrench/formtastic,paulodiovani/formtastic,paulodiovani/formtastic,EndingChaung/formtastic,justinfrench/formtastic,ryanfox1985/formtastic,EndingChaung/formtastic,nishaya/formtastic,ryanfox1985/formtastic,ryanfox1985/formtastic,ConferenceCloud/formtastic,justinfrench/formtastic,thenthen8515/formtastic,mikz/formtastic,ConferenceCloud/formtastic,nishaya/formtastic