{"issue":{"created_at":"2011-11-27T15:59:47Z","state":"closed","updated_at":"2011-11-27T23:19:15Z","user":{"gravatar_id":"58a13d60826012e72b7b9b2cec921d4e","id":146234,"url":"https://api.github.com/users/kendogprior","login":"kendogprior","avatar_url":"https://secure.gravatar.com/avatar/58a13d60826012e72b7b9b2cec921d4e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"I have used an association field to allow the link table to be be updated using checkboxes in the form. Looking at the source code, each check box has a hidden input field generated above it with value \"\" and the same name as the checkboxes. This seems to be causing my link field not to be updated becaue for n checkboxes I have 2*n parameters returned. Is this s a bug?","assignee":null,"id":2360447,"number":371,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Association fields","closed_at":"2011-11-27T23:19:15Z","html_url":"https://github.com/plataformatec/simple_form/issues/371","milestone":null,"url":"https://api.github.com/repos/plataformatec/simple_form/issues/371"},"action":"created","comment":{"created_at":"2011-11-27T23:19:15Z","updated_at":"2011-11-27T23:19:15Z","user":{"gravatar_id":"0525b332aafb83307b32d9747a93de03","id":47848,"url":"https://api.github.com/users/rafaelfranca","login":"rafaelfranca","avatar_url":"https://secure.gravatar.com/avatar/0525b332aafb83307b32d9747a93de03?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"No. This is the default Rails behavior to checkboxes fields. See this https://github.com/rails/rails/blob/master/actionpack/lib/action_view/helpers/form_helper.rb#L784-835","id":2890993,"url":"https://api.github.com/repos/plataformatec/simple_form/issues/comments/2890993"}}