Thanks for you help pardeep_d.
I get some results using "form_tag" and a "submit_tag" like:
<%= form_tag({controller: "myController", action: "myAction"}, method:
"post") %>
[Check-box code]
<%= submit_tag %>
<% end %>
Unfortunately, there are still issues:
- First, if I use "submit_tag", as user's information are displayed from
a loop, I will have many buttons.
If I click on one of them, I get only ONE result, linked to the specific
user.
- If I use button_to instead of submit_tag, then I get no results ("nil"
for both lists).
Any ideas please?
--
Posted via http://www.ruby-forum.com/.
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/ff308fa64a55e4ce55e36a6590b4ac0b%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.