Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Controller.required_option overriding methods in 1.9.
In Ruby 1.9 the return value of `instance_methods` changed from an array of strings to an array of symbols. So the collision check did not work. Use the more compatible `method_defined?` method.
- Loading branch information