Actions
Bug #5154
closedmethod_missing and module scope, regression in 1.9.3
Description
There is this bug against, factory_girl, for complete story
https://github.com/thoughtbot/factory_girl/issues/167
A minimum reproducible case is:
module Something
module Another
def self.great
puts "great was called"
end
end
end
include Something
module Another
def self.method_missing(name, *args, &block)
p "method missing: #{name}"
end
end
Another.great()
In Ruby 1.9.2 the output is @great was called@ and with Ruby 1.9.3 @method missing: great@.
Actions
Like0
Like0Like0