commontator 4.11.1 → 5.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.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/app/controllers/commontator/application_controller.rb +4 -4
- data/app/controllers/commontator/comments_controller.rb +15 -15
- data/app/controllers/commontator/subscriptions_controller.rb +1 -1
- data/app/controllers/commontator/threads_controller.rb +5 -5
- data/app/mailers/commontator/subscriptions_mailer.rb +25 -37
- data/app/models/commontator/comment.rb +11 -11
- data/app/models/commontator/subscription.rb +2 -2
- data/app/models/commontator/thread.rb +9 -9
- data/app/views/commontator/comments/_actions.html.erb +8 -8
- data/app/views/commontator/comments/_body.html.erb +1 -1
- data/app/views/commontator/comments/_form.html.erb +3 -3
- data/app/views/commontator/comments/_list.html.erb +3 -3
- data/app/views/commontator/comments/_show.html.erb +8 -8
- data/app/views/commontator/comments/_votes.html.erb +16 -16
- data/app/views/commontator/comments/cancel.js.erb +5 -5
- data/app/views/commontator/comments/create.js.erb +9 -9
- data/app/views/commontator/comments/delete.js.erb +7 -7
- data/app/views/commontator/comments/edit.js.erb +2 -2
- data/app/views/commontator/comments/new.js.erb +4 -4
- data/app/views/commontator/comments/update.js.erb +1 -1
- data/app/views/commontator/comments/vote.js.erb +3 -3
- data/app/views/commontator/shared/_thread.html.erb +6 -6
- data/app/views/commontator/subscriptions/_link.html.erb +5 -5
- data/app/views/commontator/subscriptions/subscribe.js.erb +3 -3
- data/app/views/commontator/subscriptions_mailer/comment_created.html.erb +6 -6
- data/app/views/commontator/threads/_reply.html.erb +6 -6
- data/app/views/commontator/threads/_show.html.erb +33 -33
- data/app/views/commontator/threads/_show.js.erb +7 -7
- data/app/views/commontator/threads/show.js.erb +6 -6
- data/config/initializers/commontator.rb +43 -38
- data/config/locales/de.yml +100 -0
- data/config/locales/en.yml +26 -27
- data/config/locales/pt-BR.yml +78 -0
- data/config/locales/ru.yml +25 -26
- data/config/locales/zh.yml +26 -27
- data/config/routes.rb +4 -4
- data/db/migrate/0_install_commontator.rb +17 -17
- data/lib/commontator.rb +2 -2
- data/lib/commontator/acts_as_commontable.rb +14 -12
- data/lib/commontator/acts_as_commontator.rb +5 -5
- data/lib/commontator/shared_helper.rb +6 -6
- data/lib/commontator/version.rb +1 -1
- data/lib/tasks/commontator_tasks.rake +2 -2
- data/spec/controllers/commontator/comments_controller_spec.rb +76 -75
- data/spec/controllers/commontator/subscriptions_controller_spec.rb +26 -27
- data/spec/controllers/commontator/threads_controller_spec.rb +42 -41
- data/spec/dummy/app/controllers/dummy_models_controller.rb +1 -1
- data/spec/dummy/app/views/layouts/application.html.erb +1 -2
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/config/environments/development.rb +1 -2
- data/spec/dummy/config/environments/production.rb +1 -2
- data/spec/dummy/config/environments/test.rb +1 -2
- data/spec/dummy/config/initializers/commontator.rb +7 -7
- data/spec/dummy/config/routes.rb +2 -3
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/1_create_dummy_models.rb +2 -3
- data/spec/dummy/db/migrate/2_create_dummy_users.rb +2 -3
- data/spec/dummy/db/migrate/3_acts_as_votable_migration.rb +4 -10
- data/spec/dummy/db/schema.rb +45 -48
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +413 -0
- data/spec/dummy/log/test.log +33690 -0
- data/spec/lib/commontator/commontable_config_spec.rb +4 -5
- data/spec/lib/commontator/commontator_config_spec.rb +4 -5
- data/spec/lib/commontator_spec.rb +2 -3
- data/spec/mailers/commontator/subscriptions_mailer_spec.rb +2 -3
- data/spec/models/commontator/comment_spec.rb +10 -10
- data/spec/rails_helper.rb +3 -2
- metadata +64 -44
@@ -1,20 +1,15 @@
|
|
1
|
-
class ActsAsVotableMigration < ActiveRecord::Migration
|
1
|
+
class ActsAsVotableMigration < ActiveRecord::Migration[5.0]
|
2
2
|
def self.up
|
3
3
|
create_table :votes do |t|
|
4
4
|
|
5
|
-
t.references :votable, :
|
6
|
-
t.references :voter, :
|
5
|
+
t.references :votable, polymorphic: true
|
6
|
+
t.references :voter, polymorphic: true
|
7
7
|
|
8
8
|
t.boolean :vote_flag
|
9
9
|
t.string :vote_scope
|
10
10
|
t.integer :vote_weight
|
11
11
|
|
12
|
-
t.timestamps
|
13
|
-
end
|
14
|
-
|
15
|
-
if ActiveRecord::VERSION::MAJOR < 4
|
16
|
-
add_index :votes, [:votable_id, :votable_type]
|
17
|
-
add_index :votes, [:voter_id, :voter_type]
|
12
|
+
t.timestamps null: false
|
18
13
|
end
|
19
14
|
|
20
15
|
add_index :votes, [:voter_id, :voter_type, :vote_scope]
|
@@ -25,4 +20,3 @@ class ActsAsVotableMigration < ActiveRecord::Migration
|
|
25
20
|
drop_table :votes
|
26
21
|
end
|
27
22
|
end
|
28
|
-
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
# encoding: UTF-8
|
2
1
|
# This file is auto-generated from the current state of the database. Instead
|
3
2
|
# of editing this file, please use the migrations feature of Active Record to
|
4
3
|
# incrementally modify your database, and then regenerate this schema definition.
|
@@ -14,70 +13,68 @@
|
|
14
13
|
ActiveRecord::Schema.define(version: 3) do
|
15
14
|
|
16
15
|
create_table "commontator_comments", force: :cascade do |t|
|
17
|
-
t.string
|
18
|
-
t.integer
|
19
|
-
t.string
|
20
|
-
t.integer
|
21
|
-
t.integer
|
22
|
-
t.text
|
16
|
+
t.string "creator_type"
|
17
|
+
t.integer "creator_id"
|
18
|
+
t.string "editor_type"
|
19
|
+
t.integer "editor_id"
|
20
|
+
t.integer "thread_id", null: false
|
21
|
+
t.text "body", null: false
|
23
22
|
t.datetime "deleted_at"
|
24
|
-
t.integer
|
25
|
-
t.integer
|
26
|
-
t.datetime "created_at"
|
27
|
-
t.datetime "updated_at"
|
23
|
+
t.integer "cached_votes_up", default: 0
|
24
|
+
t.integer "cached_votes_down", default: 0
|
25
|
+
t.datetime "created_at", null: false
|
26
|
+
t.datetime "updated_at", null: false
|
27
|
+
t.index ["cached_votes_down"], name: "index_commontator_comments_on_cached_votes_down"
|
28
|
+
t.index ["cached_votes_up"], name: "index_commontator_comments_on_cached_votes_up"
|
29
|
+
t.index ["creator_id", "creator_type", "thread_id"], name: "index_commontator_comments_on_c_id_and_c_type_and_t_id"
|
30
|
+
t.index ["thread_id", "created_at"], name: "index_commontator_comments_on_thread_id_and_created_at"
|
28
31
|
end
|
29
32
|
|
30
|
-
add_index "commontator_comments", ["cached_votes_down"], name: "index_commontator_comments_on_cached_votes_down"
|
31
|
-
add_index "commontator_comments", ["cached_votes_up"], name: "index_commontator_comments_on_cached_votes_up"
|
32
|
-
add_index "commontator_comments", ["creator_id", "creator_type", "thread_id"], name: "index_commontator_comments_on_c_id_and_c_type_and_t_id"
|
33
|
-
add_index "commontator_comments", ["thread_id", "created_at"], name: "index_commontator_comments_on_thread_id_and_created_at"
|
34
|
-
|
35
33
|
create_table "commontator_subscriptions", force: :cascade do |t|
|
36
|
-
t.string
|
37
|
-
t.integer
|
38
|
-
t.integer
|
39
|
-
t.datetime "created_at"
|
40
|
-
t.datetime "updated_at"
|
34
|
+
t.string "subscriber_type", null: false
|
35
|
+
t.integer "subscriber_id", null: false
|
36
|
+
t.integer "thread_id", null: false
|
37
|
+
t.datetime "created_at", null: false
|
38
|
+
t.datetime "updated_at", null: false
|
39
|
+
t.index ["subscriber_id", "subscriber_type", "thread_id"], name: "index_commontator_subscriptions_on_s_id_and_s_type_and_t_id", unique: true
|
40
|
+
t.index ["thread_id"], name: "index_commontator_subscriptions_on_thread_id"
|
41
41
|
end
|
42
42
|
|
43
|
-
add_index "commontator_subscriptions", ["subscriber_id", "subscriber_type", "thread_id"], name: "index_commontator_subscriptions_on_s_id_and_s_type_and_t_id", unique: true
|
44
|
-
add_index "commontator_subscriptions", ["thread_id"], name: "index_commontator_subscriptions_on_thread_id"
|
45
|
-
|
46
43
|
create_table "commontator_threads", force: :cascade do |t|
|
47
|
-
t.string
|
48
|
-
t.integer
|
44
|
+
t.string "commontable_type"
|
45
|
+
t.integer "commontable_id"
|
49
46
|
t.datetime "closed_at"
|
50
|
-
t.string
|
51
|
-
t.integer
|
52
|
-
t.datetime "created_at"
|
53
|
-
t.datetime "updated_at"
|
47
|
+
t.string "closer_type"
|
48
|
+
t.integer "closer_id"
|
49
|
+
t.datetime "created_at", null: false
|
50
|
+
t.datetime "updated_at", null: false
|
51
|
+
t.index ["commontable_id", "commontable_type"], name: "index_commontator_threads_on_c_id_and_c_type", unique: true
|
54
52
|
end
|
55
53
|
|
56
|
-
add_index "commontator_threads", ["commontable_id", "commontable_type"], name: "index_commontator_threads_on_c_id_and_c_type", unique: true
|
57
|
-
|
58
54
|
create_table "dummy_models", force: :cascade do |t|
|
59
|
-
t.datetime "created_at"
|
60
|
-
t.datetime "updated_at"
|
55
|
+
t.datetime "created_at", null: false
|
56
|
+
t.datetime "updated_at", null: false
|
61
57
|
end
|
62
58
|
|
63
59
|
create_table "dummy_users", force: :cascade do |t|
|
64
|
-
t.datetime "created_at"
|
65
|
-
t.datetime "updated_at"
|
60
|
+
t.datetime "created_at", null: false
|
61
|
+
t.datetime "updated_at", null: false
|
66
62
|
end
|
67
63
|
|
68
64
|
create_table "votes", force: :cascade do |t|
|
69
|
-
t.
|
70
|
-
t.
|
71
|
-
t.
|
72
|
-
t.
|
73
|
-
t.boolean
|
74
|
-
t.string
|
75
|
-
t.integer
|
76
|
-
t.datetime "created_at"
|
77
|
-
t.datetime "updated_at"
|
65
|
+
t.string "votable_type"
|
66
|
+
t.integer "votable_id"
|
67
|
+
t.string "voter_type"
|
68
|
+
t.integer "voter_id"
|
69
|
+
t.boolean "vote_flag"
|
70
|
+
t.string "vote_scope"
|
71
|
+
t.integer "vote_weight"
|
72
|
+
t.datetime "created_at", null: false
|
73
|
+
t.datetime "updated_at", null: false
|
74
|
+
t.index ["votable_id", "votable_type", "vote_scope"], name: "index_votes_on_votable_id_and_votable_type_and_vote_scope"
|
75
|
+
t.index ["votable_type", "votable_id"], name: "index_votes_on_votable_type_and_votable_id"
|
76
|
+
t.index ["voter_id", "voter_type", "vote_scope"], name: "index_votes_on_voter_id_and_voter_type_and_vote_scope"
|
77
|
+
t.index ["voter_type", "voter_id"], name: "index_votes_on_voter_type_and_voter_id"
|
78
78
|
end
|
79
79
|
|
80
|
-
add_index "votes", ["votable_id", "votable_type", "vote_scope"], name: "index_votes_on_votable_id_and_votable_type_and_vote_scope"
|
81
|
-
add_index "votes", ["voter_id", "voter_type", "vote_scope"], name: "index_votes_on_voter_id_and_voter_type_and_vote_scope"
|
82
|
-
|
83
80
|
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -0,0 +1,413 @@
|
|
1
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2
|
+
[1m[35m (2.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
4
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5
|
+
Migrating to InstallCommontator (0)
|
6
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
7
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
8
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
9
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
10
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
11
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
12
|
+
Migrating to InstallCommontator (0)
|
13
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
14
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar, "creator_id" integer, "editor_type" varchar, "editor_id" integer, "thread_id" integer NOT NULL, "body" text NOT NULL, "deleted_at" datetime, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
15
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_commontator_comments_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")[0m
|
16
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
17
|
+
FROM sqlite_master
|
18
|
+
WHERE name='index_commontator_comments_on_c_id_and_c_type_and_t_id' AND type='index'
|
19
|
+
UNION ALL
|
20
|
+
SELECT sql
|
21
|
+
FROM sqlite_temp_master
|
22
|
+
WHERE name='index_commontator_comments_on_c_id_and_c_type_and_t_id' AND type='index'
|
23
|
+
[0m
|
24
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_commontator_comments_on_thread_id_and_created_at" ON "commontator_comments" ("thread_id", "created_at")[0m
|
25
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
26
|
+
FROM sqlite_master
|
27
|
+
WHERE name='index_commontator_comments_on_thread_id_and_created_at' AND type='index'
|
28
|
+
UNION ALL
|
29
|
+
SELECT sql
|
30
|
+
FROM sqlite_temp_master
|
31
|
+
WHERE name='index_commontator_comments_on_thread_id_and_created_at' AND type='index'
|
32
|
+
[0m
|
33
|
+
[1m[35m (0.0ms)[0m [1m[34m SELECT sql
|
34
|
+
FROM sqlite_master
|
35
|
+
WHERE name='index_commontator_comments_on_c_id_and_c_type_and_t_id' AND type='index'
|
36
|
+
UNION ALL
|
37
|
+
SELECT sql
|
38
|
+
FROM sqlite_temp_master
|
39
|
+
WHERE name='index_commontator_comments_on_c_id_and_c_type_and_t_id' AND type='index'
|
40
|
+
[0m
|
41
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
42
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
43
|
+
FROM sqlite_master
|
44
|
+
WHERE name='index_commontator_comments_on_cached_votes_up' AND type='index'
|
45
|
+
UNION ALL
|
46
|
+
SELECT sql
|
47
|
+
FROM sqlite_temp_master
|
48
|
+
WHERE name='index_commontator_comments_on_cached_votes_up' AND type='index'
|
49
|
+
[0m
|
50
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
51
|
+
FROM sqlite_master
|
52
|
+
WHERE name='index_commontator_comments_on_thread_id_and_created_at' AND type='index'
|
53
|
+
UNION ALL
|
54
|
+
SELECT sql
|
55
|
+
FROM sqlite_temp_master
|
56
|
+
WHERE name='index_commontator_comments_on_thread_id_and_created_at' AND type='index'
|
57
|
+
[0m
|
58
|
+
[1m[35m (0.0ms)[0m [1m[34m SELECT sql
|
59
|
+
FROM sqlite_master
|
60
|
+
WHERE name='index_commontator_comments_on_c_id_and_c_type_and_t_id' AND type='index'
|
61
|
+
UNION ALL
|
62
|
+
SELECT sql
|
63
|
+
FROM sqlite_temp_master
|
64
|
+
WHERE name='index_commontator_comments_on_c_id_and_c_type_and_t_id' AND type='index'
|
65
|
+
[0m
|
66
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
67
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
68
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_commontator_subscriptions_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")[0m
|
69
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
70
|
+
FROM sqlite_master
|
71
|
+
WHERE name='index_commontator_subscriptions_on_s_id_and_s_type_and_t_id' AND type='index'
|
72
|
+
UNION ALL
|
73
|
+
SELECT sql
|
74
|
+
FROM sqlite_temp_master
|
75
|
+
WHERE name='index_commontator_subscriptions_on_s_id_and_s_type_and_t_id' AND type='index'
|
76
|
+
[0m
|
77
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
78
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar, "commontable_id" integer, "closed_at" datetime, "closer_type" varchar, "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
79
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_commontator_threads_on_c_id_and_c_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
80
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "0"]]
|
81
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
82
|
+
Migrating to CreateDummyModels (1)
|
83
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
84
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
85
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "1"]]
|
86
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
87
|
+
Migrating to CreateDummyUsers (2)
|
88
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
89
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
90
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "2"]]
|
91
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
92
|
+
Migrating to ActsAsVotableMigration (3)
|
93
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
94
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_type" varchar, "votable_id" integer, "voter_type" varchar, "voter_id" integer, "vote_flag" boolean, "vote_scope" varchar, "vote_weight" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
95
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "index_votes_on_votable_type_and_votable_id" ON "votes" ("votable_type", "votable_id")[0m
|
96
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
97
|
+
FROM sqlite_master
|
98
|
+
WHERE name='index_votes_on_votable_type_and_votable_id' AND type='index'
|
99
|
+
UNION ALL
|
100
|
+
SELECT sql
|
101
|
+
FROM sqlite_temp_master
|
102
|
+
WHERE name='index_votes_on_votable_type_and_votable_id' AND type='index'
|
103
|
+
[0m
|
104
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_votes_on_voter_type_and_voter_id" ON "votes" ("voter_type", "voter_id")[0m
|
105
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
106
|
+
FROM sqlite_master
|
107
|
+
WHERE name='index_votes_on_voter_type_and_voter_id' AND type='index'
|
108
|
+
UNION ALL
|
109
|
+
SELECT sql
|
110
|
+
FROM sqlite_temp_master
|
111
|
+
WHERE name='index_votes_on_voter_type_and_voter_id' AND type='index'
|
112
|
+
[0m
|
113
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
114
|
+
FROM sqlite_master
|
115
|
+
WHERE name='index_votes_on_votable_type_and_votable_id' AND type='index'
|
116
|
+
UNION ALL
|
117
|
+
SELECT sql
|
118
|
+
FROM sqlite_temp_master
|
119
|
+
WHERE name='index_votes_on_votable_type_and_votable_id' AND type='index'
|
120
|
+
[0m
|
121
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
122
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
123
|
+
FROM sqlite_master
|
124
|
+
WHERE name='index_votes_on_voter_id_and_voter_type_and_vote_scope' AND type='index'
|
125
|
+
UNION ALL
|
126
|
+
SELECT sql
|
127
|
+
FROM sqlite_temp_master
|
128
|
+
WHERE name='index_votes_on_voter_id_and_voter_type_and_vote_scope' AND type='index'
|
129
|
+
[0m
|
130
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
131
|
+
FROM sqlite_master
|
132
|
+
WHERE name='index_votes_on_voter_type_and_voter_id' AND type='index'
|
133
|
+
UNION ALL
|
134
|
+
SELECT sql
|
135
|
+
FROM sqlite_temp_master
|
136
|
+
WHERE name='index_votes_on_voter_type_and_voter_id' AND type='index'
|
137
|
+
[0m
|
138
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
139
|
+
FROM sqlite_master
|
140
|
+
WHERE name='index_votes_on_votable_type_and_votable_id' AND type='index'
|
141
|
+
UNION ALL
|
142
|
+
SELECT sql
|
143
|
+
FROM sqlite_temp_master
|
144
|
+
WHERE name='index_votes_on_votable_type_and_votable_id' AND type='index'
|
145
|
+
[0m
|
146
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
147
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "3"]]
|
148
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
149
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
150
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
151
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-22 21:24:05.879892"], ["updated_at", "2017-09-22 21:24:05.879892"]]
|
152
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
153
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
154
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
155
|
+
FROM sqlite_master
|
156
|
+
WHERE name='index_commontator_comments_on_cached_votes_down' AND type='index'
|
157
|
+
UNION ALL
|
158
|
+
SELECT sql
|
159
|
+
FROM sqlite_temp_master
|
160
|
+
WHERE name='index_commontator_comments_on_cached_votes_down' AND type='index'
|
161
|
+
[0m
|
162
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
163
|
+
FROM sqlite_master
|
164
|
+
WHERE name='index_commontator_comments_on_cached_votes_up' AND type='index'
|
165
|
+
UNION ALL
|
166
|
+
SELECT sql
|
167
|
+
FROM sqlite_temp_master
|
168
|
+
WHERE name='index_commontator_comments_on_cached_votes_up' AND type='index'
|
169
|
+
[0m
|
170
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
171
|
+
FROM sqlite_master
|
172
|
+
WHERE name='index_commontator_comments_on_thread_id_and_created_at' AND type='index'
|
173
|
+
UNION ALL
|
174
|
+
SELECT sql
|
175
|
+
FROM sqlite_temp_master
|
176
|
+
WHERE name='index_commontator_comments_on_thread_id_and_created_at' AND type='index'
|
177
|
+
[0m
|
178
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
179
|
+
FROM sqlite_master
|
180
|
+
WHERE name='index_commontator_comments_on_c_id_and_c_type_and_t_id' AND type='index'
|
181
|
+
UNION ALL
|
182
|
+
SELECT sql
|
183
|
+
FROM sqlite_temp_master
|
184
|
+
WHERE name='index_commontator_comments_on_c_id_and_c_type_and_t_id' AND type='index'
|
185
|
+
[0m
|
186
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
187
|
+
FROM sqlite_master
|
188
|
+
WHERE name='index_commontator_subscriptions_on_thread_id' AND type='index'
|
189
|
+
UNION ALL
|
190
|
+
SELECT sql
|
191
|
+
FROM sqlite_temp_master
|
192
|
+
WHERE name='index_commontator_subscriptions_on_thread_id' AND type='index'
|
193
|
+
[0m
|
194
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
195
|
+
FROM sqlite_master
|
196
|
+
WHERE name='index_commontator_subscriptions_on_s_id_and_s_type_and_t_id' AND type='index'
|
197
|
+
UNION ALL
|
198
|
+
SELECT sql
|
199
|
+
FROM sqlite_temp_master
|
200
|
+
WHERE name='index_commontator_subscriptions_on_s_id_and_s_type_and_t_id' AND type='index'
|
201
|
+
[0m
|
202
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
203
|
+
FROM sqlite_master
|
204
|
+
WHERE name='index_commontator_threads_on_c_id_and_c_type' AND type='index'
|
205
|
+
UNION ALL
|
206
|
+
SELECT sql
|
207
|
+
FROM sqlite_temp_master
|
208
|
+
WHERE name='index_commontator_threads_on_c_id_and_c_type' AND type='index'
|
209
|
+
[0m
|
210
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
211
|
+
FROM sqlite_master
|
212
|
+
WHERE name='index_votes_on_votable_id_and_votable_type_and_vote_scope' AND type='index'
|
213
|
+
UNION ALL
|
214
|
+
SELECT sql
|
215
|
+
FROM sqlite_temp_master
|
216
|
+
WHERE name='index_votes_on_votable_id_and_votable_type_and_vote_scope' AND type='index'
|
217
|
+
[0m
|
218
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
219
|
+
FROM sqlite_master
|
220
|
+
WHERE name='index_votes_on_voter_id_and_voter_type_and_vote_scope' AND type='index'
|
221
|
+
UNION ALL
|
222
|
+
SELECT sql
|
223
|
+
FROM sqlite_temp_master
|
224
|
+
WHERE name='index_votes_on_voter_id_and_voter_type_and_vote_scope' AND type='index'
|
225
|
+
[0m
|
226
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
227
|
+
FROM sqlite_master
|
228
|
+
WHERE name='index_votes_on_voter_type_and_voter_id' AND type='index'
|
229
|
+
UNION ALL
|
230
|
+
SELECT sql
|
231
|
+
FROM sqlite_temp_master
|
232
|
+
WHERE name='index_votes_on_voter_type_and_voter_id' AND type='index'
|
233
|
+
[0m
|
234
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
235
|
+
FROM sqlite_master
|
236
|
+
WHERE name='index_votes_on_votable_type_and_votable_id' AND type='index'
|
237
|
+
UNION ALL
|
238
|
+
SELECT sql
|
239
|
+
FROM sqlite_temp_master
|
240
|
+
WHERE name='index_votes_on_votable_type_and_votable_id' AND type='index'
|
241
|
+
[0m
|
242
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
243
|
+
Commontator::SubscriptionsMailer#comment_created: processed outbound mail in 0.3ms
|
244
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: edbdc44e-6973-432a-b4b2-10a96427e943) to Async(mailers) with arguments: "Commontator::SubscriptionsMailer", "comment_created", "deliver_now", nil, nil
|
245
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [edbdc44e-6973-432a-b4b2-10a96427e943] Performing ActionMailer::DeliveryJob (Job ID: edbdc44e-6973-432a-b4b2-10a96427e943) from Async(mailers) with arguments: "Commontator::SubscriptionsMailer", "comment_created", "deliver_now", nil, nil
|
246
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [edbdc44e-6973-432a-b4b2-10a96427e943] Commontator::SubscriptionsMailer#comment_created: processed outbound mail in 0.2ms
|
247
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [edbdc44e-6973-432a-b4b2-10a96427e943] Error performing ActionMailer::DeliveryJob (Job ID: edbdc44e-6973-432a-b4b2-10a96427e943) from Async(mailers) in 7.57ms: NoMethodError (undefined method `thread' for nil:NilClass):
|
248
|
+
/Users/dante/Desktop/commontator/app/mailers/commontator/subscriptions_mailer.rb:20:in `setup_variables'
|
249
|
+
/Users/dante/Desktop/commontator/app/mailers/commontator/subscriptions_mailer.rb:4:in `comment_created'
|
250
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:186:in `process_action'
|
251
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
252
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:97:in `run_callbacks'
|
253
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
|
254
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:124:in `process'
|
255
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/rescuable.rb:23:in `block in process'
|
256
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/rescuable.rb:15:in `handle_exceptions'
|
257
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/rescuable.rb:22:in `process'
|
258
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionview-5.1.4/lib/action_view/rendering.rb:30:in `process'
|
259
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/base.rb:609:in `block in process'
|
260
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `block in instrument'
|
261
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
262
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `instrument'
|
263
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/base.rb:608:in `process'
|
264
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/message_delivery.rb:105:in `block in processed_mailer'
|
265
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/message_delivery.rb:104:in `tap'
|
266
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/message_delivery.rb:104:in `processed_mailer'
|
267
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/message_delivery.rb:95:in `deliver_now'
|
268
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/delivery_job.rb:14:in `perform'
|
269
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/execution.rb:37:in `block in perform_now'
|
270
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
|
271
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
|
272
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
|
273
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec'
|
274
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
275
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:24:in `call'
|
276
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
|
277
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `block in instrument'
|
278
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
279
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `instrument'
|
280
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
|
281
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:44:in `block in tag_logger'
|
282
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
283
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:26:in `tagged'
|
284
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:69:in `tagged'
|
285
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:44:in `tag_logger'
|
286
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
|
287
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec'
|
288
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
289
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `call'
|
290
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks'
|
291
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/execution.rb:33:in `perform_now'
|
292
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/execution.rb:22:in `block in execute'
|
293
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
|
294
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/railtie.rb:26:in `call'
|
295
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/railtie.rb:26:in `block (4 levels) in <class:Railtie>'
|
296
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/execution_wrapper.rb:85:in `wrap'
|
297
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/reloader.rb:68:in `block in wrap'
|
298
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/execution_wrapper.rb:85:in `wrap'
|
299
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/reloader.rb:67:in `wrap'
|
300
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/railtie.rb:25:in `block (3 levels) in <class:Railtie>'
|
301
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec'
|
302
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
303
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `call'
|
304
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks'
|
305
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/execution.rb:20:in `execute'
|
306
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/queue_adapters/async_adapter.rb:68:in `perform'
|
307
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `call'
|
308
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
|
309
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
|
310
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
|
311
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
|
312
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
|
313
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
|
314
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 40ae8cc2-87ab-4444-8a7b-2f9cf0cb4670) to Async(mailers) with arguments: "Commontator::SubscriptionsMailer", "comment_created", "deliver_now", nil, nil
|
315
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [40ae8cc2-87ab-4444-8a7b-2f9cf0cb4670] Performing ActionMailer::DeliveryJob (Job ID: 40ae8cc2-87ab-4444-8a7b-2f9cf0cb4670) from Async(mailers) with arguments: "Commontator::SubscriptionsMailer", "comment_created", "deliver_now", nil, nil
|
316
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [40ae8cc2-87ab-4444-8a7b-2f9cf0cb4670] Commontator::SubscriptionsMailer#comment_created: processed outbound mail in 0.3ms
|
317
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [40ae8cc2-87ab-4444-8a7b-2f9cf0cb4670] Error performing ActionMailer::DeliveryJob (Job ID: 40ae8cc2-87ab-4444-8a7b-2f9cf0cb4670) from Async(mailers) in 7.95ms: NoMethodError (undefined method `thread' for nil:NilClass):
|
318
|
+
/Users/dante/Desktop/commontator/app/mailers/commontator/subscriptions_mailer.rb:22:in `setup_variables'
|
319
|
+
/Users/dante/Desktop/commontator/app/mailers/commontator/subscriptions_mailer.rb:4:in `comment_created'
|
320
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:186:in `process_action'
|
321
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
322
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:97:in `run_callbacks'
|
323
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
|
324
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:124:in `process'
|
325
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/rescuable.rb:23:in `block in process'
|
326
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/rescuable.rb:15:in `handle_exceptions'
|
327
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/rescuable.rb:22:in `process'
|
328
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionview-5.1.4/lib/action_view/rendering.rb:30:in `process'
|
329
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/base.rb:609:in `block in process'
|
330
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `block in instrument'
|
331
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
332
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `instrument'
|
333
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/base.rb:608:in `process'
|
334
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/message_delivery.rb:105:in `block in processed_mailer'
|
335
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/message_delivery.rb:104:in `tap'
|
336
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/message_delivery.rb:104:in `processed_mailer'
|
337
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/message_delivery.rb:95:in `deliver_now'
|
338
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionmailer-5.1.4/lib/action_mailer/delivery_job.rb:14:in `perform'
|
339
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/execution.rb:37:in `block in perform_now'
|
340
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
|
341
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
|
342
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
|
343
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec'
|
344
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
345
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:24:in `call'
|
346
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
|
347
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `block in instrument'
|
348
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
349
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `instrument'
|
350
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
|
351
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:44:in `block in tag_logger'
|
352
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
353
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:26:in `tagged'
|
354
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:69:in `tagged'
|
355
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:44:in `tag_logger'
|
356
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
|
357
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec'
|
358
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
359
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `call'
|
360
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks'
|
361
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/execution.rb:33:in `perform_now'
|
362
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/execution.rb:22:in `block in execute'
|
363
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
|
364
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/railtie.rb:26:in `call'
|
365
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/railtie.rb:26:in `block (4 levels) in <class:Railtie>'
|
366
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/execution_wrapper.rb:85:in `wrap'
|
367
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/reloader.rb:68:in `block in wrap'
|
368
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/execution_wrapper.rb:85:in `wrap'
|
369
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/reloader.rb:67:in `wrap'
|
370
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/railtie.rb:25:in `block (3 levels) in <class:Railtie>'
|
371
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec'
|
372
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
373
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `call'
|
374
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks'
|
375
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/execution.rb:20:in `execute'
|
376
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activejob-5.1.4/lib/active_job/queue_adapters/async_adapter.rb:68:in `perform'
|
377
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `call'
|
378
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
|
379
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
|
380
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
|
381
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
|
382
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
|
383
|
+
/Users/dante/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
|
384
|
+
Sent mail to (9.5ms)
|
385
|
+
Date: Mon, 23 Oct 2017 10:01:05 -0500
|
386
|
+
Message-ID: <59ee0431dcf39_44c3fc65985e1d43092d@Dantes-MacBook-Pro.local.mail>
|
387
|
+
Subject: test
|
388
|
+
Mime-Version: 1.0
|
389
|
+
Content-Type: text/plain;
|
390
|
+
charset=UTF-8
|
391
|
+
Content-Transfer-Encoding: 7bit
|
392
|
+
|
393
|
+
|
394
|
+
Sent mail to (1.6ms)
|
395
|
+
Date: Mon, 23 Oct 2017 10:05:12 -0500
|
396
|
+
Message-ID: <59ee05282a845_44c3fc65985e1d43102f@Dantes-MacBook-Pro.local.mail>
|
397
|
+
Subject: test
|
398
|
+
Mime-Version: 1.0
|
399
|
+
Content-Type: text/plain;
|
400
|
+
charset=UTF-8
|
401
|
+
Content-Transfer-Encoding: 7bit
|
402
|
+
|
403
|
+
|
404
|
+
Sent mail to (1.7ms)
|
405
|
+
Date: Mon, 23 Oct 2017 10:05:23 -0500
|
406
|
+
Message-ID: <59ee05337c725_44c3fc65985e1d4311bf@Dantes-MacBook-Pro.local.mail>
|
407
|
+
Subject: test
|
408
|
+
Mime-Version: 1.0
|
409
|
+
Content-Type: text/plain;
|
410
|
+
charset=UTF-8
|
411
|
+
Content-Transfer-Encoding: 7bit
|
412
|
+
|
413
|
+
|