-
Notifications
You must be signed in to change notification settings - Fork 646
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
Rails 3.0.3 You cannot call create unless the parent is saved #34
Comments
Possible fix: change it to a before_destroy rather than an after_destroy operation, so the create() call occurs on an object that exists. |
I am also getting this error since Rails 3.0.3. Could you please elaborate a bit where to make the mentioned changes? |
see my pull request in issue 36 |
ah, thank you. This bug is now gone. But I am still getting the mass assign of protected attributes error. |
Also fixed in part by bb38256. |
I am still getting this exact same error. I am using rails 3.0.5 and acts_as_audited 2.0.0.rc7
|
https://github.com/collectiveidea/acts_as_audited/pull/79 |
Using the current rails3 branch ... I think rails 3.0.3 introduced a bug. It works on rails 3.0.1, but when I update to rails 3.0.3, I get:
The text was updated successfully, but these errors were encountered: