commontator 0.5.14 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. data/README.md +47 -10
  2. data/Rakefile +6 -5
  3. data/app/controllers/commontator/application_controller.rb +3 -1
  4. data/app/controllers/commontator/application_controller.rb~ +5 -2
  5. data/app/controllers/commontator/comments_controller.rb +9 -10
  6. data/app/controllers/commontator/comments_controller.rb~ +9 -10
  7. data/app/controllers/commontator/commontator_controller.rb~ +22 -0
  8. data/app/controllers/commontator/subscriptions_controller.rb +2 -2
  9. data/app/controllers/commontator/subscriptions_controller.rb~ +3 -3
  10. data/app/controllers/commontator/threads_controller.rb +4 -3
  11. data/app/controllers/commontator/threads_controller.rb~ +5 -3
  12. data/app/helpers/commontator/commontator_helper.rb~ +7 -0
  13. data/app/mailers/commontator/subscriptions_mailer.rb +2 -1
  14. data/app/mailers/commontator/subscriptions_mailer.rb~ +3 -1
  15. data/app/models/commontator/comment.rb +13 -9
  16. data/app/models/commontator/comment.rb~ +14 -10
  17. data/app/models/commontator/subscription.rb +3 -3
  18. data/app/models/commontator/subscription.rb~ +19 -0
  19. data/app/models/commontator/thread.rb +17 -41
  20. data/app/models/commontator/thread.rb~ +119 -0
  21. data/app/views/commontator/shared/_thread.html.erb +4 -1
  22. data/app/views/commontator/shared/_thread.html.erb~ +5 -2
  23. data/app/views/commontator/subscriptions_mailer/comment_created_email.html.erb +1 -1
  24. data/app/views/commontator/subscriptions_mailer/comment_created_email.html.erb~ +6 -0
  25. data/config/initializers/commontator.rb +42 -64
  26. data/{test/dummy/config/initializers/commontator.rb → config/initializers/commontator.rb~} +42 -64
  27. data/db/migrate/0_install_commontator.rb +1 -1
  28. data/{test/dummy/db/migrate/1_install_commontator.commontator.rb → db/migrate/0_install_commontator.rb~} +1 -2
  29. data/lib/commontator.rb +7 -12
  30. data/lib/commontator.rb~ +7 -12
  31. data/lib/commontator/commontable_config.rb +1 -1
  32. data/lib/commontator/commontable_config.rb~ +13 -0
  33. data/lib/commontator/commontator_config.rb +1 -1
  34. data/lib/commontator/commontator_config.rb~ +13 -0
  35. data/lib/commontator/controller_includes.rb +1 -0
  36. data/lib/commontator/controller_includes.rb~ +1 -1
  37. data/lib/commontator/security_transgression.rb +3 -0
  38. data/{test/dummy/public/favicon.ico → lib/commontator/security_transgression.rb~} +0 -0
  39. data/lib/commontator/shared_helper.rb +1 -1
  40. data/lib/commontator/shared_helper.rb~ +2 -2
  41. data/lib/commontator/version.rb +1 -1
  42. data/lib/commontator/version.rb~ +1 -1
  43. metadata +46 -89
  44. data/test/commontator_test.rb +0 -7
  45. data/test/dummy/README.rdoc +0 -261
  46. data/test/dummy/Rakefile +0 -7
  47. data/test/dummy/app/assets/javascripts/application.js +0 -15
  48. data/test/dummy/app/assets/stylesheets/application.css +0 -13
  49. data/test/dummy/app/controllers/application_controller.rb +0 -3
  50. data/test/dummy/app/helpers/application_helper.rb +0 -2
  51. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  52. data/test/dummy/config.ru +0 -4
  53. data/test/dummy/config/application.rb +0 -59
  54. data/test/dummy/config/boot.rb +0 -10
  55. data/test/dummy/config/database.yml +0 -25
  56. data/test/dummy/config/environment.rb +0 -5
  57. data/test/dummy/config/environments/development.rb +0 -37
  58. data/test/dummy/config/environments/production.rb +0 -67
  59. data/test/dummy/config/environments/test.rb +0 -37
  60. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  61. data/test/dummy/config/initializers/inflections.rb +0 -15
  62. data/test/dummy/config/initializers/mime_types.rb +0 -5
  63. data/test/dummy/config/initializers/secret_token.rb +0 -7
  64. data/test/dummy/config/initializers/session_store.rb +0 -8
  65. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  66. data/test/dummy/config/locales/en.yml +0 -5
  67. data/test/dummy/config/routes.rb +0 -4
  68. data/test/dummy/db/development.sqlite3 +0 -0
  69. data/test/dummy/db/schema.rb +0 -61
  70. data/test/dummy/log/development.log +0 -414
  71. data/test/dummy/public/404.html +0 -26
  72. data/test/dummy/public/422.html +0 -26
  73. data/test/dummy/public/500.html +0 -25
  74. data/test/dummy/script/rails +0 -6
  75. data/test/functional/comments_controller_test.rb +0 -181
  76. data/test/functional/subscriptions_controller_test.rb +0 -122
  77. data/test/integration/navigation_test.rb +0 -10
  78. data/test/test_helper.rb +0 -15
  79. data/test/unit/comment_test.rb +0 -35
  80. data/test/unit/helpers/comments_helper_test.rb +0 -4
  81. data/test/unit/helpers/subscriptions_helper_test.rb +0 -4
  82. data/test/unit/subscription_test.rb +0 -15
  83. data/test/unit/thread_test.rb +0 -57
