This project is archived and is in readonly mode.
Changeset [fbe35656a95228f760a2cd09676423ba41fe70ab] by José Valim
Revision fbe35656a95228f760a2cd09676423ba41fe70ab,
committed by José Valim
· March 19th, 2010 @ 11:01 AM
Singleton classes returns parent's methods with
instance_methods(false) and this makes remove_method in
Module#delegate fail. Add a test case and fix the bug.
http://github.com/rails/rails/commit/fbe35656a95228f760a2cd09676423...
2 changed files
-
M
activesupport/lib/active_support/core_ext/module/delegation.rb -
M
activesupport/test/core_ext/module_test.rb