moving to rails