this is the example to app in ruby on rails