only load rails support if needed