another sample app based on railsguides