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.

Tammo Freese's latest activity

Thursday, September 25 2008
285 alias_method_chain limits extensibility was updated in Ruby on Rails
  • Tammo Freese
    Tammo Freese commented at 4:12 PM

    Hello charly71,

    I see three problems with this approach:

    1) To decorate one of the save methods in the modules (extending it, not overriding it) you would still...

Tuesday, September 09 2008
285 alias_method_chain limits extensibility was updated in Ruby on Rails
  • Tammo Freese
    Tammo Freese commented at 11:15 AM

    We found the problem with …with… methods when implementing a custom benchmarking.

    However, in my opinion, every …with… method in rails is a potential extension ...

Monday, September 08 2008
285 alias_method_chain limits extensibility was updated in Ruby on Rails
  • Tammo Freese
    Tammo Freese commented at 8:16 AM

    Hello Joshua,

    aliasing back will not work correctly.

    alias_method :perform_action, :perform_action_without_benchmark

    will disable benchmarking, but it will disa...

Sunday, September 07 2008
285 alias_method_chain limits extensibility was updated in Ruby on Rails
  • Tammo Freese
    Tammo Freese commented at 9:50 PM

    Using alias_method instead of a delegate method call makes overwriting/ extending with methods a major pain.

    Let's say you would like to disable benchmarking, b...

Friday, July 11 2008
285 alias_method_chain limits extensibility was updated in Ruby on Rails
  • Tammo Freese
    Tammo Freese commented at 11:40 PM

    In your opinion, is it OK that you cannot extend/override any of

    rails's ...with... methods?

Saturday, May 31 2008
285 alias_method_chain limits extensibility was created in Ruby on Rails
  • Tammo Freese
    Tammo Freese created the ticket at 11:22 AM

    There are two problems with the current implementaton of alias_method_chain.

    1) If a method defined in a superclass is aliased, replacing the method in the su...