Skip to content

Instantly share code, notes, and snippets.

@kovyrin
Created September 18, 2009 19:30
Show Gist options
  • Save kovyrin/189241 to your computer and use it in GitHub Desktop.
Save kovyrin/189241 to your computer and use it in GitHub Desktop.
>> CopyrightMatch.first.infringing_upload
=> #<WordUpload id: 3982, original_filename: "(ebook-pdf) philosophy - encyclopedia of philosophy...", extension: "pdf", word_count: 2141763, character_count: 10615093, character_count_with_spaces: 12741973, line_count: 166461, paragraph_count: 14554, page_count: 3901, guid: "a8npts30ukbo0", word_bulk_upload_id: 358, word_user_id: 665, sentence_count: 75822, md5: "141bf3c9fa1e319643f775bf87caa24e", copyright_match: 0, language_id: 1, slurp: nil, encrypted: 0, college: nil, keywords: nil, college_id: nil, created_at: "2007-03-06 23:23:34">
>> CopyrightMatch.first.infringing_upload.word_document
=> #<WordDocument id: 3965, word_upload_id: 3982, title: "(ebook-pdf) philosophy - encyclopedia of philosophy...", description: "", authors_note: nil, word_user_id: 665, created_at: "2007-03-07 00:23:34", default_format: 0, copyright_id: 1, word_download: 1, text_download: 1, printfu: 1, converted: 1, submitted: 1, show_comments: 1, removal_id: 100, published: 0, deleted: 0, slag: "ebookpdf-philosophy-encyclopedia-of-philosophy254", private: 0, language_id: 1, flag_status: 0, pdf_download: 1, all_download: 1, anonymous: 0, bad_document: 0, facebook_document: 0, position: nil, flex1: 0, flex2: 0, flex3: 0, flex4: 0, flex5: 0, buy_url: nil, ISBN: nil, document_type_id: 1, url_clicks: 0, secret_password: "a8npts30ukbo0", access_key: "a8npts30ukbo0", print: 1, copyright_filter_ignore: 0, show_ads: 0, api_account_id: 0, view_mode: nil, page_count: 3901, extension: "pdf", machine_tagged: false, deleted_at: "2008-08-04 23:38:44", updated_at: "2008-08-04 23:39:54", suggested_title: nil, title_status: 0>
>> WordUpload.find(3982).word_document
=> #<WordDocument id: 3965, word_upload_id: 3982, title: "(ebook-pdf) philosophy - encyclopedia of philosophy...", description: "", authors_note: nil, word_user_id: 665, created_at: "2007-03-07 00:23:34", default_format: 0, copyright_id: 1, word_download: 1, text_download: 1, printfu: 1, converted: 1, submitted: 1, show_comments: 1, removal_id: 100, published: 0, deleted: 0, slag: "ebookpdf-philosophy-encyclopedia-of-philosophy254", private: 0, language_id: 1, flag_status: 0, pdf_download: 1, all_download: 1, anonymous: 0, bad_document: 0, facebook_document: 0, position: nil, flex1: 0, flex2: 0, flex3: 0, flex4: 0, flex5: 0, buy_url: nil, ISBN: nil, document_type_id: 1, url_clicks: 0, secret_password: "a8npts30ukbo0", access_key: "a8npts30ukbo0", print: 1, copyright_filter_ignore: 0, show_ads: 0, api_account_id: 0, view_mode: nil, page_count: 3901, extension: "pdf", machine_tagged: false, deleted_at: "2008-08-04 23:38:44", updated_at: "2008-08-04 23:39:54", suggested_title: nil, title_status: 0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment