Change to rails gem