ruby on rails 4 sample application for study