demo sample for ruby on rails