Sample for ruby on rails