initializing rails