adding rails