Init rails