RailsCasts Pro episodes are now free!

Learn more or hide this

sumitshining's Profile

GitHub User: sumitshining

Comments by

Avatar

I am trying to use this concept to delete multiple objects at a time. I added a button this way,

<%= link_to 'Destroy Selected', {:action => 'destroySelected',
                                :id => 'contact_ids'},
                                :remote => true%>

Rest is all similar as in the example but it isn't working for me. I went through the log. It didn't get any values in contact_ids. Where am I doing wrong. Need help.