[Rails] Re: Issue in exporting checkbox values (in list) from view to controller

2014-08-07 Thread Victor Ab
Ok, it seems it works! Thanks! -- 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 rubyonrails-talk+unsubscr...@go

[Rails] Re: Issue in exporting checkbox values (in list) from view to controller

2014-08-07 Thread Pardeep Dhingra
<%= form_tag({controller: "myController", action: "myAction"}, method: "post") %> <% @users.each do |user| %> <%= fields_for user do |us| %> <%= counter %> <% counter += 1 %> <%= user.firstname %> <%= user.lastname %> <%= user.email_address %> <%= user.uid %

[Rails] Re: Issue in exporting checkbox values (in list) from view to controller

2014-08-07 Thread Victor Ab
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_

[Rails] Re: Issue in exporting checkbox values (in list) from view to controller

2014-08-07 Thread Victor Ab
Sent -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. To post to

[Rails] Re: Issue in exporting checkbox values (in list) from view to controller

2014-08-07 Thread Victor Ab
I will send you a private message in a few minutes. Thanks. -- 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 ru

[Rails] Re: Issue in exporting checkbox values (in list) from view to controller

2014-08-07 Thread Pardeep Dhingra
can i see you code in skype or somewhere. I want to troubleshoot it. -- 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 ema

[Rails] Re: Issue in exporting checkbox values (in list) from view to controller

2014-08-07 Thread Victor Ab
Thanks for the reply pardeep_d. Unfortunately, it seems it doesn't work. In my controller, the two lists are still equal to nill... The example doesn't provide enough details from my point of view. Maybe I miss something? -- Posted via http://www.ruby-forum.com/. -- You received this messag

[Rails] Re: Issue in exporting checkbox values (in list) from view to controller

2014-08-07 Thread Pardeep Dhingra
Hi, http://apidock.com/rails/ActionView/Helpers/FormTagHelper/check_box_tag#182-Delete-collections-with-check-box-tags Delete collections with check box tags This example may help you,this is quite similar to your problem. -- Posted via http://www.ruby-forum.com/. -- You received this messag