Displaying 1 result from an estimated 1 matches for "5voyd".
Did you mean:
5v4d
2012 Nov 06
0
How to get which check boxes has beed unchecked and remove Subscription for them?
...<%= app.name %></span>
>
</li>
>
<% end %>
>
</ul>
>
<%= f.submit %>
>
<% end %>
>
So I can only add new Subscriptions(in this particular example i can only
add Engineering).
<http://i.stack.imgur.com/5VoyD.png>
How to refactor that action to be able also destroy subscription groups by
uncheck them(ex. I want to unsubscribe from Marketing group) ?
So when I choose Marketing and Enginnering then
params[:subscription][:app_id] will be equal [marketing.id, engineering.id]
Relations:
*App*
>...