prevents slugs like 27-aug-sth from linking to id=27

http://www.railsschool.org/l/27-aug-2014-beginner was linking to a course from 2012 about devise with id=27 because `27-aug-2014-beginner.to_i == 27`