from tutorial ruby on rail sample_app