forked from radiant/radiant
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make UserActionObserver work (Rails bug #4087)
Monkeypatch ActiveRecord::Observer to always return true after `notify_observers` in "_notify_observers_for_#{method}" callbacks, making it again possible to observe before_* events without these methods halting the callbacks chain all the time.
- Loading branch information
Showing
2 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters