sample application using rails 4.0.8