Hello, I'm trying to create a link to delete the record of a discount
in my database. I have a page that lists them, each one rendered in a
partial with a delete link. I'm trying link_to_remote, but it gives me
this errors:

No method responded to 28 (which is the record id)

Here is a link to my code:

http://pastie.org/private/s1m8ddsb27fyad8z1rhyg

-- 
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.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to