class Sorcery::Engine

The Sorcery engine takes care of extending ActiveRecord (if used) and ActionController, With the plugin logic.