Tammo Freese
Not a member
Tammo Freese's latest activity
Thursday, September 25 2008
-
Tammo Freese commented at 4:12 PMHello 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
-
Tammo Freese commented at 11:15 AMWe 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
-
Tammo Freese commented at 8:16 AMHello 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
-
Tammo Freese commented at 9:50 PMUsing 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
-
Tammo Freese commented at 11:40 PMIn your opinion, is it OK that you cannot extend/override any of
rails's ...with... methods?
Saturday, May 31 2008
-
Tammo Freese created the ticket at 11:22 AMThere 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...