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@.
Updated by kosaki (Motohiro KOSAKI) over 13 years ago
- Category set to core
- Status changed from Open to Assigned
- Assignee set to matz (Yukihiro Matsumoto)
- Priority changed from Normal to 5
Updated by nobu (Nobuyoshi Nakada) over 13 years ago
- Status changed from Assigned to Closed
Actions
Like0
Like0Like0