Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # When inside of 'class_eval' or 'module_eval' and you want to modify
- # a constant, prefix it with 'self'
- #
- # I have no idea why...
- ActionController::Assertions::SelectorAssertions.class_eval do
- self::RJS_STATEMENTS = {}
- end
Add Comment
Please, Sign In to add comment