enabled rails 4 threadsafe in gmm