Simple demo code for a Ruby on Rails assignment