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 scope changed #200

Merged
merged 2 commits into from
Apr 15, 2016
Merged

Fix scope changed #200

merged 2 commits into from
Apr 15, 2016

Conversation

brendon
Copy link
Owner

@brendon brendon commented Apr 15, 2016

I forgot to check if the variable existed before trying to remove it. The tests passed because they weren't executing the callback that triggered the error. The tests now execute the callback, and the bug has been fixed.

brendon added 2 commits April 15, 2016 23:12
We use the `after_commit_exception_notification` gem for Rails 3.2 and
4.1 as they can’t raise errors in commit callbacks.
@brendon brendon merged commit 117eabb into master Apr 15, 2016
@brendon brendon deleted the fix-scope-changed branch April 15, 2016 11:57
@swanandp
Copy link
Contributor

👍

@brendon
Copy link
Owner Author

brendon commented Apr 19, 2016

Thanks :) I'd never had much luck with that gem before but it seems to work well in this instance.

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.

2 participants