add custom rails config for shared DB