mongoid_shortener 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.markdown +118 -0
  3. data/Rakefile +37 -0
  4. data/app/controllers/mongoid_shortener/application_controller.rb +4 -0
  5. data/app/controllers/mongoid_shortener/shortened_urls_controller.rb +19 -0
  6. data/app/helpers/mongoid_shortener/shortened_urls_helper.rb +10 -0
  7. data/app/models/mongoid_shortener/shortened_url.rb +78 -0
  8. data/lib/mongoid_shortener.rb +12 -0
  9. data/lib/mongoid_shortener/engine.rb +5 -0
  10. data/lib/mongoid_shortener/version.rb +3 -0
  11. data/lib/tasks/mongoid_shortener_tasks.rake +4 -0
  12. data/test/dummy/Rakefile +7 -0
  13. data/test/dummy/app/assets/javascripts/application.js +9 -0
  14. data/test/dummy/app/assets/stylesheets/application.css +7 -0
  15. data/test/dummy/app/controllers/application_controller.rb +3 -0
  16. data/test/dummy/app/helpers/application_helper.rb +2 -0
  17. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  18. data/test/dummy/config.ru +4 -0
  19. data/test/dummy/config/application.rb +51 -0
  20. data/test/dummy/config/boot.rb +10 -0
  21. data/test/dummy/config/environment.rb +5 -0
  22. data/test/dummy/config/environments/development.rb +30 -0
  23. data/test/dummy/config/environments/production.rb +60 -0
  24. data/test/dummy/config/environments/test.rb +39 -0
  25. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  26. data/test/dummy/config/initializers/inflections.rb +10 -0
  27. data/test/dummy/config/initializers/mime_types.rb +5 -0
  28. data/test/dummy/config/initializers/secret_token.rb +7 -0
  29. data/test/dummy/config/initializers/session_store.rb +8 -0
  30. data/test/dummy/config/initializers/wrap_parameters.rb +10 -0
  31. data/test/dummy/config/locales/en.yml +5 -0
  32. data/test/dummy/config/mongoid.yml +20 -0
  33. data/test/dummy/config/routes.rb +3 -0
  34. data/test/dummy/log/development.log +6 -0
  35. data/test/dummy/log/test.log +3498 -0
  36. data/test/dummy/public/404.html +26 -0
  37. data/test/dummy/public/422.html +26 -0
  38. data/test/dummy/public/500.html +26 -0
  39. data/test/dummy/public/favicon.ico +0 -0
  40. data/test/dummy/script/rails +6 -0
  41. data/test/functional/mongoid_shortener/shortened_urls_controller_test.rb +32 -0
  42. data/test/mongoid_shortener_test.rb +7 -0
  43. data/test/test_helper.rb +18 -0
  44. data/test/unit/helpers/mongoid_shortener/shortened_urls_helper_test.rb +18 -0
  45. data/test/unit/mongoid_shortener/shortened_url_test.rb +33 -0
  46. metadata +154 -0
