Modelling pre- and co-requisites for university courses in Ruby on Rails