A Rails exercise for "Engineering Software as a Service" at edX online course