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

Fix active record observer disabling for 3-1-stable #2518

Conversation

myronmarston
Copy link
Contributor

This is the same fix is #2514, but applied to 3-1-stable as @josevalim requested.

We have to use Observer#update rather than Observer#send since the enabled state is checked in #update before forwarding the method call on.
spastorino added a commit that referenced this pull request Aug 13, 2011
…_disabling_3-1

Fix active record observer disabling for 3-1-stable
@spastorino spastorino merged commit 41ce161 into rails:3-1-stable Aug 13, 2011
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

Successfully merging this pull request may close these issues.

None yet

2 participants