I am extending a class (which is in a plugin) by including a module, this is done in an initializer.
require \'qwerty/core/user\' User.send :include, Qwerty::Co
environment.rb
config.to_prepare do User.send :include, Qwerty::Core::Extensions::User end
The code is the block is run before every request in development mode and once in production mode.