Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

has_many dependent: :destroy clear all table #165

Closed
artemk opened this issue Aug 27, 2013 · 3 comments
Closed

has_many dependent: :destroy clear all table #165

artemk opened this issue Aug 27, 2013 · 3 comments

Comments

@artemk
Copy link

artemk commented Aug 27, 2013

Version: 5.0.13
rails/rails#12049

@cfis
Copy link
Contributor

cfis commented Nov 3, 2013

Is this related to #170?

@artemk
Copy link
Author

artemk commented Nov 3, 2013

No, this does not result an exception. It just clear whole table.

@cfis
Copy link
Contributor

cfis commented Mar 15, 2014

I'm confused, how is this related to CPK. The example on the Rails site doesn't show any Models with a composite primary key.

@cfis cfis closed this as completed Jun 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants