I haven’t dug deep into this but I can give you a few pointers.
First of all, the alias_method_chain is being done to a module so your
methods only do stuff when they are actually included in a class.
With that in mind, what happens here?
“everything is fine”
puts “I intercepted it!”
alias_method_chain :failure_type, :foo
SomethingThatFails.new.failure_type #=> “epic”
This could be an explanation.
On 4/2/08, Jobu [email protected] wrote:
drop_table_with alias chained method is never entered.