Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix LocalJumpError in Rails controllers (#774)
There were a few messups here: * The Rails controller tests never tested a "happy case" (that is, no exceptions) * The Rails controller tests didn't check to see the exception they were actually catching - so the LocalJumpError went unnoticed! * You can't `yield` from the block form of `around_action` * I'm not sure why I thought class_eval was necessary here - it isn't. Fix #773
- Loading branch information