Constants lookup changes in 1.9.2?

Hi.

I've had this code working in 1.9.1:

module SomeModule
  module SayIt
    def self.included(x)
      puts "included"
    end
  end
end

class SomeAdapter
  def self.inherited(m)
    m.class_eval do
      include SomeModule
      include SayIt
    end
  end
end

class SimpleTest < SomeAdapter
end

but in 1.9.2 it throws error:
uninitialized constant SomeAdapter::SayIt (NameError)

to make it work i need to specify full constant Name: include
SomeModule::SayIt
what has changed? is it a bug or feature?

···

--
Posted via http://www.ruby-forum.com/.