rails tutorial demo app, (rails 4 version)