@@ -1,37 +0,0 @@
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
- # Raise exception on mass assignment protection for Active Record models
26
- config.active_record.mass_assignment_sanitizer = :strict
27
-
28
- # Log the query plan for queries taking more than this (works
29
- # with SQLite, MySQL, and PostgreSQL)
30
- config.active_record.auto_explain_threshold_in_seconds = 0.5
31
-
32
- # Do not compress assets
33
- config.assets.compress = false
34
-
35
- # Expands the lines which load the assets
36
- config.assets.debug = true
37
- end
@@ -1,67 +0,0 @@
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 nil and saved in location specified by config.assets.prefix
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
- # Prepend all log lines with the following tags
37
- # config.log_tags = [ :subdomain, :uuid ]
38
-
39
- # Use a different logger for distributed setups
40
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
41
-
42
- # Use a different cache store in production
43
- # config.cache_store = :mem_cache_store
44
-
45
- # Enable serving of images, stylesheets, and JavaScripts from an asset server
46
- # config.action_controller.asset_host = "http://assets.example.com"
47
-
48
- # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
49
- # config.assets.precompile += %w( search.js )
50
-
51
- # Disable delivery errors, bad email addresses will be ignored
52
- # config.action_mailer.raise_delivery_errors = false
53
-
54
- # Enable threaded mode
55
- # config.threadsafe!
56
-
57
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
58
- # the I18n.default_locale when a translation can not be found)
59
- config.i18n.fallbacks = true
60
-
61
- # Send deprecation notices to registered listeners
62
- config.active_support.deprecation = :notify
63
-
64
- # Log the query plan for queries taking more than this (works
65
- # with SQLite, MySQL, and PostgreSQL)
66
- # config.active_record.auto_explain_threshold_in_seconds = 0.5
67
- end
@@ -1,37 +0,0 @@
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
- # Raise exception on mass assignment protection for Active Record models
33
- config.active_record.mass_assignment_sanitizer = :strict
34
-
35
- # Print deprecation notices to the stderr
36
- config.active_support.deprecation = :stderr
37
- end
@@ -1,7 +0,0 @@
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!
@@ -1,15 +0,0 @@
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
11
- #
12
- # These inflection rules are supported but not enabled by default:
13
- # ActiveSupport::Inflector.inflections do |inflect|
14
- # inflect.acronym 'RESTful'
15
- # end
@@ -1,5 +0,0 @@
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
@@ -1,7 +0,0 @@
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 = '1a767fd457fea42a0032b2b4adf0ca5a9dde2534fcccec295894ed2f9a341192b35ce7cc6583259eae5df55bcc57778ceb641ff7970bb57acaba51c4b3d2965f'
@@ -1,8 +0,0 @@
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
@@ -1,14 +0,0 @@
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
-
11
- # Disable root element in JSON by default.
12
- ActiveSupport.on_load(:active_record) do
13
- self.include_root_in_json = false
14
- end
@@ -1,5 +0,0 @@
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"
@@ -1,4 +0,0 @@
1
- Rails.application.routes.draw do
2
-
3
- mount Commontator::Engine => "/commontator"
4
- end
Binary file
@@ -1,61 +0,0 @@
1
- # encoding: UTF-8
2
- # This file is auto-generated from the current state of the database. Instead
3
- # of editing this file, please use the migrations feature of Active Record to
4
- # incrementally modify your database, and then regenerate this schema definition.
5
- #
6
- # Note that this schema.rb definition is the authoritative source for your
7
- # database schema. If you need to create the application database on another
8
- # system, you should be using db:schema:load, not running all the migrations
9
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
- # you'll amass, the slower it'll run and the greater likelihood for issues).
11
- #
12
- # It's strongly recommended to check this file into your version control system.
13
-
14
- ActiveRecord::Schema.define(:version => 1) do
15
-
16
- create_table "commontator_comments", :force => true do |t|
17
- t.text "body"
18
- t.integer "creator_id"
19
- t.string "creator_type"
20
- t.datetime "deleted_at"
21
- t.integer "deleter_id"
22
- t.string "deleter_type"
23
- t.integer "thread_id"
24
- t.integer "cached_votes_total", :default => 0
25
- t.integer "cached_votes_up", :default => 0
26
- t.integer "cached_votes_down", :default => 0
27
- t.datetime "created_at", :null => false
28
- t.datetime "updated_at", :null => false
29
- end
30
-
31
- add_index "commontator_comments", ["cached_votes_down"], :name => "index_commontator_comments_on_cached_votes_down"
32
- add_index "commontator_comments", ["cached_votes_total"], :name => "index_commontator_comments_on_cached_votes_total"
33
- add_index "commontator_comments", ["cached_votes_up"], :name => "index_commontator_comments_on_cached_votes_up"
34
- add_index "commontator_comments", ["creator_id", "creator_type", "thread_id"], :name => "index_c_c_on_c_id_and_c_type_and_t_id"
35
- add_index "commontator_comments", ["thread_id"], :name => "index_commontator_comments_on_thread_id"
36
-
37
- create_table "commontator_subscriptions", :force => true do |t|
38
- t.integer "subscriber_id"
39
- t.string "subscriber_type"
40
- t.integer "thread_id"
41
- t.boolean "is_unread"
42
- t.datetime "created_at", :null => false
43
- t.datetime "updated_at", :null => false
44
- end
45
-
46
- add_index "commontator_subscriptions", ["subscriber_id", "subscriber_type", "thread_id"], :name => "index_c_s_on_s_id_and_s_type_and_t_id", :unique => true
47
- add_index "commontator_subscriptions", ["thread_id"], :name => "index_commontator_subscriptions_on_thread_id"
48
-
49
- create_table "commontator_threads", :force => true do |t|
50
- t.integer "commontable_id"
51
- t.string "commontable_type"
52
- t.datetime "closed_at"
53
- t.integer "closer_id"
54
- t.string "closer_type"
55
- t.datetime "created_at", :null => false
56
- t.datetime "updated_at", :null => false
57
- end
58
-
59
- add_index "commontator_threads", ["commontable_id", "commontable_type"], :name => "index_commontator_threads_on_commontable_id_and_commontable_type"
60
-
61
- end
@@ -1,414 +0,0 @@
1
-
2
-
3
- Started GET "/" for 127.0.0.1 at 2012-06-28 15:19:49 -0500
4
- Connecting to database specified by database.yml
5
-
6
- ActionController::RoutingError (No route matches [GET] "/"):
7
- actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
8
- actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
9
- railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
10
- railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
11
- actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
12
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
13
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
14
- activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
15
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
16
- actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
17
- railties (3.2.6) lib/rails/engine.rb:479:in `call'
18
- railties (3.2.6) lib/rails/application.rb:220:in `call'
19
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
20
- railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
21
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
22
- /home/dantemss/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
23
- /home/dantemss/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
24
- /home/dantemss/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_comment_commontable_thread'
25
-
26
-
27
- Rendered /home/dantemss/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
28
-
29
-
30
- Started GET "/commontator" for 127.0.0.1 at 2012-06-28 15:20:24 -0500
31
- Connecting to database specified by database.yml
32
-
33
- ActionController::RoutingError (No route matches [GET] "/commontator"):
34
- actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
35
- actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
36
- railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
37
- railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
38
- actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
39
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
40
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
41
- activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
42
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
43
- actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
44
- railties (3.2.6) lib/rails/engine.rb:479:in `call'
45
- railties (3.2.6) lib/rails/application.rb:220:in `call'
46
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
47
- railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
48
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
49
- /home/dantemss/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
50
- /home/dantemss/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
51
- /home/dantemss/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_comment_commontable_thread'
52
-
53
-
54
- Rendered /home/dantemss/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
55
-
56
-
57
- Started GET "/commontator" for 127.0.0.1 at 2012-06-28 15:20:26 -0500
58
-
59
- ActionController::RoutingError (No route matches [GET] "/commontator"):
60
- actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
61
- actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
62
- railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
63
- railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
64
- actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
65
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
66
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
67
- activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
68
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
69
- actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
70
- railties (3.2.6) lib/rails/engine.rb:479:in `call'
71
- railties (3.2.6) lib/rails/application.rb:220:in `call'
72
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
73
- railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
74
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
75
- /home/dantemss/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
76
- /home/dantemss/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
77
- /home/dantemss/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_comment_commontable_thread'
78
-
79
-
80
- Rendered /home/dantemss/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
81
- Connecting to database specified by database.yml
82
-  (0.1ms) select sqlite_version(*)
83
-  (249.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
84
-  (0.1ms) PRAGMA index_list("schema_migrations")
85
-  (235.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
86
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
87
- Connecting to database specified by database.yml
88
-  (0.2ms) select sqlite_version(*)
89
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
90
- Connecting to database specified by database.yml
91
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
92
-  (0.1ms) select sqlite_version(*)
93
-  (223.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
94
-  (0.1ms) PRAGMA index_list("schema_migrations")
95
-  (224.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
96
-  (0.2ms) SELECT version FROM "schema_migrations"
97
-  (186.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
98
- Connecting to database specified by database.yml
99
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
100
-  (0.1ms) select sqlite_version(*)
101
-  (290.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
102
-  (0.1ms) PRAGMA index_list("schema_migrations")
103
-  (240.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
104
-  (0.1ms) SELECT version FROM "schema_migrations"
105
-  (202.5ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
106
- Connecting to database specified by database.yml
107
-
108
-
109
- Started GET "/" for 127.0.0.1 at 2012-06-29 14:54:30 -0500
110
-
111
- ActionController::RoutingError (No route matches [GET] "/"):
112
- actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
113
- actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
114
- railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
115
- railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
116
- actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
117
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
118
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
119
- activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
120
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
121
- actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
122
- railties (3.2.6) lib/rails/engine.rb:479:in `call'
123
- railties (3.2.6) lib/rails/application.rb:220:in `call'
124
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
125
- railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
126
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
127
- /home/dantemss/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
128
- /home/dantemss/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
129
- /home/dantemss/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_comment_commontable_thread'
130
-
131
-
132
- Rendered /home/dantemss/.rvm/gems/ruby-1.9.2-p320@osc/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.9ms)
133
-
134
-
135
- Started GET "/commontator" for 127.0.0.1 at 2012-06-29 14:54:34 -0500
136
-
137
- ActionController::RoutingError (No route matches [GET] "/commontator"):
138
- actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
139
- actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
140
- railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
141
- railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
142
- actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
143
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
144
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
145
- activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
146
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
147
- actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
148
- railties (3.2.6) lib/rails/engine.rb:479:in `call'
149
- railties (3.2.6) lib/rails/application.rb:220:in `call'
150
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
151
- railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
152
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
153
- /home/dantemss/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
154
- /home/dantemss/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
155
- /home/dantemss/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_comment_commontable_thread'
156
-
157
-
158
- Rendered /home/dantemss/.rvm/gems/ruby-1.9.2-p320@osc/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
159
- Connecting to database specified by database.yml
160
- Connecting to database specified by database.yml
161
- Connecting to database specified by database.yml
162
- Connecting to database specified by database.yml
163
- Connecting to database specified by database.yml
164
- Connecting to database specified by database.yml
165
- Connecting to database specified by database.yml
166
- Connecting to database specified by database.yml
167
- Connecting to database specified by database.yml
168
- Connecting to database specified by database.yml
169
- Connecting to database specified by database.yml
170
- Connecting to database specified by database.yml
171
- Connecting to database specified by database.yml
172
- Connecting to database specified by database.yml
173
- Connecting to database specified by database.yml
174
- Connecting to database specified by database.yml
175
- Connecting to database specified by database.yml
176
- Connecting to database specified by database.yml
177
- Connecting to database specified by database.yml
178
- Connecting to database specified by database.yml
179
- Connecting to database specified by database.yml
180
- Connecting to database specified by database.yml
181
- Connecting to database specified by database.yml
182
- Connecting to database specified by database.yml
183
- Connecting to database specified by database.yml
184
- Connecting to database specified by database.yml
185
- Connecting to database specified by database.yml
186
- Connecting to database specified by database.yml
187
- Connecting to database specified by database.yml
188
- Connecting to database specified by database.yml
189
- Connecting to database specified by database.yml
190
- Connecting to database specified by database.yml
191
- Connecting to database specified by database.yml
192
- Connecting to database specified by database.yml
193
- Connecting to database specified by database.yml
194
- Connecting to database specified by database.yml
195
- Connecting to database specified by database.yml
196
- Connecting to database specified by database.yml
197
- Connecting to database specified by database.yml
198
- Connecting to database specified by database.yml
199
- Connecting to database specified by database.yml
200
- Connecting to database specified by database.yml
201
- Connecting to database specified by database.yml
202
- Connecting to database specified by database.yml
203
- Connecting to database specified by database.yml
204
- Connecting to database specified by database.yml
205
- Connecting to database specified by database.yml
206
- Connecting to database specified by database.yml
207
- Connecting to database specified by database.yml
208
- Connecting to database specified by database.yml
209
- Connecting to database specified by database.yml
210
- Connecting to database specified by database.yml
211
- Connecting to database specified by database.yml
212
- Connecting to database specified by database.yml
213
- Connecting to database specified by database.yml
214
- Connecting to database specified by database.yml
215
- Connecting to database specified by database.yml
216
- Connecting to database specified by database.yml
217
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
218
- Migrating to InstallCommontator (20120710213148)
219
-  (0.0ms) select sqlite_version(*)
220
-  (0.0ms) begin transaction
221
-  (0.6ms) CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "commontator_id" integer, "commontator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
222
-  (0.2ms) CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "is_unread" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
223
-  (0.3ms) CREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
224
-  (0.0ms) PRAGMA index_list("commontator_comments")
225
-  (0.2ms) CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("commontator_id", "commontator_type", "thread_id")
226
-  (0.0ms) PRAGMA index_list("commontator_comments")
227
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
228
-  (0.1ms) CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
229
-  (0.0ms) PRAGMA index_list("commontator_subscriptions")
230
-  (0.3ms) CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
231
-  (0.0ms) PRAGMA index_list("commontator_subscriptions")
232
-  (0.0ms) PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
233
-  (0.1ms) CREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")
234
-  (0.0ms) PRAGMA index_list("commontator_threads")
235
-  (0.2ms) CREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")
236
-  (0.0ms) PRAGMA index_list("commontator_comments")
237
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
238
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
239
-  (0.1ms) CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
240
-  (0.0ms) PRAGMA index_list("commontator_comments")
241
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
242
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
243
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
244
-  (0.1ms) CREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")
245
-  (0.1ms) PRAGMA index_list("commontator_comments")
246
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_up')
247
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
248
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
249
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
250
-  (0.1ms) CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
251
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120710213148')
252
-  (339.0ms) commit transaction
253
-  (0.4ms) select sqlite_version(*)
254
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
255
-  (0.1ms) PRAGMA index_list("commontator_comments")
256
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
257
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_up')
258
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
259
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
260
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
261
-  (0.0ms) PRAGMA index_list("commontator_subscriptions")
262
-  (0.0ms) PRAGMA index_info('index_commontator_subscriptions_on_thread_id')
263
-  (0.0ms) PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
264
-  (0.0ms) PRAGMA index_list("commontator_threads")
265
-  (0.0ms) PRAGMA index_info('index_commontator_threads_on_commontable_id_and_commontable_type')
266
- Connecting to database specified by database.yml
267
- Connecting to database specified by database.yml
268
- Connecting to database specified by database.yml
269
- Connecting to database specified by database.yml
270
- Connecting to database specified by database.yml
271
- Connecting to database specified by database.yml
272
- Connecting to database specified by database.yml
273
- Connecting to database specified by database.yml
274
- Connecting to database specified by database.yml
275
- Connecting to database specified by database.yml
276
- Connecting to database specified by database.yml
277
- Connecting to database specified by database.yml
278
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
279
- Migrating to InstallCommontator (1)
280
-  (0.0ms) select sqlite_version(*)
281
-  (0.0ms) begin transaction
282
-  (0.2ms) CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "commontator_id" integer, "commontator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
283
- SQLite3::SQLException: table "commontator_comments" already exists: CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "commontator_id" integer, "commontator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
284
-  (0.1ms) rollback transaction
285
- Connecting to database specified by database.yml
286
-  (0.1ms) select sqlite_version(*)
287
-  (288.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
288
-  (0.1ms) PRAGMA index_list("schema_migrations")
289
-  (237.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
290
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
291
- Migrating to InstallCommontator (1)
292
-  (0.0ms) begin transaction
293
-  (0.5ms) CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "commontator_id" integer, "commontator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
294
-  (0.2ms) CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "is_unread" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
295
-  (0.2ms) CREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
296
-  (0.0ms) PRAGMA index_list("commontator_comments")
297
-  (0.1ms) CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("commontator_id", "commontator_type", "thread_id")
298
-  (0.0ms) PRAGMA index_list("commontator_comments")
299
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
300
-  (0.2ms) CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
301
-  (0.0ms) PRAGMA index_list("commontator_subscriptions")
302
-  (0.2ms) CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
303
-  (0.0ms) PRAGMA index_list("commontator_subscriptions")
304
-  (0.0ms) PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
305
-  (0.1ms) CREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")
306
-  (0.0ms) PRAGMA index_list("commontator_threads")
307
-  (0.1ms) CREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")
308
-  (0.0ms) PRAGMA index_list("commontator_comments")
309
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
310
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
311
-  (0.2ms) CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
312
-  (0.0ms) PRAGMA index_list("commontator_comments")
313
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
314
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
315
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
316
-  (0.2ms) CREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")
317
-  (0.1ms) PRAGMA index_list("commontator_comments")
318
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_up')
319
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
320
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
321
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
322
-  (0.2ms) CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
323
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1')
324
-  (362.6ms) commit transaction
325
-  (0.4ms) select sqlite_version(*)
326
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
327
-  (0.0ms) PRAGMA index_list("commontator_comments")
328
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
329
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_up')
330
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
331
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
332
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
333
-  (0.0ms) PRAGMA index_list("commontator_subscriptions")
334
-  (0.0ms) PRAGMA index_info('index_commontator_subscriptions_on_thread_id')
335
-  (0.0ms) PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
336
-  (0.0ms) PRAGMA index_list("commontator_threads")
337
-  (0.0ms) PRAGMA index_info('index_commontator_threads_on_commontable_id_and_commontable_type')
338
- Connecting to database specified by database.yml
339
- Connecting to database specified by database.yml
340
- Connecting to database specified by database.yml
341
- Connecting to database specified by database.yml
342
- Connecting to database specified by database.yml
343
- SQLite3::SQLException: no such column: a: SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 1 ORDER BY a
344
- Connecting to database specified by database.yml
345
- Connecting to database specified by database.yml
346
- Connecting to database specified by database.yml
347
- Connecting to database specified by database.yml
348
- Connecting to database specified by database.yml
349
- Connecting to database specified by database.yml
350
- Connecting to database specified by database.yml
351
- Connecting to database specified by database.yml
352
- Connecting to database specified by database.yml
353
- Connecting to database specified by database.yml
354
- Connecting to database specified by database.yml
355
- Connecting to database specified by database.yml
356
- Connecting to database specified by database.yml
357
- Connecting to database specified by database.yml
358
-  (0.1ms) select sqlite_version(*)
359
-  (289.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
360
-  (0.1ms) PRAGMA index_list("schema_migrations")
361
-  (265.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
362
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
363
- Migrating to InstallCommontator (1)
364
-  (0.0ms) begin transaction
365
-  (0.6ms) CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
366
-  (0.2ms) CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "is_unread" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
367
-  (0.2ms) CREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
368
-  (0.0ms) PRAGMA index_list("commontator_comments")
369
-  (0.2ms) CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
370
-  (0.0ms) PRAGMA index_list("commontator_comments")
371
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
372
-  (0.2ms) CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
373
-  (0.0ms) PRAGMA index_list("commontator_subscriptions")
374
-  (8.3ms) CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
375
-  (0.0ms) PRAGMA index_list("commontator_subscriptions")
376
-  (0.0ms) PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
377
-  (0.2ms) CREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")
378
-  (0.0ms) PRAGMA index_list("commontator_threads")
379
-  (0.2ms) CREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")
380
-  (0.0ms) PRAGMA index_list("commontator_comments")
381
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
382
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
383
-  (0.2ms) CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
384
-  (0.0ms) PRAGMA index_list("commontator_comments")
385
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
386
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
387
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
388
-  (0.2ms) CREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")
389
-  (0.0ms) PRAGMA index_list("commontator_comments")
390
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_up')
391
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
392
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
393
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
394
-  (0.1ms) CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
395
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1')
396
-  (317.7ms) commit transaction
397
-  (0.4ms) select sqlite_version(*)
398
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
399
-  (0.1ms) PRAGMA index_list("commontator_comments")
400
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
401
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_up')
402
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
403
-  (0.0ms) PRAGMA index_info('index_commontator_comments_on_thread_id')
404
-  (0.0ms) PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
405
-  (0.0ms) PRAGMA index_list("commontator_subscriptions")
406
-  (0.0ms) PRAGMA index_info('index_commontator_subscriptions_on_thread_id')
407
-  (0.0ms) PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
408
-  (0.0ms) PRAGMA index_list("commontator_threads")
409
-  (0.0ms) PRAGMA index_info('index_commontator_threads_on_commontable_id_and_commontable_type')
410
- Connecting to database specified by database.yml
411
- Connecting to database specified by database.yml
412
- Connecting to database specified by database.yml
413
- Connecting to database specified by database.yml
414
- Connecting to database specified by database.yml