Dem application on Ruby on Rails