@@ -0,0 +1,5 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ Dummy::Application.initialize!
@@ -0,0 +1,30 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger
20
+ config.active_support.deprecation = :log
21
+
22
+ # Only use best-standards-support built into browsers
23
+ config.action_dispatch.best_standards_support = :builtin
24
+
25
+ # Do not compress assets
26
+ config.assets.compress = false
27
+
28
+ # Expands the lines which load the assets
29
+ config.assets.debug = true
30
+ end
@@ -0,0 +1,60 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+
11
+ # Disable Rails's static asset server (Apache or nginx will already do this)
12
+ config.serve_static_assets = false
13
+
14
+ # Compress JavaScripts and CSS
15
+ config.assets.compress = true
16
+
17
+ # Don't fallback to assets pipeline if a precompiled asset is missed
18
+ config.assets.compile = false
19
+
20
+ # Generate digests for assets URLs
21
+ config.assets.digest = true
22
+
23
+ # Defaults to Rails.root.join("public/assets")
24
+ # config.assets.manifest = YOUR_PATH
25
+
26
+ # Specifies the header that your server uses for sending files
27
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
+
30
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
+ # config.force_ssl = true
32
+
33
+ # See everything in the log (default is :info)
34
+ # config.log_level = :debug
35
+
36
+ # Use a different logger for distributed setups
37
+ # config.logger = SyslogLogger.new
38
+
39
+ # Use a different cache store in production
40
+ # config.cache_store = :mem_cache_store
41
+
42
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
43
+ # config.action_controller.asset_host = "http://assets.example.com"
44
+
45
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
46
+ # config.assets.precompile += %w( search.js )
47
+
48
+ # Disable delivery errors, bad email addresses will be ignored
49
+ # config.action_mailer.raise_delivery_errors = false
50
+
51
+ # Enable threaded mode
52
+ # config.threadsafe!
53
+
54
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
55
+ # the I18n.default_locale when a translation can not be found)
56
+ config.i18n.fallbacks = true
57
+
58
+ # Send deprecation notices to registered listeners
59
+ config.active_support.deprecation = :notify
60
+ end
@@ -0,0 +1,39 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
15
+ config.whiny_nils = true
16
+
17
+ # Show full error reports and disable caching
18
+ config.consider_all_requests_local = true
19
+ config.action_controller.perform_caching = false
20
+
21
+ # Raise exceptions instead of rendering exception templates
22
+ config.action_dispatch.show_exceptions = false
23
+
24
+ # Disable request forgery protection in test environment
25
+ config.action_controller.allow_forgery_protection = false
26
+
27
+ # Tell Action Mailer not to deliver emails to the real world.
28
+ # The :test delivery method accumulates sent emails in the
29
+ # ActionMailer::Base.deliveries array.
30
+ config.action_mailer.delivery_method = :test
31
+
32
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
33
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
34
+ # like if you have constraints or database-specific column types
35
+ # config.active_record.schema_format = :sql
36
+
37
+ # Print deprecation notices to the stderr
38
+ config.active_support.deprecation = :stderr
39
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ Dummy::Application.config.secret_token = 'da8dddddfe51c2ba89a4c3527495e2ccbb170cfd38381a4f32f2a5bbfc79fc6a6f5f0f9fef4c6436fc93281c04c01961e21f44c092886cbb31c770e24ad95d38'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # Dummy::Application.config.session_store :active_record_store
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,20 @@
1
+ development:
2
+ host: localhost
3
+ database: dummy_development
4
+
5
+ test:
6
+ host: localhost
7
+ database: dummy_test
8
+
9
+ # set these environment variables on your prod server
10
+ production:
11
+ host: <%= ENV['MONGOID_HOST'] %>
12
+ port: <%= ENV['MONGOID_PORT'] %>
13
+ username: <%= ENV['MONGOID_USERNAME'] %>
14
+ password: <%= ENV['MONGOID_PASSWORD'] %>
15
+ database: <%= ENV['MONGOID_DATABASE'] %>
16
+ # slaves:
17
+ # - host: slave1.local
18
+ # port: 27018
19
+ # - host: slave2.local
20
+ # port: 27019
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ match '/:unique_key' => 'mongoid_shortener/shortened_urls#translate', :via => :get, :constraints => { :unique_key => "~.+" }
3
+ end
@@ -0,0 +1,6 @@
1
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2
+ MONGODB admin['$cmd'].find({:ismaster=>1})
3
+ MONGODB admin['$cmd'].find({:ismaster=>1})
4
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
5
+ MONGODB admin['$cmd'].find({:ismaster=>1})
6
+ MONGODB admin['$cmd'].find({:ismaster=>1})
@@ -0,0 +1,3498 @@
1
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2
+ MONGODB admin['$cmd'].find({:ismaster=>1})
3
+ MONGODB admin['$cmd'].find({:ismaster=>1})
4
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
5
+ MONGODB admin['$cmd'].find({:ismaster=>1})
6
+ MONGODB admin['$cmd'].find({:ismaster=>1})
7
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
8
+ MONGODB admin['$cmd'].find({:ismaster=>1})
9
+ MONGODB admin['$cmd'].find({:ismaster=>1})
10
+ MONGODB dummy_test['system.namespaces'].find({})
11
+ MONGODB dummy_test['$cmd'].find({:create=>"mongoid_shortener_shortened_urls"})
12
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"ahha"}).sort([[:_id, :asc]])
13
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
14
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
15
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
16
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
17
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
18
+ MONGODB admin['$cmd'].find({:ismaster=>1})
19
+ MONGODB admin['$cmd'].find({:ismaster=>1})
20
+ MONGODB dummy_test['system.namespaces'].find({})
21
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"ahha"}).sort([[:_id, :asc]])
22
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
23
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
24
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
25
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
26
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
27
+ MONGODB admin['$cmd'].find({:ismaster=>1})
28
+ MONGODB admin['$cmd'].find({:ismaster=>1})
29
+ MONGODB dummy_test['system.namespaces'].find({})
30
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"ahha"}).sort([[:_id, :asc]])
31
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
32
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
33
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
34
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
35
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
36
+ MONGODB admin['$cmd'].find({:ismaster=>1})
37
+ MONGODB admin['$cmd'].find({:ismaster=>1})
38
+ MONGODB dummy_test['system.namespaces'].find({})
39
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"ahha"}).sort([[:_id, :asc]])
40
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
41
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
42
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
43
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
44
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
45
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
46
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
47
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
48
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
49
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae0c4df3e7ed448000002'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:37:40 UTC, "created_at"=>2011-11-21 23:37:40 UTC}])
50
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
51
+ MONGODB admin['$cmd'].find({:ismaster=>1})
52
+ MONGODB admin['$cmd'].find({:ismaster=>1})
53
+ MONGODB dummy_test['system.namespaces'].find({})
54
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"ahha"}).sort([[:_id, :asc]])
55
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
56
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
57
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
58
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
59
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
60
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"google.com"}).sort([[:_id, :asc]])
61
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
62
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
63
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
64
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
65
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
66
+ MONGODB admin['$cmd'].find({:ismaster=>1})
67
+ MONGODB admin['$cmd'].find({:ismaster=>1})
68
+ MONGODB dummy_test['system.namespaces'].find({})
69
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"ahha"}).sort([[:_id, :asc]])
70
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
71
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
72
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
73
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
74
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
75
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
76
+ MONGODB admin['$cmd'].find({:ismaster=>1})
77
+ MONGODB admin['$cmd'].find({:ismaster=>1})
78
+ MONGODB dummy_test['system.namespaces'].find({})
79
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"ahha"}).sort([[:_id, :asc]])
80
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
81
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
82
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
83
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
84
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
85
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"google.com"}).sort([[:_id, :asc]])
86
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
87
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
88
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
89
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
90
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
91
+ MONGODB admin['$cmd'].find({:ismaster=>1})
92
+ MONGODB admin['$cmd'].find({:ismaster=>1})
93
+ MONGODB dummy_test['system.namespaces'].find({})
94
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
95
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
96
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
97
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
98
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
99
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
100
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
101
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
102
+ MONGODB admin['$cmd'].find({:ismaster=>1})
103
+ MONGODB admin['$cmd'].find({:ismaster=>1})
104
+ MONGODB dummy_test['system.namespaces'].find({})
105
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
106
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
107
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
108
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
109
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
110
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
111
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
112
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
113
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
114
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
115
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
116
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
117
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
118
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
119
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae2d2df3e7ed496000002'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:46:26 UTC, "created_at"=>2011-11-21 23:46:26 UTC}])
120
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
121
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
122
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
123
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
124
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
125
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
126
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
127
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae2d2df3e7ed496000003'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:46:26 UTC, "created_at"=>2011-11-21 23:46:26 UTC}])
128
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
129
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
130
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
131
+ MONGODB admin['$cmd'].find({:ismaster=>1})
132
+ MONGODB admin['$cmd'].find({:ismaster=>1})
133
+ MONGODB dummy_test['system.namespaces'].find({})
134
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
135
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
136
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
137
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
138
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
139
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
140
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
141
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
142
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
143
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
144
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
145
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
146
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
147
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
148
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae2eedf3e7ed4a0000002'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:46:54 UTC, "created_at"=>2011-11-21 23:46:54 UTC}])
149
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
150
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
151
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
152
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
153
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
154
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
155
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
156
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae2eedf3e7ed4a0000003'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:46:54 UTC, "created_at"=>2011-11-21 23:46:54 UTC}])
157
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
158
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
159
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
160
+ MONGODB admin['$cmd'].find({:ismaster=>1})
161
+ MONGODB admin['$cmd'].find({:ismaster=>1})
162
+ MONGODB dummy_test['system.namespaces'].find({})
163
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
164
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
165
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
166
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
167
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
168
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
169
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
170
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
171
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
172
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
173
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
174
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
175
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
176
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
177
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae30fdf3e7ed4aa000002'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:47:27 UTC, "created_at"=>2011-11-21 23:47:27 UTC}])
178
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
179
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
180
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
181
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
182
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
183
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
184
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
185
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae30fdf3e7ed4aa000003'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:47:27 UTC, "created_at"=>2011-11-21 23:47:27 UTC}])
186
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
187
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
188
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
189
+ MONGODB admin['$cmd'].find({:ismaster=>1})
190
+ MONGODB admin['$cmd'].find({:ismaster=>1})
191
+ MONGODB dummy_test['system.namespaces'].find({})
192
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
193
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
194
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
195
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
196
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
197
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
198
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
199
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae33bdf3e7ed4b4000001'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:48:11 UTC, "created_at"=>2011-11-21 23:48:11 UTC}])
200
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
201
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
202
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
203
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
204
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
205
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
206
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
207
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
208
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
209
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
210
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
211
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
212
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
213
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
214
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
215
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae33bdf3e7ed4b4000003'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:48:11 UTC, "created_at"=>2011-11-21 23:48:11 UTC}])
216
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
217
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
218
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
219
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
220
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
221
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
222
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
223
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae33bdf3e7ed4b4000004'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:48:11 UTC, "created_at"=>2011-11-21 23:48:11 UTC}])
224
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
225
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
226
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
227
+ MONGODB admin['$cmd'].find({:ismaster=>1})
228
+ MONGODB admin['$cmd'].find({:ismaster=>1})
229
+ MONGODB dummy_test['system.namespaces'].find({})
230
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
231
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
232
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
233
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
234
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
235
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
236
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
237
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae34adf3e7ed4be000001'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:48:26 UTC, "created_at"=>2011-11-21 23:48:26 UTC}])
238
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
239
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
240
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
241
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
242
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
243
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
244
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
245
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
246
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
247
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
248
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
249
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
250
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
251
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
252
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
253
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae34adf3e7ed4be000003'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:48:26 UTC, "created_at"=>2011-11-21 23:48:26 UTC}])
254
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
255
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
256
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
257
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
258
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
259
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
260
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
261
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae34adf3e7ed4be000004'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:48:26 UTC, "created_at"=>2011-11-21 23:48:26 UTC}])
262
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
263
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
264
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
265
+ MONGODB admin['$cmd'].find({:ismaster=>1})
266
+ MONGODB admin['$cmd'].find({:ismaster=>1})
267
+ MONGODB dummy_test['system.namespaces'].find({})
268
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
269
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
270
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
271
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
272
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
273
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
274
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
275
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae366df3e7ed4c8000001'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:48:54 UTC, "created_at"=>2011-11-21 23:48:54 UTC}])
276
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
277
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
278
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
279
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
280
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
281
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
282
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
283
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
284
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
285
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
286
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
287
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
288
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
289
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
290
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
291
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae366df3e7ed4c8000003'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:48:54 UTC, "created_at"=>2011-11-21 23:48:54 UTC}])
292
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
293
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
294
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
295
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
296
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
297
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae366df3e7ed4c8000004'), "unique_key"=>"1", "updated_at"=>2011-11-21 23:48:54 UTC, "created_at"=>2011-11-21 23:48:54 UTC}])
298
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
299
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
300
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
301
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
302
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
303
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
304
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
305
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae366df3e7ed4c8000005'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:48:54 UTC, "created_at"=>2011-11-21 23:48:54 UTC}])
306
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
307
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
308
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
309
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
310
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
311
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
312
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
313
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae366df3e7ed4c8000006'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:48:54 UTC, "created_at"=>2011-11-21 23:48:54 UTC}])
314
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
315
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
316
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
317
+ MONGODB admin['$cmd'].find({:ismaster=>1})
318
+ MONGODB admin['$cmd'].find({:ismaster=>1})
319
+ MONGODB dummy_test['system.namespaces'].find({})
320
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
321
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
322
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
323
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
324
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
325
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
326
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
327
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae3addf3e7ed4d2000001'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:50:05 UTC, "created_at"=>2011-11-21 23:50:05 UTC}])
328
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
329
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
330
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
331
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
332
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
333
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
334
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
335
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
336
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
337
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
338
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
339
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
340
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
341
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
342
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
343
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
344
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
345
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae3addf3e7ed4d2000003'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:50:05 UTC, "created_at"=>2011-11-21 23:50:05 UTC}])
346
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
347
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
348
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
349
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
350
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
351
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
352
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
353
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae3addf3e7ed4d2000004'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:50:05 UTC, "created_at"=>2011-11-21 23:50:05 UTC}])
354
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
355
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
356
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
357
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
358
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
359
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
360
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
361
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae3addf3e7ed4d2000005'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:50:05 UTC, "created_at"=>2011-11-21 23:50:05 UTC}])
362
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
363
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
364
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
365
+ MONGODB admin['$cmd'].find({:ismaster=>1})
366
+ MONGODB admin['$cmd'].find({:ismaster=>1})
367
+ MONGODB dummy_test['system.namespaces'].find({})
368
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
369
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
370
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
371
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
372
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
373
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
374
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
375
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae3d1df3e7ed4dc000001'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:50:41 UTC, "created_at"=>2011-11-21 23:50:41 UTC}])
376
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
377
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
378
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
379
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
380
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
381
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
382
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
383
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
384
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
385
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
386
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
387
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
388
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
389
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
390
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
391
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
392
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
393
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae3d1df3e7ed4dc000003'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:50:41 UTC, "created_at"=>2011-11-21 23:50:41 UTC}])
394
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
395
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
396
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
397
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
398
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
399
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae3d1df3e7ed4dc000004'), "unique_key"=>"1", "updated_at"=>2011-11-21 23:50:41 UTC, "created_at"=>2011-11-21 23:50:41 UTC}])
400
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
401
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
402
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
403
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
404
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
405
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
406
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
407
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae3d1df3e7ed4dc000005'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:50:41 UTC, "created_at"=>2011-11-21 23:50:41 UTC}])
408
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
409
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
410
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
411
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
412
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
413
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
414
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
415
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae3d1df3e7ed4dc000006'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:50:41 UTC, "created_at"=>2011-11-21 23:50:41 UTC}])
416
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
417
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
418
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
419
+ MONGODB admin['$cmd'].find({:ismaster=>1})
420
+ MONGODB admin['$cmd'].find({:ismaster=>1})
421
+ MONGODB dummy_test['system.namespaces'].find({})
422
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
423
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
424
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
425
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
426
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
427
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
428
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
429
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae3f2df3e7ed4e6000001'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:51:14 UTC, "created_at"=>2011-11-21 23:51:14 UTC}])
430
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
431
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
432
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
433
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
434
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
435
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
436
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
437
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
438
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae3f2df3e7ed4e6000002'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:51:14 UTC, "created_at"=>2011-11-21 23:51:14 UTC}])
439
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
440
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
441
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
442
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
443
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
444
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
445
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
446
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
447
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
448
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
449
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
450
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
451
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
452
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
453
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae3f3df3e7ed4e6000004'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:51:15 UTC, "created_at"=>2011-11-21 23:51:15 UTC}])
454
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
455
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
456
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
457
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
458
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
459
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae3f3df3e7ed4e6000005'), "unique_key"=>"1", "updated_at"=>2011-11-21 23:51:15 UTC, "created_at"=>2011-11-21 23:51:15 UTC}])
460
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
461
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
462
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
463
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
464
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
465
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
466
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
467
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae3f3df3e7ed4e6000006'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:51:15 UTC, "created_at"=>2011-11-21 23:51:15 UTC}])
468
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
469
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
470
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
471
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
472
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
473
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
474
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
475
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae3f3df3e7ed4e6000007'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:51:15 UTC, "created_at"=>2011-11-21 23:51:15 UTC}])
476
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
477
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
478
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
479
+ MONGODB admin['$cmd'].find({:ismaster=>1})
480
+ MONGODB admin['$cmd'].find({:ismaster=>1})
481
+ MONGODB dummy_test['system.namespaces'].find({})
482
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
483
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
484
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
485
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
486
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
487
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
488
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
489
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae480df3e7ed4f0000001'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:53:36 UTC, "created_at"=>2011-11-21 23:53:36 UTC}])
490
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
491
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
492
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
493
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
494
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
495
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
496
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
497
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
498
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae481df3e7ed4f0000002'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:53:37 UTC, "created_at"=>2011-11-21 23:53:37 UTC}])
499
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
500
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
501
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
502
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
503
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
504
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
505
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
506
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
507
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
508
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
509
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
510
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
511
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
512
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
513
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae481df3e7ed4f0000004'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:53:37 UTC, "created_at"=>2011-11-21 23:53:37 UTC}])
514
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
515
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
516
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
517
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
518
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
519
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae481df3e7ed4f0000005'), "unique_key"=>"1", "updated_at"=>2011-11-21 23:53:37 UTC, "created_at"=>2011-11-21 23:53:37 UTC}])
520
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
521
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
522
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
523
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
524
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
525
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
526
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
527
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae481df3e7ed4f0000006'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:53:37 UTC, "created_at"=>2011-11-21 23:53:37 UTC}])
528
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
529
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
530
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
531
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
532
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
533
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
534
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
535
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae481df3e7ed4f0000007'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:53:37 UTC, "created_at"=>2011-11-21 23:53:37 UTC}])
536
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
537
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
538
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
539
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
540
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
541
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
542
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
543
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae481df3e7ed4f0000008'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:53:37 UTC, "created_at"=>2011-11-21 23:53:37 UTC}])
544
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
545
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
546
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
547
+ MONGODB admin['$cmd'].find({:ismaster=>1})
548
+ MONGODB admin['$cmd'].find({:ismaster=>1})
549
+ MONGODB dummy_test['system.namespaces'].find({})
550
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
551
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
552
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
553
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
554
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
555
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
556
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
557
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4a0df3e7ed4fa000001'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:54:08 UTC, "created_at"=>2011-11-21 23:54:08 UTC}])
558
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
559
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
560
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
561
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
562
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
563
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
564
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
565
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
566
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae4a0df3e7ed4fa000002'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:54:08 UTC, "created_at"=>2011-11-21 23:54:08 UTC}])
567
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
568
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
569
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
570
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
571
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
572
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
573
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
574
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
575
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
576
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
577
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
578
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
579
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
580
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
581
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4a0df3e7ed4fa000004'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:54:08 UTC, "created_at"=>2011-11-21 23:54:08 UTC}])
582
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
583
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
584
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
585
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
586
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
587
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae4a0df3e7ed4fa000005'), "unique_key"=>"1", "updated_at"=>2011-11-21 23:54:08 UTC, "created_at"=>2011-11-21 23:54:08 UTC}])
588
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
589
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
590
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
591
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
592
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
593
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
594
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
595
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4a0df3e7ed4fa000006'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:54:08 UTC, "created_at"=>2011-11-21 23:54:08 UTC}])
596
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
597
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
598
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
599
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
600
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
601
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
602
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
603
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae4a0df3e7ed4fa000007'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:54:08 UTC, "created_at"=>2011-11-21 23:54:08 UTC}])
604
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
605
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
606
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
607
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
608
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
609
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
610
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
611
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
612
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
613
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
614
+ MONGODB admin['$cmd'].find({:ismaster=>1})
615
+ MONGODB admin['$cmd'].find({:ismaster=>1})
616
+ MONGODB dummy_test['system.namespaces'].find({})
617
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
618
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
619
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
620
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
621
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
622
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
623
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
624
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4cbdf3e7ed504000001'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:54:51 UTC, "created_at"=>2011-11-21 23:54:51 UTC}])
625
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
626
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
627
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
628
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
629
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
630
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
631
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
632
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
633
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae4cbdf3e7ed504000002'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:54:51 UTC, "created_at"=>2011-11-21 23:54:51 UTC}])
634
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
635
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
636
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
637
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
638
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
639
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
640
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
641
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
642
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
643
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
644
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
645
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
646
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
647
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
648
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4cbdf3e7ed504000004'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:54:51 UTC, "created_at"=>2011-11-21 23:54:51 UTC}])
649
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
650
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
651
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
652
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
653
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
654
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae4cbdf3e7ed504000005'), "unique_key"=>"1", "updated_at"=>2011-11-21 23:54:51 UTC, "created_at"=>2011-11-21 23:54:51 UTC}])
655
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
656
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
657
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
658
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
659
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
660
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
661
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
662
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4cbdf3e7ed504000006'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:54:51 UTC, "created_at"=>2011-11-21 23:54:51 UTC}])
663
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
664
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
665
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
666
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
667
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
668
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
669
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
670
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae4cbdf3e7ed504000007'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:54:51 UTC, "created_at"=>2011-11-21 23:54:51 UTC}])
671
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
672
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
673
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
674
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
675
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
676
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
677
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
678
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
679
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
680
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
681
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
682
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
683
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
684
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
685
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4cbdf3e7ed504000009'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:54:51 UTC, "created_at"=>2011-11-21 23:54:51 UTC}])
686
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
687
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
688
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
689
+ MONGODB admin['$cmd'].find({:ismaster=>1})
690
+ MONGODB admin['$cmd'].find({:ismaster=>1})
691
+ MONGODB dummy_test['system.namespaces'].find({})
692
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
693
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
694
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
695
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
696
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
697
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
698
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
699
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4e1df3e7ed50f000001'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:55:13 UTC, "created_at"=>2011-11-21 23:55:13 UTC}])
700
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
701
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
702
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
703
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
704
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
705
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
706
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
707
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
708
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae4e1df3e7ed50f000002'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:55:13 UTC, "created_at"=>2011-11-21 23:55:13 UTC}])
709
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
710
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
711
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
712
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
713
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
714
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
715
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
716
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
717
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
718
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
719
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
720
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
721
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
722
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
723
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4e1df3e7ed50f000004'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:55:13 UTC, "created_at"=>2011-11-21 23:55:13 UTC}])
724
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
725
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
726
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
727
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
728
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
729
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae4e1df3e7ed50f000005'), "unique_key"=>"1", "updated_at"=>2011-11-21 23:55:13 UTC, "created_at"=>2011-11-21 23:55:13 UTC}])
730
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
731
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
732
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
733
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
734
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
735
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
736
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
737
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4e1df3e7ed50f000006'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:55:13 UTC, "created_at"=>2011-11-21 23:55:13 UTC}])
738
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
739
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
740
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
741
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
742
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
743
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
744
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
745
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecae4e1df3e7ed50f000007'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:55:13 UTC, "created_at"=>2011-11-21 23:55:13 UTC}])
746
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
747
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
748
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
749
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
750
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
751
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
752
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
753
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
754
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
755
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
756
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
757
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
758
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
759
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
760
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4e1df3e7ed50f000009'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:55:13 UTC, "created_at"=>2011-11-21 23:55:13 UTC}])
761
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
762
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
763
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
764
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
765
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
766
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
767
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
768
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
769
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecae4e1df3e7ed50f00000a'), "unique_key"=>"0", "updated_at"=>2011-11-21 23:55:13 UTC, "created_at"=>2011-11-21 23:55:13 UTC}])
770
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
771
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
772
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
773
+ MONGODB admin['$cmd'].find({:ismaster=>1})
774
+ MONGODB admin['$cmd'].find({:ismaster=>1})
775
+ MONGODB dummy_test['system.namespaces'].find({})
776
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
777
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
778
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
779
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
780
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
781
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
782
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
783
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa32df3e7edb46000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:10 UTC, "created_at"=>2011-11-22 01:26:10 UTC}])
784
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
785
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
786
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
787
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
788
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
789
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
790
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
791
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
792
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafa32df3e7edb46000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:10 UTC, "created_at"=>2011-11-22 01:26:10 UTC}])
793
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
794
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
795
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
796
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
797
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
798
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
799
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
800
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
801
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
802
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
803
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
804
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
805
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
806
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
807
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa32df3e7edb46000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:10 UTC, "created_at"=>2011-11-22 01:26:10 UTC}])
808
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
809
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
810
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
811
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
812
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
813
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafa32df3e7edb46000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:26:10 UTC, "created_at"=>2011-11-22 01:26:10 UTC}])
814
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
815
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
816
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
817
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
818
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
819
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
820
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
821
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa32df3e7edb46000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:10 UTC, "created_at"=>2011-11-22 01:26:10 UTC}])
822
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
823
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
824
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
825
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
826
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
827
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
828
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
829
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafa32df3e7edb46000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:10 UTC, "created_at"=>2011-11-22 01:26:10 UTC}])
830
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
831
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
832
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
833
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
834
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
835
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
836
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
837
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
838
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
839
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa32df3e7edb46000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:10 UTC, "created_at"=>2011-11-22 01:26:10 UTC}])
840
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
841
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
842
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
843
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
844
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
845
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
846
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
847
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
848
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa32df3e7edb46000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:10 UTC, "created_at"=>2011-11-22 01:26:10 UTC}])
849
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
850
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
851
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
852
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
853
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
854
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
855
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
856
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
857
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
858
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
859
+ MONGODB admin['$cmd'].find({:ismaster=>1})
860
+ MONGODB admin['$cmd'].find({:ismaster=>1})
861
+ MONGODB dummy_test['system.namespaces'].find({})
862
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
863
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
864
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
865
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
866
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
867
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
868
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
869
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa59df3e7edb54000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:49 UTC, "created_at"=>2011-11-22 01:26:49 UTC}])
870
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
871
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
872
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
873
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
874
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
875
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
876
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
877
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
878
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafa59df3e7edb54000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:49 UTC, "created_at"=>2011-11-22 01:26:49 UTC}])
879
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
880
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
881
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
882
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
883
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
884
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
885
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
886
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
887
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
888
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
889
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
890
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
891
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
892
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
893
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa59df3e7edb54000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:49 UTC, "created_at"=>2011-11-22 01:26:49 UTC}])
894
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
895
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
896
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
897
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
898
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
899
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafa59df3e7edb54000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:26:49 UTC, "created_at"=>2011-11-22 01:26:49 UTC}])
900
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
901
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
902
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
903
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
904
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
905
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
906
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
907
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa59df3e7edb54000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:49 UTC, "created_at"=>2011-11-22 01:26:49 UTC}])
908
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
909
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
910
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
911
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
912
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
913
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
914
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
915
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafa59df3e7edb54000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:49 UTC, "created_at"=>2011-11-22 01:26:49 UTC}])
916
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
917
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
918
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
919
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
920
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
921
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
922
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
923
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
924
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
925
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa59df3e7edb54000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:49 UTC, "created_at"=>2011-11-22 01:26:49 UTC}])
926
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
927
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
928
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
929
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
930
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
931
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
932
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
933
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
934
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa59df3e7edb54000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:26:49 UTC, "created_at"=>2011-11-22 01:26:49 UTC}])
935
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
936
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
937
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
938
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
939
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
940
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
941
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
942
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
943
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
944
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
945
+ MONGODB admin['$cmd'].find({:ismaster=>1})
946
+ MONGODB admin['$cmd'].find({:ismaster=>1})
947
+ MONGODB dummy_test['system.namespaces'].find({})
948
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
949
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
950
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
951
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
952
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
953
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
954
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
955
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa76df3e7edb6e000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:27:18 UTC, "created_at"=>2011-11-22 01:27:18 UTC}])
956
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
957
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
958
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
959
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
960
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
961
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
962
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
963
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
964
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafa76df3e7edb6e000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:27:18 UTC, "created_at"=>2011-11-22 01:27:18 UTC}])
965
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
966
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
967
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
968
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
969
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
970
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
971
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
972
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
973
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
974
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
975
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
976
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
977
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
978
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
979
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa76df3e7edb6e000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:27:18 UTC, "created_at"=>2011-11-22 01:27:18 UTC}])
980
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
981
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
982
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
983
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
984
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
985
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafa76df3e7edb6e000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:27:18 UTC, "created_at"=>2011-11-22 01:27:18 UTC}])
986
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
987
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
988
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
989
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
990
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
991
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
992
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
993
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa76df3e7edb6e000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:27:18 UTC, "created_at"=>2011-11-22 01:27:18 UTC}])
994
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
995
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
996
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
997
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
998
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
999
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1000
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1001
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafa76df3e7edb6e000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:27:18 UTC, "created_at"=>2011-11-22 01:27:18 UTC}])
1002
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1003
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1004
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1005
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1006
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1007
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1008
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1009
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1010
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1011
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa76df3e7edb6e000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:27:18 UTC, "created_at"=>2011-11-22 01:27:18 UTC}])
1012
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1013
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1014
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1015
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1016
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1017
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1018
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1019
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1020
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafa76df3e7edb6e000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:27:18 UTC, "created_at"=>2011-11-22 01:27:18 UTC}])
1021
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1022
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1023
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1024
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1025
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1026
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1027
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1028
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1029
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1030
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1031
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1032
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1033
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1034
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1035
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1036
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1037
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1038
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1039
+ MONGODB dummy_test['system.namespaces'].find({})
1040
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1041
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1042
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1043
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1044
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1045
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1046
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1047
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafb3bdf3e7edbdd000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:30:35 UTC, "created_at"=>2011-11-22 01:30:35 UTC}])
1048
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1049
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1050
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1051
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1052
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1053
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1054
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1055
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1056
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafb3bdf3e7edbdd000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:30:35 UTC, "created_at"=>2011-11-22 01:30:35 UTC}])
1057
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1058
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1059
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
1060
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1061
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1062
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
1063
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1064
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1065
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1066
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1067
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1068
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1069
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1070
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1071
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafb3bdf3e7edbdd000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:30:35 UTC, "created_at"=>2011-11-22 01:30:35 UTC}])
1072
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1073
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1074
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
1075
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1076
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
1077
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafb3bdf3e7edbdd000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:30:35 UTC, "created_at"=>2011-11-22 01:30:35 UTC}])
1078
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1079
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1080
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1081
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1082
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1083
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1084
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1085
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafb3bdf3e7edbdd000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:30:35 UTC, "created_at"=>2011-11-22 01:30:35 UTC}])
1086
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1087
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1088
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1089
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1090
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1091
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1092
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1093
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafb3bdf3e7edbdd000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:30:35 UTC, "created_at"=>2011-11-22 01:30:35 UTC}])
1094
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1095
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1096
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1097
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1098
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1099
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1100
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1101
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1102
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1103
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafb3bdf3e7edbdd000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:30:35 UTC, "created_at"=>2011-11-22 01:30:35 UTC}])
1104
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1105
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1106
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1107
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1108
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1109
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1110
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1111
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1112
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafb3bdf3e7edbdd000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:30:35 UTC, "created_at"=>2011-11-22 01:30:35 UTC}])
1113
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1114
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1115
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1116
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1117
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1118
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1119
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1120
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1121
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1122
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1123
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1124
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1125
+ MONGODB dummy_test['system.namespaces'].find({})
1126
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1127
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1128
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1129
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1130
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1131
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1132
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1133
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafbc6df3e7edc6f000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:32:54 UTC, "created_at"=>2011-11-22 01:32:54 UTC}])
1134
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1135
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1136
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1137
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1138
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1139
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1140
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1141
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1142
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafbc6df3e7edc6f000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:32:54 UTC, "created_at"=>2011-11-22 01:32:54 UTC}])
1143
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1144
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1145
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
1146
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1147
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1148
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
1149
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1150
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1151
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1152
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1153
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1154
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1155
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1156
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1157
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafbc6df3e7edc6f000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:32:54 UTC, "created_at"=>2011-11-22 01:32:54 UTC}])
1158
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1159
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1160
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
1161
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1162
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
1163
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafbc6df3e7edc6f000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:32:54 UTC, "created_at"=>2011-11-22 01:32:54 UTC}])
1164
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1165
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1166
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1167
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1168
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1169
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1170
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1171
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafbc6df3e7edc6f000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:32:54 UTC, "created_at"=>2011-11-22 01:32:54 UTC}])
1172
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1173
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1174
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1175
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1176
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1177
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1178
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1179
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafbc6df3e7edc6f000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:32:54 UTC, "created_at"=>2011-11-22 01:32:54 UTC}])
1180
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1181
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1182
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1183
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1184
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1185
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1186
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1187
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1188
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1189
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafbc6df3e7edc6f000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:32:54 UTC, "created_at"=>2011-11-22 01:32:54 UTC}])
1190
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1191
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1192
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1193
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1194
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1195
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1196
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1197
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1198
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafbc6df3e7edc6f000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:32:54 UTC, "created_at"=>2011-11-22 01:32:54 UTC}])
1199
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1200
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1201
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1202
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1203
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1204
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1205
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1206
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1207
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1208
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1209
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1210
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1211
+ MONGODB dummy_test['system.namespaces'].find({})
1212
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1213
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1214
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1215
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1216
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1217
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1218
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1219
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafbfcdf3e7edc7f000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:33:48 UTC, "created_at"=>2011-11-22 01:33:48 UTC}])
1220
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1221
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1222
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1223
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1224
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1225
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1226
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1227
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1228
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafbfcdf3e7edc7f000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:33:48 UTC, "created_at"=>2011-11-22 01:33:48 UTC}])
1229
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1230
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1231
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
1232
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1233
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1234
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
1235
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1236
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1237
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1238
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1239
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1240
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1241
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1242
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1243
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafbfcdf3e7edc7f000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:33:48 UTC, "created_at"=>2011-11-22 01:33:48 UTC}])
1244
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1245
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1246
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
1247
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1248
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
1249
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafbfcdf3e7edc7f000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:33:48 UTC, "created_at"=>2011-11-22 01:33:48 UTC}])
1250
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1251
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1252
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1253
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1254
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1255
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1256
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1257
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafbfcdf3e7edc7f000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:33:48 UTC, "created_at"=>2011-11-22 01:33:48 UTC}])
1258
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1259
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1260
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1261
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1262
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1263
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1264
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1265
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafbfcdf3e7edc7f000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:33:48 UTC, "created_at"=>2011-11-22 01:33:48 UTC}])
1266
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1267
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1268
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1269
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1270
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1271
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1272
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1273
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1274
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1275
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafbfcdf3e7edc7f000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:33:48 UTC, "created_at"=>2011-11-22 01:33:48 UTC}])
1276
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1277
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1278
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1279
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1280
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1281
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1282
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1283
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1284
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafbfcdf3e7edc7f000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:33:48 UTC, "created_at"=>2011-11-22 01:33:48 UTC}])
1285
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1286
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1287
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1288
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1289
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1290
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1291
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1292
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1293
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1294
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1295
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1296
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1297
+ MONGODB dummy_test['system.namespaces'].find({})
1298
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1299
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1300
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1301
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1302
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1303
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1304
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1305
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafca9df3e7edc99000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:36:41 UTC, "created_at"=>2011-11-22 01:36:41 UTC}])
1306
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1307
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1308
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1309
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1310
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1311
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1312
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1313
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1314
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafca9df3e7edc99000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:36:41 UTC, "created_at"=>2011-11-22 01:36:41 UTC}])
1315
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1316
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1317
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
1318
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1319
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1320
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
1321
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1322
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1323
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1324
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1325
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1326
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1327
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1328
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1329
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafca9df3e7edc99000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:36:41 UTC, "created_at"=>2011-11-22 01:36:41 UTC}])
1330
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1331
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1332
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
1333
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1334
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
1335
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafca9df3e7edc99000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:36:41 UTC, "created_at"=>2011-11-22 01:36:41 UTC}])
1336
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1337
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1338
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1339
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1340
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1341
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1342
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1343
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafca9df3e7edc99000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:36:41 UTC, "created_at"=>2011-11-22 01:36:41 UTC}])
1344
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1345
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1346
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1347
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1348
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1349
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1350
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1351
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafca9df3e7edc99000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:36:41 UTC, "created_at"=>2011-11-22 01:36:41 UTC}])
1352
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1353
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1354
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
1355
+ Parameters: {"unique_key"=>"123"}
1356
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
1357
+ Completed 500 Internal Server Error in 13ms
1358
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1359
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1360
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1361
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1362
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1363
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1364
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1365
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafca9df3e7edc99000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:36:41 UTC, "created_at"=>2011-11-22 01:36:41 UTC}])
1366
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1367
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1368
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1369
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1370
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1371
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1372
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1373
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1374
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafca9df3e7edc99000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:36:41 UTC, "created_at"=>2011-11-22 01:36:41 UTC}])
1375
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1376
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1377
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1378
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1379
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1380
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1381
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1382
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1383
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1384
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1385
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1386
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1387
+ MONGODB dummy_test['system.namespaces'].find({})
1388
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1389
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1390
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1391
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1392
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1393
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1394
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1395
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafda3df3e7edcc3000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:40:51 UTC, "created_at"=>2011-11-22 01:40:51 UTC}])
1396
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1397
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1398
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1399
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1400
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1401
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1402
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1403
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1404
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafda3df3e7edcc3000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:40:51 UTC, "created_at"=>2011-11-22 01:40:51 UTC}])
1405
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1406
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1407
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
1408
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1409
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1410
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
1411
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1412
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1413
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1414
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1415
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1416
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1417
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1418
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1419
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafda3df3e7edcc3000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:40:51 UTC, "created_at"=>2011-11-22 01:40:51 UTC}])
1420
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1421
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1422
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
1423
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1424
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
1425
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafda3df3e7edcc3000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:40:51 UTC, "created_at"=>2011-11-22 01:40:51 UTC}])
1426
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1427
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1428
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1429
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1430
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1431
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1432
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1433
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafda3df3e7edcc3000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:40:51 UTC, "created_at"=>2011-11-22 01:40:51 UTC}])
1434
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1435
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1436
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1437
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1438
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1439
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1440
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1441
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafda3df3e7edcc3000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:40:51 UTC, "created_at"=>2011-11-22 01:40:51 UTC}])
1442
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1443
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1444
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
1445
+ Parameters: {"unique_key"=>"123"}
1446
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
1447
+ Completed 500 Internal Server Error in 13ms
1448
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1449
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1450
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1451
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1452
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1453
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1454
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1455
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafda4df3e7edcc3000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:40:52 UTC, "created_at"=>2011-11-22 01:40:52 UTC}])
1456
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1457
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1458
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1459
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1460
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1461
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1462
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1463
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1464
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafda4df3e7edcc3000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:40:52 UTC, "created_at"=>2011-11-22 01:40:52 UTC}])
1465
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1466
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1467
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1468
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1469
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1470
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1471
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1472
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1473
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1474
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1475
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1476
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1477
+ MONGODB dummy_test['system.namespaces'].find({})
1478
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1479
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1480
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1481
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1482
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1483
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1484
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1485
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafdcbdf3e7edcd9000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:41:31 UTC, "created_at"=>2011-11-22 01:41:31 UTC}])
1486
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1487
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1488
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1489
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1490
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1491
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1492
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1493
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafdcbdf3e7edcd9000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:41:31 UTC, "created_at"=>2011-11-22 01:41:31 UTC}])
1494
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1495
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1496
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
1497
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1498
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1499
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
1500
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1501
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1502
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1503
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1504
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1505
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1506
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1507
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1508
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafdcbdf3e7edcd9000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:41:31 UTC, "created_at"=>2011-11-22 01:41:31 UTC}])
1509
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1510
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1511
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1512
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1513
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1514
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1515
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1516
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafdcbdf3e7edcd9000005'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:41:31 UTC, "created_at"=>2011-11-22 01:41:31 UTC}])
1517
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1518
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1519
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1520
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1521
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1522
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1523
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1524
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafdcbdf3e7edcd9000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:41:31 UTC, "created_at"=>2011-11-22 01:41:31 UTC}])
1525
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1526
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1527
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
1528
+ Parameters: {"unique_key"=>"123"}
1529
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
1530
+ Completed 500 Internal Server Error in 13ms
1531
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1532
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1533
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1534
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1535
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1536
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1537
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1538
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafdcbdf3e7edcd9000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:41:31 UTC, "created_at"=>2011-11-22 01:41:31 UTC}])
1539
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1540
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1541
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1542
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1543
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1544
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1545
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1546
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafdcbdf3e7edcd9000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:41:31 UTC, "created_at"=>2011-11-22 01:41:31 UTC}])
1547
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1548
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1549
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1550
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1551
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1552
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1553
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1554
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1555
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1556
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1557
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1558
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1559
+ MONGODB dummy_test['system.namespaces'].find({})
1560
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1561
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1562
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1563
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1564
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1565
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1566
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1567
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafdffdf3e7edcfb000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:23 UTC, "created_at"=>2011-11-22 01:42:23 UTC}])
1568
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1569
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1570
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1571
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1572
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1573
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1574
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1575
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1576
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafdffdf3e7edcfb000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:23 UTC, "created_at"=>2011-11-22 01:42:23 UTC}])
1577
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1578
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1579
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
1580
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1581
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1582
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
1583
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1584
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1585
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1586
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1587
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1588
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1589
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1590
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1591
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafdffdf3e7edcfb000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:23 UTC, "created_at"=>2011-11-22 01:42:23 UTC}])
1592
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1593
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1594
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
1595
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1596
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
1597
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafdffdf3e7edcfb000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:42:23 UTC, "created_at"=>2011-11-22 01:42:23 UTC}])
1598
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1599
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1600
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1601
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1602
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1603
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1604
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1605
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafdffdf3e7edcfb000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:23 UTC, "created_at"=>2011-11-22 01:42:23 UTC}])
1606
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1607
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1608
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1609
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1610
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1611
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1612
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1613
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafdffdf3e7edcfb000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:23 UTC, "created_at"=>2011-11-22 01:42:23 UTC}])
1614
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1615
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1616
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
1617
+ Parameters: {"unique_key"=>"123"}
1618
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
1619
+ Completed 500 Internal Server Error in 12ms
1620
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1621
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1622
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1623
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1624
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1625
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1626
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1627
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafdffdf3e7edcfb000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:23 UTC, "created_at"=>2011-11-22 01:42:23 UTC}])
1628
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1629
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1630
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1631
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1632
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1633
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1634
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1635
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1636
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafdffdf3e7edcfb000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:23 UTC, "created_at"=>2011-11-22 01:42:23 UTC}])
1637
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1638
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1639
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1640
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1641
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1642
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1643
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1644
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1645
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1646
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1647
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1648
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1649
+ MONGODB dummy_test['system.namespaces'].find({})
1650
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1651
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1652
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1653
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1654
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1655
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1656
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1657
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe1adf3e7edd0d000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:50 UTC, "created_at"=>2011-11-22 01:42:50 UTC}])
1658
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1659
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1660
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1661
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1662
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1663
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1664
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1665
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1666
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe1adf3e7edd0d000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:50 UTC, "created_at"=>2011-11-22 01:42:50 UTC}])
1667
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1668
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1669
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
1670
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1671
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1672
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
1673
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1674
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1675
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1676
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1677
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1678
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1679
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1680
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1681
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe1adf3e7edd0d000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:50 UTC, "created_at"=>2011-11-22 01:42:50 UTC}])
1682
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1683
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1684
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
1685
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1686
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
1687
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe1adf3e7edd0d000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:42:50 UTC, "created_at"=>2011-11-22 01:42:50 UTC}])
1688
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1689
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1690
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1691
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1692
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1693
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1694
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1695
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe1adf3e7edd0d000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:50 UTC, "created_at"=>2011-11-22 01:42:50 UTC}])
1696
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1697
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1698
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1699
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1700
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1701
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1702
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1703
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe1adf3e7edd0d000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:50 UTC, "created_at"=>2011-11-22 01:42:50 UTC}])
1704
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1705
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1706
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
1707
+ Parameters: {"unique_key"=>"123"}
1708
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
1709
+ Completed 301 Moved Permanently in 1ms
1710
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1711
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1712
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1713
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1714
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1715
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1716
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1717
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe1adf3e7edd0d000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:50 UTC, "created_at"=>2011-11-22 01:42:50 UTC}])
1718
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1719
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1720
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1721
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1722
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1723
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1724
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1725
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1726
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe1adf3e7edd0d000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:42:50 UTC, "created_at"=>2011-11-22 01:42:50 UTC}])
1727
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1728
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1729
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1730
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1731
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1732
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1733
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1734
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1735
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1736
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1737
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1738
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1739
+ MONGODB dummy_test['system.namespaces'].find({})
1740
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1741
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1742
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1743
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1744
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1745
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1746
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1747
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe47df3e7edd26000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:35 UTC, "created_at"=>2011-11-22 01:43:35 UTC}])
1748
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1749
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1750
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1751
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1752
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1753
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
1754
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1755
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1756
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
1757
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1758
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1759
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1760
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1761
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1762
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1763
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1764
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1765
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe47df3e7edd26000003'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:35 UTC, "created_at"=>2011-11-22 01:43:35 UTC}])
1766
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1767
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1768
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
1769
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1770
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
1771
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe47df3e7edd26000004'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:43:35 UTC, "created_at"=>2011-11-22 01:43:35 UTC}])
1772
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1773
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1774
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1775
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1776
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1777
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1778
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1779
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe47df3e7edd26000005'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:35 UTC, "created_at"=>2011-11-22 01:43:35 UTC}])
1780
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1781
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1782
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1783
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1784
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1785
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1786
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1787
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe47df3e7edd26000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:35 UTC, "created_at"=>2011-11-22 01:43:35 UTC}])
1788
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1789
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1790
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
1791
+ Parameters: {"unique_key"=>"123"}
1792
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
1793
+ Completed 301 Moved Permanently in 1ms
1794
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1795
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1796
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1797
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1798
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1799
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1800
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1801
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe47df3e7edd26000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:35 UTC, "created_at"=>2011-11-22 01:43:35 UTC}])
1802
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1803
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1804
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1805
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1806
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1807
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1808
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1809
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1810
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe47df3e7edd26000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:35 UTC, "created_at"=>2011-11-22 01:43:35 UTC}])
1811
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1812
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1813
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1814
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1815
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1816
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1817
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1818
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1819
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1820
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1821
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1822
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1823
+ MONGODB dummy_test['system.namespaces'].find({})
1824
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1825
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1826
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1827
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1828
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1829
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1830
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1831
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe59df3e7edd32000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:53 UTC, "created_at"=>2011-11-22 01:43:53 UTC}])
1832
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1833
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1834
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1835
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1836
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1837
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
1838
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1839
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1840
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
1841
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1842
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1843
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1844
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1845
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1846
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1847
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1848
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1849
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe5adf3e7edd32000003'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:54 UTC, "created_at"=>2011-11-22 01:43:54 UTC}])
1850
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1851
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1852
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
1853
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1854
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
1855
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe5adf3e7edd32000004'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:43:54 UTC, "created_at"=>2011-11-22 01:43:54 UTC}])
1856
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1857
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1858
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1859
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1860
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1861
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1862
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1863
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe5adf3e7edd32000005'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:54 UTC, "created_at"=>2011-11-22 01:43:54 UTC}])
1864
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1865
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1866
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1867
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1868
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1869
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1870
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1871
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe5adf3e7edd32000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:54 UTC, "created_at"=>2011-11-22 01:43:54 UTC}])
1872
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1873
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1874
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
1875
+ Parameters: {"unique_key"=>"123"}
1876
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
1877
+ Completed 301 Moved Permanently in 3ms
1878
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1879
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1880
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1881
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1882
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1883
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1884
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1885
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe5adf3e7edd32000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:54 UTC, "created_at"=>2011-11-22 01:43:54 UTC}])
1886
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1887
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1888
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1889
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1890
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1891
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1892
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1893
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1894
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe5adf3e7edd32000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:43:54 UTC, "created_at"=>2011-11-22 01:43:54 UTC}])
1895
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1896
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1897
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1898
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1899
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1900
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1901
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1902
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1903
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1904
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1905
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1906
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1907
+ MONGODB dummy_test['system.namespaces'].find({})
1908
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1909
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1910
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1911
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1912
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1913
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1914
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1915
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe6edf3e7edd42000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:14 UTC, "created_at"=>2011-11-22 01:44:14 UTC}])
1916
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1917
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1918
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1919
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1920
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1921
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
1922
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1923
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1924
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
1925
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1926
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1927
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1928
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1929
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1930
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1931
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1932
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1933
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe6edf3e7edd42000003'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:14 UTC, "created_at"=>2011-11-22 01:44:14 UTC}])
1934
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1935
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1936
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
1937
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1938
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
1939
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe6edf3e7edd42000004'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:44:14 UTC, "created_at"=>2011-11-22 01:44:14 UTC}])
1940
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1941
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1942
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1943
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1944
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1945
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1946
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1947
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe6edf3e7edd42000005'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:14 UTC, "created_at"=>2011-11-22 01:44:14 UTC}])
1948
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1949
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1950
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
1951
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1952
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1953
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
1954
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1955
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe6edf3e7edd42000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:14 UTC, "created_at"=>2011-11-22 01:44:14 UTC}])
1956
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1957
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1958
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
1959
+ Parameters: {"unique_key"=>"123"}
1960
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
1961
+ Completed 301 Moved Permanently in 1ms
1962
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1963
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1964
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1965
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1966
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1967
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1968
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1969
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe6edf3e7edd42000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:14 UTC, "created_at"=>2011-11-22 01:44:14 UTC}])
1970
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1971
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1972
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1973
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1974
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1975
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1976
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1977
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1978
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe6edf3e7edd42000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:14 UTC, "created_at"=>2011-11-22 01:44:14 UTC}])
1979
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1980
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1981
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
1982
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1983
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1984
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
1985
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1986
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1987
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1988
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
1989
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1990
+ MONGODB admin['$cmd'].find({:ismaster=>1})
1991
+ MONGODB dummy_test['system.namespaces'].find({})
1992
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1993
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
1994
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
1995
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
1996
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
1997
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
1998
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
1999
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe7fdf3e7edd58000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:31 UTC, "created_at"=>2011-11-22 01:44:31 UTC}])
2000
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2001
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2002
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2003
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2004
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2005
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2006
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2007
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2008
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe7fdf3e7edd58000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:31 UTC, "created_at"=>2011-11-22 01:44:31 UTC}])
2009
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2010
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2011
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
2012
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2013
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2014
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
2015
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2016
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2017
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2018
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2019
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2020
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2021
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2022
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2023
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe7fdf3e7edd58000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:31 UTC, "created_at"=>2011-11-22 01:44:31 UTC}])
2024
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2025
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2026
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
2027
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2028
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
2029
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe7fdf3e7edd58000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:44:31 UTC, "created_at"=>2011-11-22 01:44:31 UTC}])
2030
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2031
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2032
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2033
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2034
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2035
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2036
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2037
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe7fdf3e7edd58000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:31 UTC, "created_at"=>2011-11-22 01:44:31 UTC}])
2038
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2039
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2040
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2041
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2042
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2043
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2044
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2045
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafe7fdf3e7edd58000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:31 UTC, "created_at"=>2011-11-22 01:44:31 UTC}])
2046
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2047
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2048
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2049
+ Parameters: {"unique_key"=>"123"}
2050
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2051
+ Completed 301 Moved Permanently in 1ms
2052
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2053
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2054
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2055
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2056
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2057
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2058
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2059
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe7fdf3e7edd58000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:31 UTC, "created_at"=>2011-11-22 01:44:31 UTC}])
2060
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2061
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2062
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2063
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2064
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2065
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2066
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2067
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2068
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafe7fdf3e7edd58000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:44:31 UTC, "created_at"=>2011-11-22 01:44:31 UTC}])
2069
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2070
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2071
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
2072
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2073
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2074
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
2075
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2076
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2077
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2078
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2079
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2080
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2081
+ MONGODB dummy_test['system.namespaces'].find({})
2082
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2083
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2084
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2085
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2086
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2087
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2088
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2089
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafecadf3e7edd6e000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:45:46 UTC, "created_at"=>2011-11-22 01:45:46 UTC}])
2090
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2091
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2092
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2093
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2094
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2095
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2096
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2097
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2098
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafecadf3e7edd6e000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:45:46 UTC, "created_at"=>2011-11-22 01:45:46 UTC}])
2099
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2100
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2101
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
2102
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2103
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2104
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
2105
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2106
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2107
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2108
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2109
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2110
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2111
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2112
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2113
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafecadf3e7edd6e000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:45:46 UTC, "created_at"=>2011-11-22 01:45:46 UTC}])
2114
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2115
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2116
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
2117
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2118
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
2119
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafecadf3e7edd6e000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:45:46 UTC, "created_at"=>2011-11-22 01:45:46 UTC}])
2120
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2121
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2122
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2123
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2124
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2125
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2126
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2127
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafecadf3e7edd6e000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:45:46 UTC, "created_at"=>2011-11-22 01:45:46 UTC}])
2128
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2129
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2130
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2131
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2132
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2133
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2134
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2135
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafecadf3e7edd6e000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:45:46 UTC, "created_at"=>2011-11-22 01:45:46 UTC}])
2136
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2137
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2138
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2139
+ Parameters: {"unique_key"=>"123"}
2140
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2141
+ Completed 301 Moved Permanently in 1ms
2142
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2143
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2144
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2145
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2146
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2147
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2148
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2149
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafecadf3e7edd6e000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:45:46 UTC, "created_at"=>2011-11-22 01:45:46 UTC}])
2150
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2151
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2152
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2153
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2154
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2155
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2156
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2157
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2158
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafecadf3e7edd6e000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:45:46 UTC, "created_at"=>2011-11-22 01:45:46 UTC}])
2159
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2160
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2161
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
2162
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2163
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2164
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
2165
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2166
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2167
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2168
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2169
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2170
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2171
+ MONGODB dummy_test['system.namespaces'].find({})
2172
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2173
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2174
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2175
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2176
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2177
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2178
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2179
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafed9df3e7edd7c000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:01 UTC, "created_at"=>2011-11-22 01:46:01 UTC}])
2180
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2181
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2182
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2183
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2184
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2185
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2186
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2187
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2188
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafed9df3e7edd7c000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:01 UTC, "created_at"=>2011-11-22 01:46:01 UTC}])
2189
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2190
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2191
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
2192
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2193
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2194
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
2195
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2196
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2197
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2198
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2199
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2200
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2201
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2202
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2203
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafed9df3e7edd7c000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:01 UTC, "created_at"=>2011-11-22 01:46:01 UTC}])
2204
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2205
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2206
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
2207
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2208
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
2209
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafed9df3e7edd7c000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:46:01 UTC, "created_at"=>2011-11-22 01:46:01 UTC}])
2210
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2211
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2212
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2213
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2214
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2215
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2216
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2217
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafed9df3e7edd7c000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:01 UTC, "created_at"=>2011-11-22 01:46:01 UTC}])
2218
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2219
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2220
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2221
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2222
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2223
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2224
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2225
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafed9df3e7edd7c000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:01 UTC, "created_at"=>2011-11-22 01:46:01 UTC}])
2226
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2227
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2228
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2229
+ Parameters: {"unique_key"=>"123"}
2230
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2231
+ Completed 301 Moved Permanently in 2ms
2232
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2233
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2234
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2235
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2236
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2237
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2238
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2239
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafedadf3e7edd7c000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:02 UTC, "created_at"=>2011-11-22 01:46:02 UTC}])
2240
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2241
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2242
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2243
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2244
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2245
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2246
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2247
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2248
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafedadf3e7edd7c000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:02 UTC, "created_at"=>2011-11-22 01:46:02 UTC}])
2249
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2250
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2251
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
2252
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2253
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2254
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
2255
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2256
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2257
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2258
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2259
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2260
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2261
+ MONGODB dummy_test['system.namespaces'].find({})
2262
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2263
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2264
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2265
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2266
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2267
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2268
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2269
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafeecdf3e7edd8a000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:20 UTC, "created_at"=>2011-11-22 01:46:20 UTC}])
2270
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2271
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2272
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2273
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2274
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2275
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2276
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2277
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2278
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafeecdf3e7edd8a000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:20 UTC, "created_at"=>2011-11-22 01:46:20 UTC}])
2279
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2280
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2281
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
2282
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2283
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2284
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
2285
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2286
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2287
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2288
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2289
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2290
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2291
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2292
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2293
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafeecdf3e7edd8a000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:20 UTC, "created_at"=>2011-11-22 01:46:20 UTC}])
2294
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2295
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2296
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
2297
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2298
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
2299
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafeecdf3e7edd8a000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:46:20 UTC, "created_at"=>2011-11-22 01:46:20 UTC}])
2300
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2301
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2302
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2303
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2304
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2305
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2306
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2307
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafeecdf3e7edd8a000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:20 UTC, "created_at"=>2011-11-22 01:46:20 UTC}])
2308
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2309
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2310
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2311
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2312
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2313
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2314
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2315
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafeecdf3e7edd8a000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:20 UTC, "created_at"=>2011-11-22 01:46:20 UTC}])
2316
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2317
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2318
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2319
+ Parameters: {"unique_key"=>"123"}
2320
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2321
+ Completed 301 Moved Permanently in 1ms
2322
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2323
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2324
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2325
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2326
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2327
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2328
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2329
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafeecdf3e7edd8a000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:20 UTC, "created_at"=>2011-11-22 01:46:20 UTC}])
2330
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2331
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2332
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2333
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2334
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2335
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2336
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2337
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2338
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafeecdf3e7edd8a000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:20 UTC, "created_at"=>2011-11-22 01:46:20 UTC}])
2339
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2340
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2341
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
2342
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2343
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2344
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
2345
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2346
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2347
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2348
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2349
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2350
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2351
+ MONGODB dummy_test['system.namespaces'].find({})
2352
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2353
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2354
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2355
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2356
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2357
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2358
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2359
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafefddf3e7edd98000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:37 UTC, "created_at"=>2011-11-22 01:46:37 UTC}])
2360
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2361
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2362
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2363
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2364
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2365
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2366
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2367
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2368
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafefddf3e7edd98000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:37 UTC, "created_at"=>2011-11-22 01:46:37 UTC}])
2369
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2370
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2371
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
2372
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2373
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2374
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
2375
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2376
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2377
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2378
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2379
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2380
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2381
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2382
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2383
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafefddf3e7edd98000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:37 UTC, "created_at"=>2011-11-22 01:46:37 UTC}])
2384
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2385
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2386
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
2387
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2388
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
2389
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafefddf3e7edd98000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:46:37 UTC, "created_at"=>2011-11-22 01:46:37 UTC}])
2390
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2391
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2392
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2393
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2394
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2395
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2396
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2397
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafefddf3e7edd98000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:37 UTC, "created_at"=>2011-11-22 01:46:37 UTC}])
2398
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2399
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2400
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2401
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2402
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2403
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2404
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2405
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecafefddf3e7edd98000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:37 UTC, "created_at"=>2011-11-22 01:46:37 UTC}])
2406
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2407
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2408
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2409
+ Parameters: {"unique_key"=>"123"}
2410
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2411
+ Completed 301 Moved Permanently in 1ms
2412
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2413
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2414
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2415
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2416
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2417
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2418
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2419
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafefddf3e7edd98000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:37 UTC, "created_at"=>2011-11-22 01:46:37 UTC}])
2420
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2421
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2422
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2423
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2424
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2425
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2426
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2427
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2428
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecafefddf3e7edd98000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:46:37 UTC, "created_at"=>2011-11-22 01:46:37 UTC}])
2429
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2430
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2431
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
2432
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2433
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2434
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
2435
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2436
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2437
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2438
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2439
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2440
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2441
+ MONGODB dummy_test['system.namespaces'].find({})
2442
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2443
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2444
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2445
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2446
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2447
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2448
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2449
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaff38df3e7eddb4000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:47:36 UTC, "created_at"=>2011-11-22 01:47:36 UTC}])
2450
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2451
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2452
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2453
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2454
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2455
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2456
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2457
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2458
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaff38df3e7eddb4000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:47:36 UTC, "created_at"=>2011-11-22 01:47:36 UTC}])
2459
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2460
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2461
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
2462
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2463
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2464
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
2465
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2466
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2467
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2468
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2469
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2470
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2471
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2472
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2473
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaff38df3e7eddb4000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:47:36 UTC, "created_at"=>2011-11-22 01:47:36 UTC}])
2474
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2475
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2476
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
2477
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2478
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
2479
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaff38df3e7eddb4000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:47:36 UTC, "created_at"=>2011-11-22 01:47:36 UTC}])
2480
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2481
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2482
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2483
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2484
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2485
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2486
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2487
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaff38df3e7eddb4000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:47:36 UTC, "created_at"=>2011-11-22 01:47:36 UTC}])
2488
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2489
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2490
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2491
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2492
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2493
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2494
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2495
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaff38df3e7eddb4000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:47:36 UTC, "created_at"=>2011-11-22 01:47:36 UTC}])
2496
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2497
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2498
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2499
+ Parameters: {"unique_key"=>"123"}
2500
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2501
+ Completed 301 Moved Permanently in 1ms
2502
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2503
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2504
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2505
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2506
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2507
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2508
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2509
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaff38df3e7eddb4000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:47:36 UTC, "created_at"=>2011-11-22 01:47:36 UTC}])
2510
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2511
+ Parameters: {"unique_key"=>"123"}
2512
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2513
+ Completed 301 Moved Permanently in 1ms
2514
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2515
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2516
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2517
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2518
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2519
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2520
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2521
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaff38df3e7eddb4000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:47:36 UTC, "created_at"=>2011-11-22 01:47:36 UTC}])
2522
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2523
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2524
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2525
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2526
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2527
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2528
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2529
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2530
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaff38df3e7eddb400000a'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:47:36 UTC, "created_at"=>2011-11-22 01:47:36 UTC}])
2531
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2532
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2533
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
2534
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2535
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2536
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
2537
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2538
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2539
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2540
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2541
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2542
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2543
+ MONGODB dummy_test['system.namespaces'].find({})
2544
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2545
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2546
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2547
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2548
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2549
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2550
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2551
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffb7df3e7eddcd000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:49:43 UTC, "created_at"=>2011-11-22 01:49:43 UTC}])
2552
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2553
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2554
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2555
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2556
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2557
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2558
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2559
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2560
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaffb7df3e7eddcd000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:49:43 UTC, "created_at"=>2011-11-22 01:49:43 UTC}])
2561
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2562
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2563
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
2564
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2565
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2566
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
2567
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2568
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2569
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2570
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2571
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2572
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2573
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2574
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2575
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffb7df3e7eddcd000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:49:43 UTC, "created_at"=>2011-11-22 01:49:43 UTC}])
2576
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2577
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2578
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
2579
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2580
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
2581
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaffb7df3e7eddcd000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:49:43 UTC, "created_at"=>2011-11-22 01:49:43 UTC}])
2582
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2583
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2584
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2585
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2586
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2587
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2588
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2589
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffb7df3e7eddcd000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:49:43 UTC, "created_at"=>2011-11-22 01:49:43 UTC}])
2590
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2591
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2592
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2593
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2594
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2595
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2596
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2597
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaffb7df3e7eddcd000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:49:43 UTC, "created_at"=>2011-11-22 01:49:43 UTC}])
2598
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2599
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2600
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2601
+ Parameters: {"unique_key"=>"123"}
2602
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2603
+ Completed 301 Moved Permanently in 1ms
2604
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2605
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2606
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2607
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2608
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2609
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2610
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2611
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffb8df3e7eddcd000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:49:44 UTC, "created_at"=>2011-11-22 01:49:44 UTC}])
2612
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2613
+ Parameters: {"unique_key"=>"0"}
2614
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>""}).sort([[:_id, :asc]])
2615
+ Completed 301 Moved Permanently in 1ms
2616
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2617
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2618
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2619
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2620
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2621
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2622
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2623
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffb8df3e7eddcd000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:49:44 UTC, "created_at"=>2011-11-22 01:49:44 UTC}])
2624
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2625
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2626
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2627
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2628
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2629
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2630
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2631
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2632
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffb8df3e7eddcd00000a'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:49:44 UTC, "created_at"=>2011-11-22 01:49:44 UTC}])
2633
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2634
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2635
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
2636
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2637
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2638
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
2639
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2640
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2641
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2642
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2643
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2644
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2645
+ MONGODB dummy_test['system.namespaces'].find({})
2646
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2647
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2648
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2649
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2650
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2651
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2652
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2653
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffcfdf3e7eddd9000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:07 UTC, "created_at"=>2011-11-22 01:50:07 UTC}])
2654
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2655
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2656
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2657
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2658
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2659
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2660
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2661
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2662
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaffcfdf3e7eddd9000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:07 UTC, "created_at"=>2011-11-22 01:50:07 UTC}])
2663
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2664
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2665
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
2666
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2667
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2668
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
2669
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2670
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2671
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2672
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2673
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2674
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2675
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2676
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2677
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffcfdf3e7eddd9000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:07 UTC, "created_at"=>2011-11-22 01:50:07 UTC}])
2678
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2679
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2680
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
2681
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2682
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
2683
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaffcfdf3e7eddd9000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:50:07 UTC, "created_at"=>2011-11-22 01:50:07 UTC}])
2684
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2685
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2686
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2687
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2688
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2689
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2690
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2691
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffcfdf3e7eddd9000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:07 UTC, "created_at"=>2011-11-22 01:50:07 UTC}])
2692
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2693
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2694
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2695
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2696
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2697
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2698
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2699
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaffcfdf3e7eddd9000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:07 UTC, "created_at"=>2011-11-22 01:50:07 UTC}])
2700
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2701
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2702
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2703
+ Parameters: {"unique_key"=>"123"}
2704
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2705
+ Completed 301 Moved Permanently in 1ms
2706
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2707
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2708
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2709
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2710
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2711
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2712
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2713
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffcfdf3e7eddd9000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:07 UTC, "created_at"=>2011-11-22 01:50:07 UTC}])
2714
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2715
+ Parameters: {"unique_key"=>"0"}
2716
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>""}).sort([[:_id, :asc]])
2717
+ Completed 301 Moved Permanently in 1ms
2718
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2719
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2720
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2721
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2722
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2723
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2724
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2725
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffcfdf3e7eddd9000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:07 UTC, "created_at"=>2011-11-22 01:50:07 UTC}])
2726
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2727
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2728
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2729
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2730
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2731
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2732
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2733
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2734
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffcfdf3e7eddd900000a'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:07 UTC, "created_at"=>2011-11-22 01:50:07 UTC}])
2735
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2736
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2737
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
2738
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2739
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2740
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
2741
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2742
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2743
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2744
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2745
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2746
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2747
+ MONGODB dummy_test['system.namespaces'].find({})
2748
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2749
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2750
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2751
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2752
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2753
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2754
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2755
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffe2df3e7eddeb000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:26 UTC, "created_at"=>2011-11-22 01:50:26 UTC}])
2756
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2757
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2758
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2759
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2760
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2761
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2762
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2763
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2764
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaffe2df3e7eddeb000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:26 UTC, "created_at"=>2011-11-22 01:50:26 UTC}])
2765
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2766
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2767
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
2768
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2769
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2770
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
2771
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2772
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2773
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2774
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2775
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2776
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2777
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2778
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2779
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffe2df3e7eddeb000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:26 UTC, "created_at"=>2011-11-22 01:50:26 UTC}])
2780
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2781
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2782
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
2783
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2784
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
2785
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaffe2df3e7eddeb000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:50:26 UTC, "created_at"=>2011-11-22 01:50:26 UTC}])
2786
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2787
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2788
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2789
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2790
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2791
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2792
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2793
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffe2df3e7eddeb000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:26 UTC, "created_at"=>2011-11-22 01:50:26 UTC}])
2794
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2795
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2796
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2797
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2798
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2799
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2800
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2801
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecaffe2df3e7eddeb000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:26 UTC, "created_at"=>2011-11-22 01:50:26 UTC}])
2802
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2803
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2804
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2805
+ Parameters: {"unique_key"=>"123"}
2806
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2807
+ Completed 301 Moved Permanently in 1ms
2808
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2809
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2810
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2811
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2812
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2813
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2814
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2815
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffe2df3e7eddeb000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:26 UTC, "created_at"=>2011-11-22 01:50:26 UTC}])
2816
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2817
+ Parameters: {"unique_key"=>"~0"}
2818
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2819
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].update({"_id"=>BSON::ObjectId('4ecaffe2df3e7eddeb000008')}, {"$inc"=>{"use_count"=>1}})
2820
+ Completed 301 Moved Permanently in 1ms
2821
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2822
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2823
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2824
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2825
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2826
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2827
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2828
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffe2df3e7eddeb000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:26 UTC, "created_at"=>2011-11-22 01:50:26 UTC}])
2829
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2830
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2831
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2832
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2833
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2834
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2835
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2836
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2837
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecaffe2df3e7eddeb00000a'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:50:26 UTC, "created_at"=>2011-11-22 01:50:26 UTC}])
2838
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2839
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2840
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
2841
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2842
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2843
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
2844
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2845
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2846
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2847
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2848
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2849
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2850
+ MONGODB dummy_test['system.namespaces'].find({})
2851
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2852
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2853
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2854
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2855
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2856
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2857
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2858
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb001ddf3e7eddfd000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:51:25 UTC, "created_at"=>2011-11-22 01:51:25 UTC}])
2859
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2860
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2861
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2862
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2863
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2864
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2865
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2866
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2867
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb001ddf3e7eddfd000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:51:25 UTC, "created_at"=>2011-11-22 01:51:25 UTC}])
2868
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2869
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2870
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
2871
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2872
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2873
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
2874
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2875
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2876
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2877
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2878
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2879
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2880
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2881
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2882
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb001ddf3e7eddfd000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:51:25 UTC, "created_at"=>2011-11-22 01:51:25 UTC}])
2883
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2884
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2885
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
2886
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2887
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
2888
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb001ddf3e7eddfd000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:51:25 UTC, "created_at"=>2011-11-22 01:51:25 UTC}])
2889
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2890
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2891
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2892
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2893
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2894
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2895
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2896
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb001ddf3e7eddfd000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:51:25 UTC, "created_at"=>2011-11-22 01:51:25 UTC}])
2897
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2898
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2899
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2900
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2901
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2902
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2903
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2904
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb001ddf3e7eddfd000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:51:25 UTC, "created_at"=>2011-11-22 01:51:25 UTC}])
2905
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2906
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2907
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2908
+ Parameters: {"unique_key"=>"123"}
2909
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2910
+ Completed 301 Moved Permanently in 1ms
2911
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2912
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2913
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2914
+ Parameters: {"unique_key"=>"123"}
2915
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"23"}).sort([[:_id, :asc]])
2916
+ Completed 301 Moved Permanently in 0ms
2917
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2918
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2919
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2920
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2921
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2922
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2923
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2924
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb001ddf3e7eddfd000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:51:25 UTC, "created_at"=>2011-11-22 01:51:25 UTC}])
2925
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
2926
+ Parameters: {"unique_key"=>"~0"}
2927
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2928
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].update({"_id"=>BSON::ObjectId('4ecb001ddf3e7eddfd000008')}, {"$inc"=>{"use_count"=>1}})
2929
+ Completed 301 Moved Permanently in 1ms
2930
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2931
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2932
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2933
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2934
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2935
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2936
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2937
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb001ddf3e7eddfd000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:51:25 UTC, "created_at"=>2011-11-22 01:51:25 UTC}])
2938
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2939
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2940
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2941
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2942
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2943
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2944
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2945
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2946
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb001ddf3e7eddfd00000a'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:51:25 UTC, "created_at"=>2011-11-22 01:51:25 UTC}])
2947
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2948
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2949
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
2950
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2951
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2952
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
2953
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2954
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2955
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2956
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
2957
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2958
+ MONGODB admin['$cmd'].find({:ismaster=>1})
2959
+ MONGODB dummy_test['system.namespaces'].find({})
2960
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2961
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2962
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2963
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2964
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2965
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2966
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2967
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0078df3e7edef4000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:52:56 UTC, "created_at"=>2011-11-22 01:52:56 UTC}])
2968
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2969
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2970
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2971
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2972
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2973
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2974
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2975
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2976
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb0078df3e7edef4000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:52:56 UTC, "created_at"=>2011-11-22 01:52:56 UTC}])
2977
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2978
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2979
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
2980
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2981
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2982
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
2983
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2984
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2985
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
2986
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
2987
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2988
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
2989
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
2990
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
2991
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0079df3e7edef4000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:52:57 UTC, "created_at"=>2011-11-22 01:52:57 UTC}])
2992
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
2993
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2994
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
2995
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
2996
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
2997
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb0079df3e7edef4000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:52:57 UTC, "created_at"=>2011-11-22 01:52:57 UTC}])
2998
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
2999
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3000
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3001
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3002
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3003
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3004
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3005
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0079df3e7edef4000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:52:57 UTC, "created_at"=>2011-11-22 01:52:57 UTC}])
3006
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3007
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3008
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3009
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3010
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3011
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3012
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3013
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb0079df3e7edef4000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:52:57 UTC, "created_at"=>2011-11-22 01:52:57 UTC}])
3014
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3015
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3016
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3017
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3018
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3019
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3020
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3021
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3022
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3023
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3024
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3025
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0079df3e7edef4000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:52:57 UTC, "created_at"=>2011-11-22 01:52:57 UTC}])
3026
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3027
+ Parameters: {"unique_key"=>"~0"}
3028
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3029
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].update({"_id"=>BSON::ObjectId('4ecb0079df3e7edef4000008')}, {"$inc"=>{"use_count"=>1}})
3030
+ Completed 301 Moved Permanently in 2ms
3031
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3032
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3033
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3034
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3035
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3036
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3037
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3038
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0079df3e7edef4000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:52:57 UTC, "created_at"=>2011-11-22 01:52:57 UTC}])
3039
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3040
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3041
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3042
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3043
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3044
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3045
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3046
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3047
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0079df3e7edef400000a'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:52:57 UTC, "created_at"=>2011-11-22 01:52:57 UTC}])
3048
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3049
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3050
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
3051
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3052
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3053
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
3054
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3055
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3056
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3057
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
3058
+ MONGODB admin['$cmd'].find({:ismaster=>1})
3059
+ MONGODB admin['$cmd'].find({:ismaster=>1})
3060
+ MONGODB dummy_test['system.namespaces'].find({})
3061
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3062
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3063
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3064
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3065
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3066
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3067
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3068
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0096df3e7edf0e000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:53:26 UTC, "created_at"=>2011-11-22 01:53:26 UTC}])
3069
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3070
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3071
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3072
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3073
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3074
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3075
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3076
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3077
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb0096df3e7edf0e000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:53:26 UTC, "created_at"=>2011-11-22 01:53:26 UTC}])
3078
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3079
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3080
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
3081
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3082
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3083
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
3084
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3085
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3086
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3087
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3088
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3089
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3090
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3091
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3092
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0096df3e7edf0e000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:53:26 UTC, "created_at"=>2011-11-22 01:53:26 UTC}])
3093
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3094
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3095
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
3096
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3097
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
3098
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb0096df3e7edf0e000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:53:26 UTC, "created_at"=>2011-11-22 01:53:26 UTC}])
3099
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3100
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3101
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3102
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3103
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3104
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3105
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3106
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0096df3e7edf0e000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:53:26 UTC, "created_at"=>2011-11-22 01:53:26 UTC}])
3107
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3108
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3109
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3110
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3111
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3112
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3113
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3114
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb0096df3e7edf0e000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:53:26 UTC, "created_at"=>2011-11-22 01:53:26 UTC}])
3115
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3116
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3117
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3118
+ Parameters: {"unique_key"=>"~123"}
3119
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"123"}).sort([[:_id, :asc]])
3120
+ Completed 301 Moved Permanently in 1ms
3121
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3122
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3123
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3124
+ Parameters: {"unique_key"=>"~123"}
3125
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"123"}).sort([[:_id, :asc]])
3126
+ Completed 301 Moved Permanently in 1ms
3127
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3128
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3129
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3130
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3131
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3132
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3133
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3134
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0096df3e7edf0e000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:53:26 UTC, "created_at"=>2011-11-22 01:53:26 UTC}])
3135
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3136
+ Parameters: {"unique_key"=>"~0"}
3137
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3138
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].update({"_id"=>BSON::ObjectId('4ecb0096df3e7edf0e000008')}, {"$inc"=>{"use_count"=>1}})
3139
+ Completed 301 Moved Permanently in 1ms
3140
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3141
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3142
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3143
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3144
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3145
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3146
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3147
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0096df3e7edf0e000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:53:26 UTC, "created_at"=>2011-11-22 01:53:26 UTC}])
3148
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3149
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3150
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3151
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3152
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3153
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3154
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3155
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3156
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0096df3e7edf0e00000a'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:53:26 UTC, "created_at"=>2011-11-22 01:53:26 UTC}])
3157
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3158
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3159
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
3160
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3161
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3162
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
3163
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3164
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3165
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3166
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
3167
+ MONGODB admin['$cmd'].find({:ismaster=>1})
3168
+ MONGODB admin['$cmd'].find({:ismaster=>1})
3169
+ MONGODB dummy_test['system.namespaces'].find({})
3170
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3171
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3172
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3173
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3174
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3175
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3176
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3177
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb00e7df3e7edf28000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:54:47 UTC, "created_at"=>2011-11-22 01:54:47 UTC}])
3178
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3179
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3180
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3181
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3182
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3183
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3184
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3185
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3186
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb00e7df3e7edf28000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:54:47 UTC, "created_at"=>2011-11-22 01:54:47 UTC}])
3187
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3188
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3189
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
3190
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3191
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3192
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
3193
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3194
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3195
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3196
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3197
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3198
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3199
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3200
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3201
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb00e7df3e7edf28000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:54:47 UTC, "created_at"=>2011-11-22 01:54:47 UTC}])
3202
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3203
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3204
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
3205
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3206
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
3207
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb00e7df3e7edf28000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:54:47 UTC, "created_at"=>2011-11-22 01:54:47 UTC}])
3208
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3209
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3210
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3211
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3212
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3213
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3214
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3215
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb00e7df3e7edf28000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:54:47 UTC, "created_at"=>2011-11-22 01:54:47 UTC}])
3216
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3217
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3218
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3219
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3220
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3221
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3222
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3223
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb00e7df3e7edf28000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:54:47 UTC, "created_at"=>2011-11-22 01:54:47 UTC}])
3224
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3225
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3226
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3227
+ Parameters: {"unique_key"=>"~123"}
3228
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"123"}).sort([[:_id, :asc]])
3229
+ Completed 301 Moved Permanently in 1ms
3230
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3231
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3232
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3233
+ Parameters: {"unique_key"=>"~123"}
3234
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"123"}).sort([[:_id, :asc]])
3235
+ Completed 301 Moved Permanently in 1ms
3236
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3237
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3238
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3239
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3240
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3241
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3242
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3243
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb00e7df3e7edf28000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:54:47 UTC, "created_at"=>2011-11-22 01:54:47 UTC}])
3244
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3245
+ Parameters: {"unique_key"=>"~0"}
3246
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3247
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].update({"_id"=>BSON::ObjectId('4ecb00e7df3e7edf28000008')}, {"$inc"=>{"use_count"=>1}})
3248
+ Completed 301 Moved Permanently in 1ms
3249
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3250
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3251
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3252
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3253
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3254
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3255
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3256
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3257
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3258
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb00e7df3e7edf28000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:54:47 UTC, "created_at"=>2011-11-22 01:54:47 UTC}])
3259
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3260
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3261
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3262
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3263
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3264
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3265
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3266
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3267
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb00e7df3e7edf2800000a'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:54:47 UTC, "created_at"=>2011-11-22 01:54:47 UTC}])
3268
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3269
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3270
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
3271
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3272
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3273
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
3274
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3275
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3276
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3277
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
3278
+ MONGODB admin['$cmd'].find({:ismaster=>1})
3279
+ MONGODB admin['$cmd'].find({:ismaster=>1})
3280
+ MONGODB dummy_test['system.namespaces'].find({})
3281
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3282
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3283
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3284
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3285
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3286
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3287
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3288
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0121df3e7ee04b000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:55:45 UTC, "created_at"=>2011-11-22 01:55:45 UTC}])
3289
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3290
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3291
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3292
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3293
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3294
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3295
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3296
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3297
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb0121df3e7ee04b000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:55:45 UTC, "created_at"=>2011-11-22 01:55:45 UTC}])
3298
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3299
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3300
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
3301
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3302
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3303
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
3304
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3305
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3306
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3307
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3308
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3309
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3310
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3311
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3312
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0121df3e7ee04b000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:55:45 UTC, "created_at"=>2011-11-22 01:55:45 UTC}])
3313
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3314
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3315
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
3316
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3317
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
3318
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb0121df3e7ee04b000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 01:55:45 UTC, "created_at"=>2011-11-22 01:55:45 UTC}])
3319
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3320
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3321
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3322
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3323
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3324
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3325
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3326
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0121df3e7ee04b000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:55:45 UTC, "created_at"=>2011-11-22 01:55:45 UTC}])
3327
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3328
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3329
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3330
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3331
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3332
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3333
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3334
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb0121df3e7ee04b000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:55:45 UTC, "created_at"=>2011-11-22 01:55:45 UTC}])
3335
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3336
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3337
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3338
+ Parameters: {"unique_key"=>"~123"}
3339
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"123"}).sort([[:_id, :asc]])
3340
+ Completed 301 Moved Permanently in 1ms
3341
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3342
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3343
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3344
+ Parameters: {"unique_key"=>"~123"}
3345
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"123"}).sort([[:_id, :asc]])
3346
+ Completed 301 Moved Permanently in 1ms
3347
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3348
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3349
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3350
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3351
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3352
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3353
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3354
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0121df3e7ee04b000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:55:45 UTC, "created_at"=>2011-11-22 01:55:45 UTC}])
3355
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3356
+ Parameters: {"unique_key"=>"~0"}
3357
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3358
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].update({"_id"=>BSON::ObjectId('4ecb0121df3e7ee04b000008')}, {"$inc"=>{"use_count"=>1}})
3359
+ Completed 301 Moved Permanently in 1ms
3360
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3361
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3362
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3363
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3364
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3365
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3366
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3367
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3368
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3369
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0121df3e7ee04b000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:55:45 UTC, "created_at"=>2011-11-22 01:55:45 UTC}])
3370
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3371
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3372
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3373
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3374
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3375
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3376
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3377
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3378
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb0121df3e7ee04b00000a'), "unique_key"=>"0", "updated_at"=>2011-11-22 01:55:45 UTC, "created_at"=>2011-11-22 01:55:45 UTC}])
3379
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3380
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3381
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
3382
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3383
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3384
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
3385
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3386
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3387
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3388
+ MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
3389
+ MONGODB admin['$cmd'].find({:ismaster=>1})
3390
+ MONGODB admin['$cmd'].find({:ismaster=>1})
3391
+ MONGODB dummy_test['system.namespaces'].find({})
3392
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3393
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3394
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3395
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3396
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3397
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3398
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3399
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb093bdf3e7ee2a3000001'), "unique_key"=>"0", "updated_at"=>2011-11-22 02:30:19 UTC, "created_at"=>2011-11-22 02:30:19 UTC}])
3400
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3401
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3402
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3403
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3404
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3405
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3406
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3407
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3408
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb093bdf3e7ee2a3000002'), "unique_key"=>"0", "updated_at"=>2011-11-22 02:30:19 UTC, "created_at"=>2011-11-22 02:30:19 UTC}])
3409
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3410
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3411
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://ahha"}).sort([[:_id, :asc]])
3412
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3413
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3414
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://ahha"}, "fields"=>nil})
3415
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3416
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3417
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3418
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3419
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3420
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3421
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3422
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3423
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb093bdf3e7ee2a3000004'), "unique_key"=>"0", "updated_at"=>2011-11-22 02:30:19 UTC, "created_at"=>2011-11-22 02:30:19 UTC}])
3424
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3425
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3426
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"1"}).sort([[:_id, :asc]])
3427
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3428
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"1"}, "fields"=>nil})
3429
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb093bdf3e7ee2a3000005'), "unique_key"=>"1", "updated_at"=>2011-11-22 02:30:19 UTC, "created_at"=>2011-11-22 02:30:19 UTC}])
3430
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3431
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3432
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3433
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3434
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3435
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3436
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3437
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb093bdf3e7ee2a3000006'), "unique_key"=>"0", "updated_at"=>2011-11-22 02:30:19 UTC, "created_at"=>2011-11-22 02:30:19 UTC}])
3438
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3439
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3440
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://yahoo.com"}).sort([[:_id, :asc]])
3441
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3442
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3443
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://yahoo.com"}, "fields"=>nil})
3444
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3445
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://yahoo.com", "_id"=>BSON::ObjectId('4ecb093bdf3e7ee2a3000007'), "unique_key"=>"0", "updated_at"=>2011-11-22 02:30:19 UTC, "created_at"=>2011-11-22 02:30:19 UTC}])
3446
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3447
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3448
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3449
+ Parameters: {"unique_key"=>"~123"}
3450
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"123"}).sort([[:_id, :asc]])
3451
+ Completed 301 Moved Permanently in 1ms
3452
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3453
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3454
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3455
+ Parameters: {"unique_key"=>"~123"}
3456
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"123"}).sort([[:_id, :asc]])
3457
+ Completed 301 Moved Permanently in 1ms
3458
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3459
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3460
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3461
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3462
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3463
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3464
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3465
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb093bdf3e7ee2a3000008'), "unique_key"=>"0", "updated_at"=>2011-11-22 02:30:19 UTC, "created_at"=>2011-11-22 02:30:19 UTC}])
3466
+ Processing by MongoidShortener::ShortenedUrlsController#translate as HTML
3467
+ Parameters: {"unique_key"=>"~0"}
3468
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3469
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].update({"_id"=>BSON::ObjectId('4ecb093bdf3e7ee2a3000008')}, {"$inc"=>{"use_count"=>1}})
3470
+ Completed 301 Moved Permanently in 1ms
3471
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3472
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3473
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3474
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3475
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3476
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3477
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3478
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3479
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3480
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb093bdf3e7ee2a3000009'), "unique_key"=>"0", "updated_at"=>2011-11-22 02:30:19 UTC, "created_at"=>2011-11-22 02:30:19 UTC}])
3481
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3482
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3483
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3484
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://google.com"}).sort([[:_id, :asc]])
3485
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3486
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3487
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://google.com"}, "fields"=>nil})
3488
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3489
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].insert([{"use_count"=>0, "url"=>"http://google.com", "_id"=>BSON::ObjectId('4ecb093bdf3e7ee2a300000a'), "unique_key"=>"0", "updated_at"=>2011-11-22 02:30:19 UTC, "created_at"=>2011-11-22 02:30:19 UTC}])
3490
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3491
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})
3492
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:url=>"http://haha"}).sort([[:_id, :asc]])
3493
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3494
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].find({:unique_key=>"0"}).sort([[:_id, :asc]])
3495
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:url=>"http://haha"}, "fields"=>nil})
3496
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{:unique_key=>"0"}, "fields"=>nil})
3497
+ MONGODB dummy_test['$cmd'].find({"count"=>"mongoid_shortener_shortened_urls", "query"=>{}, "fields"=>nil})
3498
+ MONGODB dummy_test['mongoid_shortener_shortened_urls'].remove({})