This is what I am receiving in the log, Started GET "/destroy_selected?id=contact_ids" for 127.0.0.1 at Fri Jul 20 14:32:34 +0530 2012 Processing by ContactsController#destroySelected as JS Parameters: {"id"=>"contact_ids"} SQL (0.1ms) DELETE FROM "contacts" WHERE "contacts"."id" IS NULL Rendered contacts/destroySelected.js.erb (0.0ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)
On Thursday, 19 July 2012 19:57:39 UTC+5:30, Hassan Schroeder wrote: > > On Thu, Jul 19, 2012 at 12:37 AM, Sumit Srivastava > <sumit.theinvinci...@gmail.com> wrote: > > > But it is not working. > > A useless statement. What does that mean? > > > but my development log says no value has been recieved in "id". > > > > Where am I doing wrong? > > Post the lines from your log showing the request being submitted and > the *actual* error message. > > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/t8REYql61LgJ. For more options, visit https://groups.google.com/groups/opt_out.