making changes to rails 2 to make it consistent with rails 4
fixes for file movements made in rails 2