initlize rails