Bump. Worth a look as this is a data corruption situation...
On Nov 3, 9:26 pm, Matt Jones <[email protected]> wrote:
> https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3086
>
> Just what the subject says - on 2-3-stable, destroying an object with
> a has_many association using :primary_key and :delete_all will try to
> match records against the destroyed record's primary key rather than
> that declared in the association. Could cause data loss in some
> circumstances.
>
> Patch is tiny - one line + some support functions, and includes a test.
>
> Thanks!
>
> --Matt Jones
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---