search for: is_ten_event_id

Displaying 1 result from an estimated 1 matches for "is_ten_event_id".

Did you mean: is_ten_event_ids
2011 Aug 14
5
Puzzled with form on multiple table rows
...t check the checkbox and submit, everything works fine, the attribute is updated in the database and the table view reflects the changes. If I then submit again, with the same values still checked the values I set the last time get set to false. The view code looks like this : check_box_tag "is_ten_event_ids[]", event.id, event.is_ten_event The controller is like this : def multi_params_edit @events = Event.find( params[:is_ten_event_ids] ) logger.debug("MULTI PARAMS EDIT : " + @events.length.to_s) unless @events.empty? Event.transaction do Event.update...