sample app from Rails Turorial