this is a demo follow by the exampe on http://guides.rubyonrails.org/getting_started.html