Ruby on Rails
Monday, March 25, 2019
Hi,
<td><%= f.check_box :tax_rates, :name => "tax_group[tax_rates][]", :value => tax_rate.id %>
I want to fetch tax_rate.id to other table which is selected in the check box?
The check box which is selected those id's I want to fetch in other table inside a parameter in array.
Multiple check box's are selected want those selected check box id's in to array in the other table of params
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5c644978-92b1-4058-84ba-8cbbd276770e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment