MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (57ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB (22ms) dummy_test['system.namespaces'].find({}) MONGODB (23ms) dummy_test['system.namespaces'].find({}) MONGODB (11ms) dummy_test['$cmd'].find({:drop=>"digital_assets"}).limit(-1) Processing by DigitalAssetsController#index as HTML Rendered c:/dev/workspaces/gem-workspace/daengine/app/views/digital_assets/index.html.erb within layouts/application (22.0ms) Completed 200 OK in 104ms (Views: 102.0ms) MONGODB (12ms) dummy_test['system.namespaces'].find({}) MONGODB (11ms) dummy_test['$cmd'].find({:create=>"digital_assets"}).limit(-1) MONGODB (0ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-1", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-1", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:56 UTC, "created_at"=>2012-06-13 17:42:56 UTC, "documents"=>[{"path"=>"/1/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:56 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-1-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (14ms) dummy_test['digital_assets'].find({}) MONGODB (22ms) dummy_test['system.namespaces'].find({}) MONGODB (30ms) dummy_test['system.namespaces'].find({}) MONGODB (10ms) dummy_test['$cmd'].find({:drop=>"digital_assets"}).limit(-1) MONGODB (4ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-2", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-2", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:56 UTC, "created_at"=>2012-06-13 17:42:56 UTC, "documents"=>[{"path"=>"/2/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:56 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-2-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) Processing by DigitalAssetsController#show as HTML Parameters: {"id"=>"guid-foobar-permanent-2"} MONGODB (12ms) dummy_test['digital_assets'].find({:_id=>"guid-foobar-permanent-2"}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 24ms (Views: 6.0ms) MONGODB (22ms) dummy_test['system.namespaces'].find({}) MONGODB (22ms) dummy_test['system.namespaces'].find({}) MONGODB (10ms) dummy_test['$cmd'].find({:drop=>"digital_assets"}).limit(-1) MONGODB (0ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-3", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-3", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:56 UTC, "created_at"=>2012-06-13 17:42:56 UTC, "documents"=>[{"path"=>"/3/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:56 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-3-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) Processing by DigitalAssetsController#show as HTML Parameters: {"id"=>"F0000.BAR"} MONGODB (12ms) dummy_test['digital_assets'].find({:sami_code=>"F0000.BAR"}).limit(-1).sort([[:changed_at, :desc]]) Completed 200 OK in 21ms (Views: 7.0ms) MONGODB (21ms) dummy_test['system.namespaces'].find({}) MONGODB (19ms) dummy_test['system.namespaces'].find({}) MONGODB (10ms) dummy_test['$cmd'].find({:drop=>"digital_assets"}).limit(-1) MONGODB (0ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-4", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-4", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:56 UTC, "created_at"=>2012-06-13 17:42:56 UTC, "documents"=>[{"path"=>"/4/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:56 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-4-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-5", "title"=>"Doc Title", "changed_at"=>2010-06-13 17:42:56 UTC, "guid"=>"guid-foobar-permanent-5", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:56 UTC, "created_at"=>2012-06-13 17:42:56 UTC, "documents"=>[{"path"=>"/5/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:56 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-5-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) Processing by DigitalAssetsController#show as HTML Parameters: {"id"=>"F0000.BAR"} MONGODB (11ms) dummy_test['digital_assets'].find({:sami_code=>"F0000.BAR"}).limit(-1).sort([[:changed_at, :desc]]) Completed 200 OK in 17ms (Views: 3.0ms) MONGODB (21ms) dummy_test['system.namespaces'].find({}) MONGODB (20ms) dummy_test['system.namespaces'].find({}) MONGODB (9ms) dummy_test['$cmd'].find({:drop=>"digital_assets"}).limit(-1) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-6", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-6", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:56 UTC, "created_at"=>2012-06-13 17:42:56 UTC, "documents"=>[{"path"=>"/6/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:56 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-6-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) Processing by DigitalAssetsController#show as HTML Parameters: {"id"=>"guid-foobar-permanent-6"} MONGODB (11ms) dummy_test['digital_assets'].find({:_id=>"guid-foobar-permanent-6"}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 18ms (Views: 5.0ms) MONGODB (21ms) dummy_test['system.namespaces'].find({}) MONGODB (19ms) dummy_test['system.namespaces'].find({}) MONGODB (15ms) dummy_test['$cmd'].find({:drop=>"digital_assets"}).limit(-1) Processing by DigitalAssetsController#search as HTML Completed 200 OK in 8ms (Views: 7.0ms) MONGODB (11ms) dummy_test['$cmd'].find({"count"=>"digital_assets", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (16ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-7", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-7", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/7/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-7-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-8", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-8", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/8/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-8-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-9", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-9", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/9/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-9-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-10", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-10", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/10/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-10-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (3ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-11", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-11", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/11/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-11-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (0ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-12", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-12", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/12/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-12-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].update({"_id"=>"guid-foobar-permanent-12"}, {"$unset"=>{"documents"=>true}}) MONGODB (1ms) dummy_test['digital_assets'].update({"_id"=>"guid-foobar-permanent-12"}, {"$pushAll"=>{"documents"=>[{"path"=>"/one/off.path", "doc_changed_at"=>2012-06-13 17:42:57 UTC, "content_type"=>"999", "_id"=>"-fwdslsh-one-fwdslsh-off-period-path"}]}}) Processing by DigitalAssetsController#search as HTML Parameters: {"path"=>"/one/off.path"} Completed 200 OK in 5ms (Views: 3.0ms) MONGODB (13ms) dummy_test['digital_assets'].find({:"documents.path"=>"/one/off.path"}) MONGODB (12ms) dummy_test['digital_assets'].find({:"documents.path"=>"/one/off.path"}) MONGODB (10ms) dummy_test['$cmd'].find({"count"=>"digital_assets", "query"=>{:"documents.path"=>"/one/off.path"}, "fields"=>nil}).limit(-1) MONGODB (12ms) dummy_test['digital_assets'].find({:"documents.path"=>"/one/off.path"}).limit(-1).sort([[:_id, :asc]]) MONGODB (21ms) dummy_test['system.namespaces'].find({}) MONGODB (21ms) dummy_test['system.namespaces'].find({}) MONGODB (11ms) dummy_test['$cmd'].find({:drop=>"digital_assets"}).limit(-1) MONGODB (14ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-13", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-13", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/13/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-13-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (15ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-14", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-14", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/14/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-14-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (2ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-15", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-15", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/15/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-15-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (0ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-16", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-16", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/16/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-16-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (0ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-17", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-17", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/17/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-17-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-18", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-18", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/18/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-18-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (0ms) dummy_test['digital_assets'].update({"_id"=>"guid-foobar-permanent-18"}, {"$unset"=>{"documents"=>true}}) MONGODB (0ms) dummy_test['digital_assets'].update({"_id"=>"guid-foobar-permanent-18"}, {"$pushAll"=>{"documents"=>[{"path"=>"/one/off.path", "doc_changed_at"=>2012-06-13 17:42:57 UTC, "content_type"=>"999", "_id"=>"-fwdslsh-one-fwdslsh-off-period-path"}]}}) MONGODB (20ms) dummy_test['system.namespaces'].find({}) MONGODB (22ms) dummy_test['system.namespaces'].find({}) MONGODB (10ms) dummy_test['$cmd'].find({:drop=>"digital_assets"}).limit(-1) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"some-new-asset-undscr-134", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"some-new-asset_134", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/19/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-19-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].update({"_id"=>"some-new-asset-undscr-134"}, {"$unset"=>{"documents"=>true}}) MONGODB (1ms) dummy_test['digital_assets'].update({"_id"=>"some-new-asset-undscr-134"}, {"$push"=>{"documents"=>{"_id"=>"-fwdslsh-some-fwdslsh-crazy-fwdslsh-file-period-path", "path"=>"/some/crazy/file.path", "doc_changed_at"=>2012-06-11 17:42:55 UTC, "content_type"=>"777"}}}) Processing by DigitalAssetsController#search as HTML Parameters: {"doctype"=>"666"} Completed 200 OK in 4ms (Views: 3.0ms) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-19", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-19", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/20/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-20-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (12ms) dummy_test['digital_assets'].find({:"documents.content_type"=>{"$in"=>["666"]}}) MONGODB (21ms) dummy_test['system.namespaces'].find({}) MONGODB (20ms) dummy_test['system.namespaces'].find({}) MONGODB (9ms) dummy_test['$cmd'].find({:drop=>"digital_assets"}).limit(-1) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"some-new-asset-undscr-134", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"some-new-asset_134", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/21/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-21-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].update({"_id"=>"some-new-asset-undscr-134"}, {"$unset"=>{"documents"=>true}}) MONGODB (1ms) dummy_test['digital_assets'].update({"_id"=>"some-new-asset-undscr-134"}, {"$push"=>{"documents"=>{"_id"=>"-fwdslsh-some-fwdslsh-crazy-fwdslsh-file-period-path", "path"=>"/some/crazy/file.path", "doc_changed_at"=>2012-06-11 17:42:55 UTC, "content_type"=>"777"}}}) Processing by DigitalAssetsController#search as HTML Parameters: {"doctype"=>["666", "777"]} Completed 200 OK in 9ms (Views: 6.0ms) MONGODB (10ms) dummy_test['digital_assets'].find({:"documents.content_type"=>{"$in"=>["666", "777"]}}) MONGODB (0ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-20", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-20", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:57 UTC, "created_at"=>2012-06-13 17:42:57 UTC, "documents"=>[{"path"=>"/22/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-22-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (16ms) dummy_test['digital_assets'].find({:"documents.content_type"=>{"$in"=>["666", "777"]}}) MONGODB (23ms) dummy_test['system.namespaces'].find({}) MONGODB (19ms) dummy_test['system.namespaces'].find({}) MONGODB (9ms) dummy_test['$cmd'].find({:drop=>"digital_assets"}).limit(-1) MONGODB (0ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-21", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-21", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"SOMETHING.001", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:58 UTC, "created_at"=>2012-06-13 17:42:58 UTC, "documents"=>[{"path"=>"/23/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:57 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-23-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-22", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-22", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"SOMETHING.001", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:58 UTC, "created_at"=>2012-06-13 17:42:58 UTC, "documents"=>[{"path"=>"/24/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:58 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-24-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["420"], "_id"=>"guid-foobar-permanent-23", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-23", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"SOMETHING.001", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:58 UTC, "created_at"=>2012-06-13 17:42:58 UTC, "documents"=>[{"path"=>"/25/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:58 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-25-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) Processing by DigitalAssetsController#search as HTML Parameters: {"sami"=>"SOMETHING.001"} Completed 200 OK in 18ms (Views: 17.0ms) MONGODB (10ms) dummy_test['$cmd'].find({"count"=>"digital_assets", "query"=>{:sami_code=>"SOMETHING.001"}, "fields"=>nil}).limit(-1) MONGODB (21ms) dummy_test['system.namespaces'].find({}) MONGODB (36ms) dummy_test['system.namespaces'].find({}) MONGODB (12ms) dummy_test['$cmd'].find({:drop=>"digital_assets"}).limit(-1) MONGODB (0ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["1234", "4567"], "_id"=>"guid-foobar-permanent-24", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-24", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:58 UTC, "created_at"=>2012-06-13 17:42:58 UTC, "documents"=>[{"path"=>"/26/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:58 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-26-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (0ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["1234", "4567"], "_id"=>"guid-foobar-permanent-25", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-25", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:58 UTC, "created_at"=>2012-06-13 17:42:58 UTC, "documents"=>[{"path"=>"/27/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:58 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-27-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["1234", "2323"], "_id"=>"guid-foobar-permanent-26", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-26", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:58 UTC, "created_at"=>2012-06-13 17:42:58 UTC, "documents"=>[{"path"=>"/28/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:58 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-28-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["1234", "2323"], "_id"=>"guid-foobar-permanent-27", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-27", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:58 UTC, "created_at"=>2012-06-13 17:42:58 UTC, "documents"=>[{"path"=>"/29/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:58 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-29-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) MONGODB (1ms) dummy_test['digital_assets'].insert([{"audiences"=>["490"], "product_ids"=>["690", "420"], "fund_ids"=>["9999"], "_id"=>"guid-foobar-permanent-28", "title"=>"Doc Title", "changed_at"=>2012-06-11 17:42:55 UTC, "guid"=>"guid-foobar-permanent-28", "published_at"=>2012-06-03 17:42:55 UTC, "expires_at"=>2012-08-13 17:42:55 UTC, "sami_code"=>"F0000.BAR", "business_owner"=>"biz owner", "updated_at"=>2012-06-13 17:42:58 UTC, "created_at"=>2012-06-13 17:42:58 UTC, "documents"=>[{"path"=>"/30/foo/bar.txt", "doc_changed_at"=>2012-06-11 17:42:58 UTC, "content_type"=>"666", "_id"=>"-fwdslsh-30-fwdslsh-foo-fwdslsh-bar-period-txt"}]}]) Processing by DigitalAssetsController#search as HTML Parameters: {"funds"=>"1234"} Completed 200 OK in 6ms (Views: 2.0ms) MONGODB (10ms) dummy_test['$cmd'].find({"count"=>"digital_assets", "query"=>{:fund_ids=>{"$in"=>["1234"]}}, "fields"=>nil}).limit(-1)