Add solution from mahimahi42 for Ruby on the Web project