Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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