I have a form that has a nested form like this:
<%- for subscription in @task.subscriptions -%
    <%- semantic_fields_for "task[subscription_attributes][]", subscription  do |subscription_form|%
        <%- subscription_form.inputs do -%
            <%= subscription_form.input :workhours, :label = subscription.user.full_name%
        <%- end -%
    <%- end -%
<%- end -%
And on the task model I have:
  accepts_nested_attributes_for :subscriptions
  attr_accessible :mission_id, :statuscode_id, :name, :objectives, :start_at , :end_at, :hours, :testimony ,:subscriptions_attributes
In the form (view) I get the correct values on the workhours fields. But when I change the values and hit the submit button, the values are never changed.
I can't figure out why...