Replaces rails code the way it was before I changed it in my fork