updated rails
created uniform routes based on class date