This project is archived and is in readonly mode.

Changeset [fbe35656a95228f760a2cd09676423ba41fe70ab] 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...

Committed by José Valim

  • M activesupport/lib/active_support/core_ext/module/delegation.rb
  • M activesupport/test/core_ext/module_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>