a demo based on ruby on rails