Upload and index text from PDF documents. Rails 3 app example.