complete the Rails relative part