fix Rails usage