# Constants lookup changes in 1.9.2?

**URL:** <https://www.ruby-forum.com/t/constants-lookup-changes-in-1-9-2/194405>\
**Category:** Ruby\
**Created:** [September 3, 2010, 11:38pm UTC](https://www.ruby-forum.com/t/constants-lookup-changes-in-1-9-2/194405 "2010-09-03T23:38:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arachnd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Post date:** [September 3, 2010, 11:38pm UTC](https://www.ruby-forum.com/t/constants-lookup-changes-in-1-9-2/194405/1 "2010-09-03T23:38:47Z")

</div>

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?
