demo app for rail tutorial