Hi, please can you specify which version of Rails are you currently 
using, and an example of the code that causes your problem?

I tried to reproduce it with:
compra.update_attributes :detalle_de_compras_attributes => [{:id => 
953125641, :_delete => true}]

but works fine for me, it decrements the counter once.

Cheers,
Luca
-- 
blog: www.lucaguidi.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to