Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ActionView::LookupContext
- module ActionView
- def find(name, prefixes = [], partial = false, keys = [], options = {})
- raise "MyPatch_find"
- end
- end
- end
- self.class
- # => ActionView::LookupContext
- self.find("foo")
- # => RuntimeError: "MyPatch_find"
Add Comment
Please, Sign In to add comment