a demo using Ruby on Rails