this is for the demo app in rails tutorial