repllaced all with a new version using rails