Moved Abel's code to Rails and added instructor notes