MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('515bf259c82cd1765c000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"v7o4FuNqxTMTH4TgSuzy", "encrypted_password"=>"9748e0dfe61894ded1ae185830416ff6d5917aea", "updated_at"=>2013-04-03 09:11:53 UTC, "created_at"=>2013-04-03 09:11:53 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-03 09:11:52 UTC, "updated_at"=>2013-04-03 09:11:53 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515bf259c82cd1765c000003'), "account_id"=>BSON::ObjectId('515bf259c82cd1765c000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf259c82cd1765c000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf259c82cd1765c000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:53 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf259c82cd1765c000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf259c82cd1765c000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001')}, "_id"=>BSON::ObjectId('515bf259c82cd1765c000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515bf259c82cd1765c000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf259c82cd1765c000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf259c82cd1765c000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf259c82cd1765c000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf259c82cd1765c000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:53 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf259c82cd1765c000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('515bf259c82cd1765c000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-03 09:11:54 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('515bf259c82cd1765c000008'), "created_at"=>2013-04-03 09:11:54 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('515bf259c82cd1765c000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-03 09:11:54 UTC, "created_at"=>2013-04-03 09:11:54 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('515bf259c82cd1765c000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('515bf25ac82cd1765c000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-03 09:11:54 UTC, "created_at"=>2013-04-03 09:11:54 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry515bf259c82cd1765c000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('515bf259c82cd1765c000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515bf259c82cd1765c000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000a'), "_type"=>"Locomotive::ContentEntry515bf259c82cd1765c000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry515bf259c82cd1765c000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515bf259c82cd1765c000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-03 09:11:54 UTC, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "_label_field_name"=>"name", "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515bf259c82cd1765c000007", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000b'), "_original_type"=>"Locomotive::ContentEntry515bf259c82cd1765c000007", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry515bf259c82cd1765c000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('515bf259c82cd1765c000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515bf259c82cd1765c000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000c'), "_type"=>"Locomotive::ContentEntry515bf259c82cd1765c000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry515bf259c82cd1765c000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515bf259c82cd1765c000007'), "_slug"=>"hidden", "updated_at"=>2013-04-03 09:11:54 UTC, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "_label_field_name"=>"name", "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515bf259c82cd1765c000007", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000d'), "_original_type"=>"Locomotive::ContentEntry515bf259c82cd1765c000007", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :parent_id=>BSON::ObjectId('515bf259c82cd1765c000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515bf259c82cd1765c000004'), :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515bf259c82cd1765c000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "parent_id"=>BSON::ObjectId('515bf259c82cd1765c000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-03 09:11:54 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf25ac82cd1765c00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001')}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :parent_id=>BSON::ObjectId('515bf259c82cd1765c000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515bf259c82cd1765c000004'), :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515bf259c82cd1765c000004'), :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('515bf259c82cd1765c000004'), :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515bf259c82cd1765c000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf25ac82cd1765c000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "parent_id"=>BSON::ObjectId('515bf259c82cd1765c000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-03 09:11:54 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf25ac82cd1765c000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001')}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('515bf259c82cd1765c000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('515bf259c82cd1765c000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:54 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf259c82cd1765c000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('515bf259c82cd1765c000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-03 09:11:52 UTC, "updated_at"=>2013-04-03 09:11:54 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515bf25ac82cd1765c000013'), "account_id"=>BSON::ObjectId('515bf259c82cd1765c000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf25ac82cd1765c000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:54 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf25ac82cd1765c000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012')}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf25ac82cd1765c000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:54 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf25ac82cd1765c000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf25ac82cd1765c000017'), "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:54 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf25ac82cd1765c000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012')}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c000017'), "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}]) Started GET "/" for 127.0.0.1 at 2013-04-03 11:11:54 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 99ms (Views: 92.8ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-03 11:11:54 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["findable", "en:findable"]}, "_stored.site_id"=>BSON::ObjectId('515bf259c82cd1765c000001')}) Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 0.6ms) Started GET "/findable" for 127.0.0.1 at 2013-04-03 11:11:54 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.6ms) Started GET "/" for 127.0.0.1 at 2013-04-03 11:11:54 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-03 11:11:54 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}, "_stored.site_id"=>BSON::ObjectId('515bf259c82cd1765c000001')}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"Y1zAd1zQp7vZksLPbfT7", "encrypted_password"=>"92e32352e9d789c4450954709ec60b6996c02a7c", "updated_at"=>2013-04-04 08:31:24 UTC, "created_at"=>2013-04-04 08:31:24 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-04 08:31:23 UTC, "updated_at"=>2013-04-04 08:31:24 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000003'), "account_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:24 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:24 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c8000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c8000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c8000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:24 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:24 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-04 08:31:24 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000008'), "created_at"=>2013-04-04 08:31:24 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-04 08:31:24 UTC, "created_at"=>2013-04-04 08:31:24 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-04 08:31:24 UTC, "created_at"=>2013-04-04 08:31:24 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c800000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry515d3a5cc82cd1b6c8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3a5cc82cd1b6c8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000a'), "_type"=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3a5cc82cd1b6c8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-04 08:31:24 UTC, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:31:24 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", :_original_id=>BSON::ObjectId('515d3a5cc82cd1b6c800000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000b'), "_original_type"=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", "_original_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c800000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry515d3a5cc82cd1b6c8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3a5cc82cd1b6c8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000c'), "_type"=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3a5cc82cd1b6c8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000007'), "_slug"=>"hidden", "updated_at"=>2013-04-04 08:31:24 UTC, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:31:24 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", :_original_id=>BSON::ObjectId('515d3a5cc82cd1b6c800000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000d'), "_original_type"=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", "_original_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c800000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "parent_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:31:25 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:25 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c800000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c800000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5cc82cd1b6c800000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}, "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c800000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "parent_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:31:25 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:25 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}, "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:25 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-04 08:31:23 UTC, "updated_at"=>2013-04-04 08:31:25 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000013'), "account_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:25 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:25 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012')}, "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:25 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:25 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017'), "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:25 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:25 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012')}, "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017'), "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}]) Started GET "/" for 127.0.0.1 at 2013-04-04 10:31:25 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 76ms (Views: 70.8ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-04 10:31:25 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["findable", "en:findable"]}, "_stored.site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) Started GET "/findable" for 127.0.0.1 at 2013-04-04 10:31:25 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/" for 127.0.0.1 at 2013-04-04 10:31:25 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-04 10:31:25 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}, "_stored.site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"hNszfFmMhxnEq92YsrtV", "encrypted_password"=>"c84a9b7e86de325650c5c82bb826fc7dbf4a2a19", "updated_at"=>2013-04-04 08:33:51 UTC, "created_at"=>2013-04-04 08:33:51 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-04 08:33:51 UTC, "updated_at"=>2013-04-04 08:33:51 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000003'), "account_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:51 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:51 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}, "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3aefc82cd1b6ff000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3aefc82cd1b6ff000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3aefc82cd1b6ff000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:51 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:51 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-04 08:33:52 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000008'), "created_at"=>2013-04-04 08:33:52 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-04 08:33:52 UTC, "created_at"=>2013-04-04 08:33:52 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-04 08:33:52 UTC, "created_at"=>2013-04-04 08:33:52 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry515d3aefc82cd1b6ff000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('515d3aefc82cd1b6ff000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3aefc82cd1b6ff000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000a'), "_type"=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3aefc82cd1b6ff000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-04 08:33:52 UTC, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000b'), "_original_type"=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry515d3aefc82cd1b6ff000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('515d3aefc82cd1b6ff000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3aefc82cd1b6ff000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000c'), "_type"=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3aefc82cd1b6ff000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000007'), "_slug"=>"hidden", "updated_at"=>2013-04-04 08:33:52 UTC, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000d'), "_original_type"=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "parent_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:33:52 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "parent_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:33:52 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:52 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-04 08:33:51 UTC, "updated_at"=>2013-04-04 08:33:52 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000013'), "account_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:52 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012')}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:52 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000017'), "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:52 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012')}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000017'), "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}]) Started GET "/" for 127.0.0.1 at 2013-04-04 10:33:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 105ms (Views: 99.1ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-04 10:33:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["findable", "en:findable"]}, "_stored.site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) Started GET "/findable" for 127.0.0.1 at 2013-04-04 10:33:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/" for 127.0.0.1 at 2013-04-04 10:33:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-04 10:33:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}, "_stored.site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"bpSCrGNVYUNY2z8Bdhki", "encrypted_password"=>"1d84f7aecbc3cb1293de8ef91fc9bf91880e8623", "updated_at"=>2013-04-04 08:42:36 UTC, "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-04 08:42:35 UTC, "updated_at"=>2013-04-04 08:42:36 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000003'), "account_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-04 08:42:36 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000008'), "created_at"=>2013-04-04 08:42:36 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-04 08:42:36 UTC, "created_at"=>2013-04-04 08:42:36 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-04 08:42:36 UTC, "created_at"=>2013-04-04 08:42:36 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b700000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry515d3cfcc82cd1b8b7000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3cfcc82cd1b8b7000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000a'), "_type"=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3cfcc82cd1b8b7000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-04 08:42:36 UTC, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b700000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000b'), "_original_type"=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b700000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry515d3cfcc82cd1b8b7000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3cfcc82cd1b8b7000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000c'), "_type"=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3cfcc82cd1b8b7000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000007'), "_slug"=>"hidden", "updated_at"=>2013-04-04 08:42:36 UTC, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b700000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000d'), "_original_type"=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b700000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b700000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b700000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b700000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-04 08:42:35 UTC, "updated_at"=>2013-04-04 08:42:36 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000013'), "account_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012')}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017'), "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012')}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017'), "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}]) Started GET "/" for 127.0.0.1 at 2013-04-04 10:42:36 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 24ms (Views: 20.0ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-04 10:42:36 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["findable", "en:findable"]}, "_stored.site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.4ms) Started GET "/findable" for 127.0.0.1 at 2013-04-04 10:42:37 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.5ms) Started GET "/" for 127.0.0.1 at 2013-04-04 10:42:37 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-04 10:42:37 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}, "_stored.site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({})