remove Rails code