adding rails layout