adding rails details.