initialize rails