Ruby on Rails demo code