commontator 0.5.14 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +47 -10
- data/Rakefile +6 -5
- data/app/controllers/commontator/application_controller.rb +3 -1
- data/app/controllers/commontator/application_controller.rb~ +5 -2
- data/app/controllers/commontator/comments_controller.rb +9 -10
- data/app/controllers/commontator/comments_controller.rb~ +9 -10
- data/app/controllers/commontator/commontator_controller.rb~ +22 -0
- data/app/controllers/commontator/subscriptions_controller.rb +2 -2
- data/app/controllers/commontator/subscriptions_controller.rb~ +3 -3
- data/app/controllers/commontator/threads_controller.rb +4 -3
- data/app/controllers/commontator/threads_controller.rb~ +5 -3
- data/app/helpers/commontator/commontator_helper.rb~ +7 -0
- data/app/mailers/commontator/subscriptions_mailer.rb +2 -1
- data/app/mailers/commontator/subscriptions_mailer.rb~ +3 -1
- data/app/models/commontator/comment.rb +13 -9
- data/app/models/commontator/comment.rb~ +14 -10
- data/app/models/commontator/subscription.rb +3 -3
- data/app/models/commontator/subscription.rb~ +19 -0
- data/app/models/commontator/thread.rb +17 -41
- data/app/models/commontator/thread.rb~ +119 -0
- data/app/views/commontator/shared/_thread.html.erb +4 -1
- data/app/views/commontator/shared/_thread.html.erb~ +5 -2
- data/app/views/commontator/subscriptions_mailer/comment_created_email.html.erb +1 -1
- data/app/views/commontator/subscriptions_mailer/comment_created_email.html.erb~ +6 -0
- data/config/initializers/commontator.rb +42 -64
- data/{test/dummy/config/initializers/commontator.rb → config/initializers/commontator.rb~} +42 -64
- data/db/migrate/0_install_commontator.rb +1 -1
- data/{test/dummy/db/migrate/1_install_commontator.commontator.rb → db/migrate/0_install_commontator.rb~} +1 -2
- data/lib/commontator.rb +7 -12
- data/lib/commontator.rb~ +7 -12
- data/lib/commontator/commontable_config.rb +1 -1
- data/lib/commontator/commontable_config.rb~ +13 -0
- data/lib/commontator/commontator_config.rb +1 -1
- data/lib/commontator/commontator_config.rb~ +13 -0
- data/lib/commontator/controller_includes.rb +1 -0
- data/lib/commontator/controller_includes.rb~ +1 -1
- data/lib/commontator/security_transgression.rb +3 -0
- data/{test/dummy/public/favicon.ico → lib/commontator/security_transgression.rb~} +0 -0
- data/lib/commontator/shared_helper.rb +1 -1
- data/lib/commontator/shared_helper.rb~ +2 -2
- data/lib/commontator/version.rb +1 -1
- data/lib/commontator/version.rb~ +1 -1
- metadata +46 -89
- data/test/commontator_test.rb +0 -7
- data/test/dummy/README.rdoc +0 -261
- data/test/dummy/Rakefile +0 -7
- data/test/dummy/app/assets/javascripts/application.js +0 -15
- data/test/dummy/app/assets/stylesheets/application.css +0 -13
- data/test/dummy/app/controllers/application_controller.rb +0 -3
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/config.ru +0 -4
- data/test/dummy/config/application.rb +0 -59
- data/test/dummy/config/boot.rb +0 -10
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -37
- data/test/dummy/config/environments/production.rb +0 -67
- data/test/dummy/config/environments/test.rb +0 -37
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/inflections.rb +0 -15
- data/test/dummy/config/initializers/mime_types.rb +0 -5
- data/test/dummy/config/initializers/secret_token.rb +0 -7
- data/test/dummy/config/initializers/session_store.rb +0 -8
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -5
- data/test/dummy/config/routes.rb +0 -4
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +0 -61
- data/test/dummy/log/development.log +0 -414
- data/test/dummy/public/404.html +0 -26
- data/test/dummy/public/422.html +0 -26
- data/test/dummy/public/500.html +0 -25
- data/test/dummy/script/rails +0 -6
- data/test/functional/comments_controller_test.rb +0 -181
- data/test/functional/subscriptions_controller_test.rb +0 -122
- data/test/integration/navigation_test.rb +0 -10
- data/test/test_helper.rb +0 -15
- data/test/unit/comment_test.rb +0 -35
- data/test/unit/helpers/comments_helper_test.rb +0 -4
- data/test/unit/helpers/subscriptions_helper_test.rb +0 -4
- data/test/unit/subscription_test.rb +0 -15
- 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,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
|
data/test/dummy/config/routes.rb
DELETED
Binary file
|
data/test/dummy/db/schema.rb
DELETED
@@ -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
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
83
|
-
[1m[35m (249.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
84
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
85
|
-
[1m[35m (235.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
86
|
-
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
87
|
-
Connecting to database specified by database.yml
|
88
|
-
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
89
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
90
|
-
Connecting to database specified by database.yml
|
91
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
92
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
93
|
-
[1m[36m (223.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
94
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
95
|
-
[1m[36m (224.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
96
|
-
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
97
|
-
[1m[36m (186.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
98
|
-
Connecting to database specified by database.yml
|
99
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
100
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
101
|
-
[1m[36m (290.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
102
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
103
|
-
[1m[36m (240.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
104
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
105
|
-
[1m[36m (202.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
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
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
218
|
-
Migrating to InstallCommontator (20120710213148)
|
219
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
220
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
221
|
-
[1m[35m (0.6ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
223
|
-
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
225
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("commontator_id", "commontator_type", "thread_id")
|
226
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
227
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
228
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
229
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_subscriptions")
|
230
|
-
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")[0m
|
231
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_subscriptions")
|
232
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')[0m
|
233
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")
|
234
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_threads")[0m
|
235
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")
|
236
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
237
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_thread_id')
|
238
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')[0m
|
239
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
240
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
241
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
242
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_thread_id')[0m
|
243
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
244
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
245
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
246
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
247
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
248
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_thread_id')[0m
|
249
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
250
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
251
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120710213148')
|
252
|
-
[1m[36m (339.0ms)[0m [1mcommit transaction[0m
|
253
|
-
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
254
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
255
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
256
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
257
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_up')
|
258
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
259
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_thread_id')
|
260
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')[0m
|
261
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_subscriptions")
|
262
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_subscriptions_on_thread_id')[0m
|
263
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
264
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_threads")[0m
|
265
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
279
|
-
Migrating to InstallCommontator (1)
|
280
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
281
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
282
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
285
|
-
Connecting to database specified by database.yml
|
286
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
287
|
-
[1m[35m (288.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
288
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
289
|
-
[1m[35m (237.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
290
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
291
|
-
Migrating to InstallCommontator (1)
|
292
|
-
[1m[35m (0.0ms)[0m begin transaction
|
293
|
-
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
294
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
296
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_comments")
|
297
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("commontator_id", "commontator_type", "thread_id")[0m
|
298
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_comments")
|
299
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')[0m
|
300
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
301
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
302
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
304
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
305
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
306
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_threads")
|
307
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
308
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_comments")
|
309
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_thread_id')[0m
|
310
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
311
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
312
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_comments")
|
313
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
314
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_thread_id')
|
315
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')[0m
|
316
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")
|
317
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
318
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_up')
|
319
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
320
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_thread_id')
|
321
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')[0m
|
322
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
323
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('1')[0m
|
324
|
-
[1m[35m (362.6ms)[0m commit transaction
|
325
|
-
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
326
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
327
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
328
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
329
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
330
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
331
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_thread_id')[0m
|
332
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
333
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
334
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_subscriptions_on_thread_id')
|
335
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')[0m
|
336
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_threads")
|
337
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_threads_on_commontable_id_and_commontable_type')[0m
|
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
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
359
|
-
[1m[35m (289.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
360
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
361
|
-
[1m[35m (265.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
362
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
363
|
-
Migrating to InstallCommontator (1)
|
364
|
-
[1m[35m (0.0ms)[0m begin transaction
|
365
|
-
[1m[36m (0.6ms)[0m [1mCREATE 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) [0m
|
366
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
368
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_comments")
|
369
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")[0m
|
370
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_comments")
|
371
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')[0m
|
372
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
373
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
374
|
-
[1m[35m (8.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
376
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
377
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
378
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_threads")
|
379
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
380
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_comments")
|
381
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_thread_id')[0m
|
382
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
383
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
384
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_comments")
|
385
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
386
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_thread_id')
|
387
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')[0m
|
388
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")
|
389
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
390
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_up')
|
391
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
392
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_thread_id')
|
393
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')[0m
|
394
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
395
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('1')[0m
|
396
|
-
[1m[35m (317.7ms)[0m commit transaction
|
397
|
-
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
398
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
399
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
400
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
401
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
402
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
403
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_thread_id')[0m
|
404
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
405
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
406
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_subscriptions_on_thread_id')
|
407
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')[0m
|
408
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_threads")
|
409
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_threads_on_commontable_id_and_commontable_type')[0m
|
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
|