sample app from rails_book