making one demo_app to ruby on rails