hhba / mapa76

Plataforma de investigación periodística
http://analice.me/
31 stars 8 forks source link

Mongoid::Errors::DocumentNotFound on Extraction Task #162

Closed malev closed 10 years ago

malev commented 11 years ago

Arguments

"5237b0423ea2af5260000008"

Exception Mongoid::Errors::DocumentNotFound Error Problem: Document(s) not found for class Page with id(s) 5237b0533ea2afcfd7000019. Summary: When calling Page.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): 5237b0533ea2afcfd7000019 ... (1 total) and the following ids were not found: 5237b0533ea2afcfd7000019. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.