Initialize rails