moved Rails config into railtie