Move initialization of the Config instance into the "config.before_initialize" block
Fix Rails 4.1.0 issues correctly