commontator 1.1.2 → 1.1.3
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.
- data/Rakefile +0 -1
- data/app/models/commontator/thread.rb~ +125 -0
- data/app/models/commontator/tree.rb~ +123 -0
- data/db/migrate/0_install.rb +48 -0
- data/db/migrate/{0_install_commontator.rb → 0_install.rb~} +0 -0
- data/lib/commontator.rb +0 -1
- data/lib/commontator.rb~ +2 -3
- data/lib/commontator/version.rb +1 -1
- data/lib/commontator/version.rb~ +1 -1
- data/lib/tasks/commontator_tasks.rake +3 -4
- data/lib/tasks/commontator_tasks.rake~ +4 -3
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +28 -0
- data/spec/dummy/log/test.log +1834 -0
- metadata +6 -3
data/Rakefile
CHANGED
@@ -0,0 +1,125 @@
|
|
1
|
+
puts 'b'
|
2
|
+
|
3
|
+
module Commontator
|
4
|
+
class Thread < ActiveRecord::Base
|
5
|
+
belongs_to :closer, :polymorphic => true
|
6
|
+
belongs_to :commontable, :polymorphic => true
|
7
|
+
|
8
|
+
has_many :comments, :dependent => :destroy
|
9
|
+
has_many :subscriptions, :dependent => :destroy
|
10
|
+
|
11
|
+
validates_presence_of :commontable, :on => :create
|
12
|
+
|
13
|
+
attr_accessible :is_closed
|
14
|
+
|
15
|
+
def config
|
16
|
+
commontable.try(:commontable_config)
|
17
|
+
end
|
18
|
+
|
19
|
+
def ordered_comments
|
20
|
+
(!commontable.blank? && config.can_vote_on_comments && config.comments_ordered_by_votes) ? \
|
21
|
+
comments.order("cached_votes_down - cached_votes_up") : comments
|
22
|
+
end
|
23
|
+
|
24
|
+
def subscribers
|
25
|
+
subscriptions.collect{|s| s.subscriber}
|
26
|
+
end
|
27
|
+
|
28
|
+
def active_subscribers
|
29
|
+
subscribers.select{|s| s.commontator_config.subscription_email_enable_proc.call(s)}
|
30
|
+
end
|
31
|
+
|
32
|
+
def subscription_for(subscriber)
|
33
|
+
return nil if subscriber.nil?
|
34
|
+
Subscription.find_by_thread_id_and_subscriber_id_and_subscriber_type(self.id, subscriber.id, subscriber.class.name)
|
35
|
+
end
|
36
|
+
|
37
|
+
def is_closed?
|
38
|
+
!closed_at.blank?
|
39
|
+
end
|
40
|
+
|
41
|
+
def is_subscribed?(subscriber)
|
42
|
+
!subscription_for(subscriber).blank?
|
43
|
+
end
|
44
|
+
|
45
|
+
def subscribe(subscriber)
|
46
|
+
return false if is_subscribed?(subscriber)
|
47
|
+
subscription = Subscription.create(
|
48
|
+
:subscriber => subscriber, :thread => self)
|
49
|
+
end
|
50
|
+
|
51
|
+
def unsubscribe(subscriber)
|
52
|
+
subscription = subscription_for(subscriber)
|
53
|
+
return false if subscription.blank?
|
54
|
+
subscription.destroy
|
55
|
+
end
|
56
|
+
|
57
|
+
def mark_as_read_for(subscriber)
|
58
|
+
return if !subscription_for(subscriber)
|
59
|
+
subscription_for(subscriber).mark_as_read
|
60
|
+
end
|
61
|
+
|
62
|
+
def add_unread_except_for(subscriber)
|
63
|
+
Subscription.transaction do
|
64
|
+
subscriptions.each{|s| s.add_unread unless s.subscriber == subscriber}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
def close(user = nil)
|
69
|
+
return false if is_closed?
|
70
|
+
self.closed_at = Time.now
|
71
|
+
self.closer = user
|
72
|
+
self.save!
|
73
|
+
end
|
74
|
+
|
75
|
+
def reopen
|
76
|
+
return false unless is_closed?
|
77
|
+
self.closed_at = nil
|
78
|
+
self.save!
|
79
|
+
end
|
80
|
+
|
81
|
+
# Creates a new empty thread and assigns it to the commontable
|
82
|
+
# The old thread is kept in the database for archival purposes
|
83
|
+
|
84
|
+
def clear(user = nil)
|
85
|
+
return if commontable.blank?
|
86
|
+
new_thread = Thread.new
|
87
|
+
new_thread.commontable = commontable
|
88
|
+
self.with_lock do
|
89
|
+
new_thread.save!
|
90
|
+
commontable.thread = new_thread
|
91
|
+
commontable.save!
|
92
|
+
subscriptions.each do |s|
|
93
|
+
s.thread = new_thread
|
94
|
+
s.save!
|
95
|
+
s.mark_as_read
|
96
|
+
end
|
97
|
+
self.commontable = nil
|
98
|
+
self.close(user)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
##########################
|
103
|
+
# Access control methods #
|
104
|
+
##########################
|
105
|
+
|
106
|
+
# Reader and poster capabilities
|
107
|
+
def can_be_read_by?(user)
|
108
|
+
(!commontable.blank? && \
|
109
|
+
(!is_closed? || config.closed_threads_are_readable) && \
|
110
|
+
config.can_read_thread_proc.call(self, user)) || \
|
111
|
+
can_be_edited_by?(user)
|
112
|
+
end
|
113
|
+
|
114
|
+
# Thread moderator capabilities
|
115
|
+
def can_be_edited_by?(user)
|
116
|
+
!commontable.blank? && \
|
117
|
+
(config.can_edit_thread_proc.call(self, user) || \
|
118
|
+
(!user.nil? && user.commontator_config.user_admin_proc.call(user)))
|
119
|
+
end
|
120
|
+
|
121
|
+
def can_subscribe?(user)
|
122
|
+
!commontable.blank? && config.can_subscribe_to_thread && !is_closed? && can_be_read_by?(user)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
@@ -0,0 +1,123 @@
|
|
1
|
+
module Linkifier
|
2
|
+
class Tree < ActiveRecord::Base
|
3
|
+
belongs_to :closer, :polymorphic => true
|
4
|
+
belongs_to :commontable, :polymorphic => true
|
5
|
+
|
6
|
+
has_many :comments, :dependent => :destroy
|
7
|
+
has_many :subscriptions, :dependent => :destroy
|
8
|
+
|
9
|
+
validates_presence_of :commontable, :on => :create
|
10
|
+
|
11
|
+
attr_accessible :is_closed
|
12
|
+
|
13
|
+
def config
|
14
|
+
commontable.try(:commontable_config)
|
15
|
+
end
|
16
|
+
|
17
|
+
def ordered_comments
|
18
|
+
(!commontable.blank? && config.can_vote_on_comments && config.comments_ordered_by_votes) ? \
|
19
|
+
comments.order("cached_votes_down - cached_votes_up") : comments
|
20
|
+
end
|
21
|
+
|
22
|
+
def subscribers
|
23
|
+
subscriptions.collect{|s| s.subscriber}
|
24
|
+
end
|
25
|
+
|
26
|
+
def active_subscribers
|
27
|
+
subscribers.select{|s| s.commontator_config.subscription_email_enable_proc.call(s)}
|
28
|
+
end
|
29
|
+
|
30
|
+
def subscription_for(subscriber)
|
31
|
+
return nil if subscriber.nil?
|
32
|
+
Subscription.find_by_thread_id_and_subscriber_id_and_subscriber_type(self.id, subscriber.id, subscriber.class.name)
|
33
|
+
end
|
34
|
+
|
35
|
+
def is_closed?
|
36
|
+
!closed_at.blank?
|
37
|
+
end
|
38
|
+
|
39
|
+
def is_subscribed?(subscriber)
|
40
|
+
!subscription_for(subscriber).blank?
|
41
|
+
end
|
42
|
+
|
43
|
+
def subscribe(subscriber)
|
44
|
+
return false if is_subscribed?(subscriber)
|
45
|
+
subscription = Subscription.create(
|
46
|
+
:subscriber => subscriber, :thread => self)
|
47
|
+
end
|
48
|
+
|
49
|
+
def unsubscribe(subscriber)
|
50
|
+
subscription = subscription_for(subscriber)
|
51
|
+
return false if subscription.blank?
|
52
|
+
subscription.destroy
|
53
|
+
end
|
54
|
+
|
55
|
+
def mark_as_read_for(subscriber)
|
56
|
+
return if !subscription_for(subscriber)
|
57
|
+
subscription_for(subscriber).mark_as_read
|
58
|
+
end
|
59
|
+
|
60
|
+
def add_unread_except_for(subscriber)
|
61
|
+
Subscription.transaction do
|
62
|
+
subscriptions.each{|s| s.add_unread unless s.subscriber == subscriber}
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
def close(user = nil)
|
67
|
+
return false if is_closed?
|
68
|
+
self.closed_at = Time.now
|
69
|
+
self.closer = user
|
70
|
+
self.save!
|
71
|
+
end
|
72
|
+
|
73
|
+
def reopen
|
74
|
+
return false unless is_closed?
|
75
|
+
self.closed_at = nil
|
76
|
+
self.save!
|
77
|
+
end
|
78
|
+
|
79
|
+
# Creates a new empty thread and assigns it to the commontable
|
80
|
+
# The old thread is kept in the database for archival purposes
|
81
|
+
|
82
|
+
def clear(user = nil)
|
83
|
+
return if commontable.blank?
|
84
|
+
new_thread = Thread.new
|
85
|
+
new_thread.commontable = commontable
|
86
|
+
self.with_lock do
|
87
|
+
new_thread.save!
|
88
|
+
commontable.thread = new_thread
|
89
|
+
commontable.save!
|
90
|
+
subscriptions.each do |s|
|
91
|
+
s.thread = new_thread
|
92
|
+
s.save!
|
93
|
+
s.mark_as_read
|
94
|
+
end
|
95
|
+
self.commontable = nil
|
96
|
+
self.close(user)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
##########################
|
101
|
+
# Access control methods #
|
102
|
+
##########################
|
103
|
+
|
104
|
+
# Reader and poster capabilities
|
105
|
+
def can_be_read_by?(user)
|
106
|
+
(!commontable.blank? && \
|
107
|
+
(!is_closed? || config.closed_threads_are_readable) && \
|
108
|
+
config.can_read_thread_proc.call(self, user)) || \
|
109
|
+
can_be_edited_by?(user)
|
110
|
+
end
|
111
|
+
|
112
|
+
# Thread moderator capabilities
|
113
|
+
def can_be_edited_by?(user)
|
114
|
+
!commontable.blank? && \
|
115
|
+
(config.can_edit_thread_proc.call(self, user) || \
|
116
|
+
(!user.nil? && user.commontator_config.user_admin_proc.call(user)))
|
117
|
+
end
|
118
|
+
|
119
|
+
def can_subscribe?(user)
|
120
|
+
!commontable.blank? && config.can_subscribe_to_thread && !is_closed? && can_be_read_by?(user)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
class Install < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table "commontator_comments" do |t|
|
4
|
+
t.text "body"
|
5
|
+
t.integer "creator_id"
|
6
|
+
t.string "creator_type"
|
7
|
+
t.datetime "deleted_at"
|
8
|
+
t.integer "deleter_id"
|
9
|
+
t.string "deleter_type"
|
10
|
+
t.integer "thread_id"
|
11
|
+
|
12
|
+
t.integer "cached_votes_total", :default => 0
|
13
|
+
t.integer "cached_votes_up", :default => 0
|
14
|
+
t.integer "cached_votes_down", :default => 0
|
15
|
+
|
16
|
+
t.timestamps
|
17
|
+
end
|
18
|
+
|
19
|
+
create_table "commontator_subscriptions" do |t|
|
20
|
+
t.integer "subscriber_id"
|
21
|
+
t.string "subscriber_type"
|
22
|
+
t.integer "thread_id"
|
23
|
+
t.integer "unread", :default => 0
|
24
|
+
|
25
|
+
t.timestamps
|
26
|
+
end
|
27
|
+
|
28
|
+
create_table "commontator_threads" do |t|
|
29
|
+
t.integer "commontable_id"
|
30
|
+
t.string "commontable_type"
|
31
|
+
t.datetime "closed_at"
|
32
|
+
t.integer "closer_id"
|
33
|
+
t.string "closer_type"
|
34
|
+
|
35
|
+
t.timestamps
|
36
|
+
end
|
37
|
+
|
38
|
+
add_index :commontator_comments, [:creator_id, :creator_type, :thread_id], :name => "index_c_c_on_c_id_and_c_type_and_t_id"
|
39
|
+
add_index :commontator_comments, :thread_id
|
40
|
+
add_index :commontator_subscriptions, [:subscriber_id, :subscriber_type, :thread_id], :unique => true, :name => "index_c_s_on_s_id_and_s_type_and_t_id"
|
41
|
+
add_index :commontator_subscriptions, :thread_id
|
42
|
+
add_index :commontator_threads, [:commontable_id, :commontable_type]
|
43
|
+
|
44
|
+
add_index :commontator_comments, :cached_votes_total
|
45
|
+
add_index :commontator_comments, :cached_votes_up
|
46
|
+
add_index :commontator_comments, :cached_votes_down
|
47
|
+
end
|
48
|
+
end
|
File without changes
|
data/lib/commontator.rb
CHANGED
data/lib/commontator.rb~
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
require 'commontator/engine'
|
2
2
|
require 'commontator/controller_includes'
|
3
|
-
require 'commontator/acts_as_commontator'
|
4
|
-
require 'commontator/acts_as_commontable'
|
5
3
|
|
6
4
|
module Commontator
|
7
5
|
# Attributes
|
@@ -58,5 +56,6 @@ module Commontator
|
|
58
56
|
end
|
59
57
|
end
|
60
58
|
|
61
|
-
|
59
|
+
require 'commontator/acts_as_commontator'
|
60
|
+
require 'commontator/acts_as_commontable'
|
62
61
|
|
data/lib/commontator/version.rb
CHANGED
data/lib/commontator/version.rb~
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
COMMONTATOR_COPY_TASKS = ['assets/images', 'assets/stylesheets', 'views', 'mailers', 'helpers', 'controllers', 'models']
|
2
2
|
|
3
3
|
namespace :commontator do
|
4
4
|
namespace :install do
|
@@ -16,7 +16,7 @@ namespace :commontator do
|
|
16
16
|
end
|
17
17
|
|
18
18
|
namespace :copy do
|
19
|
-
|
19
|
+
COMMONTATOR_COPY_TASKS.each do |path|
|
20
20
|
name = File.basename(path)
|
21
21
|
desc "Copy #{name} from commontator to application"
|
22
22
|
task name.to_sym do
|
@@ -34,9 +34,8 @@ namespace :commontator do
|
|
34
34
|
|
35
35
|
desc "Copy assets, views, mailers, helpers, controllers and models from commontator to application"
|
36
36
|
task :copy do
|
37
|
-
|
37
|
+
COMMONTATOR_COPY_TASKS.each do |path|
|
38
38
|
Rake::Task["commontator:copy:#{File.basename(path)}"].invoke
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
42
|
-
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
COMMONTATOR_COPY_TASKS = ['assets/images', 'assets/stylesheets', 'views', 'mailers', 'helpers', 'controllers', 'models']
|
2
2
|
|
3
3
|
namespace :commontator do
|
4
4
|
namespace :install do
|
@@ -16,7 +16,7 @@ namespace :commontator do
|
|
16
16
|
end
|
17
17
|
|
18
18
|
namespace :copy do
|
19
|
-
|
19
|
+
COMMONTATOR_COPY_TASKS.each do |path|
|
20
20
|
name = File.basename(path)
|
21
21
|
desc "Copy #{name} from commontator to application"
|
22
22
|
task name.to_sym do
|
@@ -34,8 +34,9 @@ namespace :commontator do
|
|
34
34
|
|
35
35
|
desc "Copy assets, views, mailers, helpers, controllers and models from commontator to application"
|
36
36
|
task :copy do
|
37
|
-
|
37
|
+
COMMONTATOR_COPY_TASKS.each do |path|
|
38
38
|
Rake::Task["commontator:copy:#{File.basename(path)}"].invoke
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
42
|
+
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -535,3 +535,31 @@ Connecting to database specified by database.yml
|
|
535
535
|
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
536
536
|
[1m[35m (4.7ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
537
537
|
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
538
|
+
Connecting to database specified by database.yml
|
539
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
540
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
541
|
+
[1m[36m (31.8ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
542
|
+
[1m[35m (6.1ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
543
|
+
[1m[36m (5.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
544
|
+
[1m[35m (5.4ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
545
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
546
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
547
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
548
|
+
[1m[35m (6.4ms)[0m DROP TABLE "commontator_subscriptions"
|
549
|
+
[1m[36m (5.4ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
550
|
+
[1m[35m (5.1ms)[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")
|
551
|
+
[1m[36m (5.1ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
552
|
+
[1m[35m (5.8ms)[0m DROP TABLE "commontator_threads"
|
553
|
+
[1m[36m (5.1ms)[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
|
554
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")
|
555
|
+
[1m[36m (5.4ms)[0m [1mDROP TABLE "dummy_models"[0m
|
556
|
+
[1m[35m (5.5ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
557
|
+
[1m[36m (5.4ms)[0m [1mDROP TABLE "dummy_users"[0m
|
558
|
+
[1m[35m (5.3ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
559
|
+
[1m[36m (5.7ms)[0m [1mDROP TABLE "votes"[0m
|
560
|
+
[1m[35m (5.4ms)[0m CREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
561
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
562
|
+
[1m[35m (5.0ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
563
|
+
[1m[36m (5.1ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
564
|
+
[1m[35m (5.7ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
565
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -10915,3 +10915,1837 @@ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
|
10915
10915
|
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00]]
|
10916
10916
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10917
10917
|
[1m[35m (0.1ms)[0m rollback transaction
|
10918
|
+
Connecting to database specified by database.yml
|
10919
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10920
|
+
[1m[35mSQL (22.6ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]]
|
10921
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m
|
10922
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]]
|
10923
|
+
[1m[36m (18.7ms)[0m [1mcommit transaction[0m
|
10924
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10925
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]]
|
10926
|
+
[1m[35m (5.6ms)[0m commit transaction
|
10927
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10928
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10929
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10930
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10931
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]]
|
10932
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10933
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10934
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]]
|
10935
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m
|
10936
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]]
|
10937
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10938
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10939
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]]
|
10940
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2
|
10941
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10942
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10943
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-04-04 16:46:16.271538' WHERE "commontator_comments"."id" = 1[0m
|
10944
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10945
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
10946
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10947
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10948
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00]]
|
10949
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10950
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10951
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00]]
|
10952
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1
|
10953
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00]]
|
10954
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10955
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10956
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00]]
|
10957
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m
|
10958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10959
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10960
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-04-04 16:46:17.286559' WHERE "commontator_comments"."id" = 1
|
10961
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10962
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10964
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10965
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
10966
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10967
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10968
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
10969
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m
|
10970
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
10971
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10972
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10973
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
10974
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
10975
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m
|
10976
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10977
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10978
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.296879' WHERE "commontator_comments"."id" = 1
|
10979
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10980
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10981
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10982
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10983
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
10984
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10985
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10986
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
10987
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m
|
10988
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
10989
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10990
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10991
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10992
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
10993
|
+
[1m[36m (11.7ms)[0m [1mcommit transaction[0m
|
10994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10995
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
10996
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1
|
10997
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
10998
|
+
[1m[35m (5.5ms)[0m commit transaction
|
10999
|
+
[1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
11000
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11001
|
+
[1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m
|
11002
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11003
|
+
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
11004
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11005
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11006
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2
|
11007
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m
|
11008
|
+
[1m[35m (6.1ms)[0m commit transaction
|
11009
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11010
|
+
[1m[35m (0.0ms)[0m commit transaction
|
11011
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11012
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11013
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
11014
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11015
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11016
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1
|
11017
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11018
|
+
[1m[35m (5.4ms)[0m commit transaction
|
11019
|
+
[1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
11020
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11021
|
+
[1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m
|
11022
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11023
|
+
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
11024
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11025
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11026
|
+
[1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3
|
11027
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m
|
11028
|
+
[1m[35m (5.2ms)[0m commit transaction
|
11029
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11030
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11031
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
11032
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
11033
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11034
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
11035
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11036
|
+
[1m[35m (5.1ms)[0m commit transaction
|
11037
|
+
[1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", 2]]
|
11038
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1
|
11039
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m
|
11040
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1
|
11041
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11042
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3
|
11043
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m
|
11044
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1
|
11045
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-04-04 16:46:17.445415' WHERE "commontator_subscriptions"."id" = 3[0m
|
11046
|
+
[1m[35m (4.1ms)[0m commit transaction
|
11047
|
+
Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (4.8ms)
|
11048
|
+
|
11049
|
+
Sent mail to (29ms)
|
11050
|
+
Date: Thu, 04 Apr 2013 11:46:17 -0500
|
11051
|
+
From: no-reply@example.com
|
11052
|
+
Message-ID: <515dae598691d_f50cb4fe4943cb@ubuntu.mail>
|
11053
|
+
Subject: Anonymous posted a dummy comment on dummy model 3
|
11054
|
+
Mime-Version: 1.0
|
11055
|
+
Content-Type: text/html;
|
11056
|
+
charset=UTF-8
|
11057
|
+
Content-Transfer-Encoding: 7bit
|
11058
|
+
|
11059
|
+
<h4>Anonymous's dummy comment on dummy model 3:</h4>
|
11060
|
+
|
11061
|
+
|
11062
|
+
<p>Something</p>
|
11063
|
+
|
11064
|
+
|
11065
|
+
<p><a href="">Click here</a> to visit this thread.</p>
|
11066
|
+
|
11067
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11068
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11069
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11070
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11071
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11072
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11073
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11074
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11075
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11076
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11077
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11078
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
11079
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11080
|
+
Processing by Commontator::CommentsController#new as HTML
|
11081
|
+
Parameters: {"thread_id"=>"4"}
|
11082
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
11083
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11084
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
11085
|
+
Processing by Commontator::CommentsController#new as HTML
|
11086
|
+
Parameters: {"thread_id"=>"4"}
|
11087
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
11088
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11089
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
11090
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11091
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11092
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11093
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11094
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11095
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11096
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11097
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11098
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11099
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11100
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11101
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11102
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
11103
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11104
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11105
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.597141', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:17.597756' WHERE "commontator_comments"."id" = 3[0m
|
11106
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11107
|
+
Processing by Commontator::CommentsController#undelete as HTML
|
11108
|
+
Parameters: {"id"=>"3"}
|
11109
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11110
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11111
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11112
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11113
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11114
|
+
[1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
|
11115
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11116
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.604743' WHERE "commontator_comments"."id" = 3
|
11117
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11118
|
+
Redirected to http://test.host/commontator/threads/4
|
11119
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
11120
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11121
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11122
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11123
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11124
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11125
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11126
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11127
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.609778', "updated_at" = '2013-04-04 16:46:17.610256' WHERE "commontator_comments"."id" = 3[0m
|
11128
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11129
|
+
Processing by Commontator::CommentsController#undelete as HTML
|
11130
|
+
Parameters: {"id"=>"3"}
|
11131
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11132
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11133
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11134
|
+
[1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11135
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11136
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.614563' WHERE "commontator_comments"."id" = 3
|
11137
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11138
|
+
Redirected to http://test.host/commontator/threads/4
|
11139
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
11140
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11141
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.616025', "updated_at" = '2013-04-04 16:46:17.616492' WHERE "commontator_comments"."id" = 3[0m
|
11142
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11143
|
+
Processing by Commontator::CommentsController#undelete as HTML
|
11144
|
+
Parameters: {"id"=>"3"}
|
11145
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11146
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11147
|
+
[1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11148
|
+
[1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11149
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11150
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.620099' WHERE "commontator_comments"."id" = 3
|
11151
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11152
|
+
Redirected to http://test.host/commontator/threads/4
|
11153
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
11154
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11155
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11156
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11157
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11158
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11159
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11160
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11161
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11162
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11163
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11164
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11165
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11166
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
11167
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11168
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11169
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.627920', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:17.628424' WHERE "commontator_comments"."id" = 3[0m
|
11170
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11171
|
+
Processing by Commontator::CommentsController#undelete as HTML
|
11172
|
+
Parameters: {"id"=>"3"}
|
11173
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11174
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11175
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11176
|
+
[1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11177
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms)
|
11178
|
+
Processing by Commontator::CommentsController#undelete as HTML
|
11179
|
+
Parameters: {"id"=>"3"}
|
11180
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11181
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11182
|
+
[1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11183
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11184
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
11185
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11186
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.636835' WHERE "commontator_comments"."id" = 3
|
11187
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11188
|
+
Processing by Commontator::CommentsController#undelete as HTML
|
11189
|
+
Parameters: {"id"=>"3"}
|
11190
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11191
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11192
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11193
|
+
[1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11194
|
+
[1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
|
11195
|
+
Redirected to http://test.host/commontator/threads/4
|
11196
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
11197
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11198
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.641854', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-04-04 16:46:17.642301' WHERE "commontator_comments"."id" = 3
|
11199
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11200
|
+
Processing by Commontator::CommentsController#undelete as HTML
|
11201
|
+
Parameters: {"id"=>"3"}
|
11202
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11203
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11204
|
+
[1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11205
|
+
[1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11206
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms)
|
11207
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11208
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11209
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11210
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11211
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.648195' WHERE "commontator_comments"."id" = 3
|
11212
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11213
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11214
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.648774', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:17.649221' WHERE "commontator_comments"."id" = 3[0m
|
11215
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11216
|
+
Processing by Commontator::CommentsController#undelete as HTML
|
11217
|
+
Parameters: {"id"=>"3"}
|
11218
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11219
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11220
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11221
|
+
[1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11222
|
+
[1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11223
|
+
[1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
|
11224
|
+
Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms)
|
11225
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11226
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11227
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11228
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11229
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11230
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11231
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11232
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11233
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11234
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11235
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11236
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11237
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
11238
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11239
|
+
Processing by Commontator::CommentsController#delete as HTML
|
11240
|
+
Parameters: {"id"=>"3"}
|
11241
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11242
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11243
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11244
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11245
|
+
[1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m
|
11246
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11247
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.664949', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:17.665529' WHERE "commontator_comments"."id" = 3[0m
|
11248
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11249
|
+
Redirected to http://test.host/commontator/threads/4
|
11250
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
11251
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11252
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11253
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11254
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11255
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11256
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11257
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11258
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.670354' WHERE "commontator_comments"."id" = 3
|
11259
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11260
|
+
Processing by Commontator::CommentsController#delete as HTML
|
11261
|
+
Parameters: {"id"=>"3"}
|
11262
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11263
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11264
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11265
|
+
[1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11266
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11267
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.674042', "deleter_id" = 6, "updated_at" = '2013-04-04 16:46:17.674524' WHERE "commontator_comments"."id" = 3[0m
|
11268
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11269
|
+
Redirected to http://test.host/commontator/threads/4
|
11270
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
11271
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11272
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.676577' WHERE "commontator_comments"."id" = 3
|
11273
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11274
|
+
Processing by Commontator::CommentsController#delete as HTML
|
11275
|
+
Parameters: {"id"=>"3"}
|
11276
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11277
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11278
|
+
[1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11279
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11280
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11281
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.679586', "updated_at" = '2013-04-04 16:46:17.680062' WHERE "commontator_comments"."id" = 3[0m
|
11282
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11283
|
+
Redirected to http://test.host/commontator/threads/4
|
11284
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
11285
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11286
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11287
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11288
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11289
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11290
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11291
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11292
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11293
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11294
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11295
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11296
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11297
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
11298
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11299
|
+
Processing by Commontator::CommentsController#edit as HTML
|
11300
|
+
Parameters: {"id"=>"3"}
|
11301
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11302
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11303
|
+
[1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11304
|
+
[1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11305
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
11306
|
+
Processing by Commontator::CommentsController#edit as HTML
|
11307
|
+
Parameters: {"id"=>"3"}
|
11308
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11309
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11310
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11311
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11312
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
11313
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11314
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11315
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11316
|
+
Processing by Commontator::CommentsController#edit as HTML
|
11317
|
+
Parameters: {"id"=>"3"}
|
11318
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11319
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11320
|
+
[1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11321
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11322
|
+
Completed 403 Forbidden in 19ms (ActiveRecord: 0.2ms)
|
11323
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11324
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11326
|
+
Processing by Commontator::CommentsController#edit as HTML
|
11327
|
+
Parameters: {"id"=>"3"}
|
11328
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11329
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11330
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11331
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11332
|
+
[1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m
|
11333
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms)
|
11334
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11335
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11336
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11337
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11338
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11339
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11340
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11341
|
+
[1m[36mDummyModel Load (0.4ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11342
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11343
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11344
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11345
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11346
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
11347
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11348
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11349
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11350
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11351
|
+
Processing by Commontator::CommentsController#downvote as HTML
|
11352
|
+
Parameters: {"id"=>"3"}
|
11353
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11354
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11355
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11356
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11357
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m
|
11358
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11359
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]]
|
11360
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11361
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m
|
11362
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11363
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11364
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11365
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-04-04 16:46:17.772163' WHERE "commontator_comments"."id" = 3[0m
|
11366
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11367
|
+
Redirected to http://test.host/commontator/threads/4
|
11368
|
+
Completed 302 Found in 19ms (ActiveRecord: 1.1ms)
|
11369
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11370
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11371
|
+
Processing by Commontator::CommentsController#downvote as HTML
|
11372
|
+
Parameters: {"id"=>"3"}
|
11373
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11374
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11375
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11376
|
+
[1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11377
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m
|
11378
|
+
[1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1
|
11379
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11380
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11381
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m
|
11382
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11383
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11384
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11385
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11386
|
+
Redirected to http://test.host/commontator/threads/4
|
11387
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
|
11388
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11389
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11390
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'
|
11391
|
+
[1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m
|
11392
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11393
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-04-04 16:46:17.788410' WHERE "votes"."id" = 1[0m
|
11394
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11395
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m
|
11396
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11397
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11398
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11399
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-04-04 16:46:17.791483' WHERE "commontator_comments"."id" = 3[0m
|
11400
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11401
|
+
Processing by Commontator::CommentsController#downvote as HTML
|
11402
|
+
Parameters: {"id"=>"3"}
|
11403
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11404
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11405
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11406
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11407
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m
|
11408
|
+
[1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1
|
11409
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11410
|
+
[1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-04-04 16:46:17.796788' WHERE "votes"."id" = 1
|
11411
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11412
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
|
11413
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11414
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11415
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11416
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-04-04 16:46:17.799799' WHERE "commontator_comments"."id" = 3
|
11417
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11418
|
+
Redirected to http://test.host/commontator/threads/4
|
11419
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
11420
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11421
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11422
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11423
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11424
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11425
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11426
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11427
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11428
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11429
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11430
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11431
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11432
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11433
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11434
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
11435
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11436
|
+
Processing by Commontator::CommentsController#new as HTML
|
11437
|
+
Parameters: {"thread_id"=>"4"}
|
11438
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
11439
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11440
|
+
Redirected to http://test.host/commontator/threads/4
|
11441
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
11442
|
+
Processing by Commontator::CommentsController#new as HTML
|
11443
|
+
Parameters: {"thread_id"=>"4"}
|
11444
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
11445
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11446
|
+
Redirected to http://test.host/commontator/threads/4
|
11447
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
11448
|
+
Processing by Commontator::CommentsController#new as HTML
|
11449
|
+
Parameters: {"thread_id"=>"4"}
|
11450
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
11451
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11452
|
+
Redirected to http://test.host/commontator/threads/4
|
11453
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
11454
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11455
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11456
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11457
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11458
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11459
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11460
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11461
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11462
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11463
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11464
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11465
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11466
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
11467
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11468
|
+
Processing by Commontator::CommentsController#upvote as HTML
|
11469
|
+
Parameters: {"id"=>"3"}
|
11470
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11471
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11472
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11473
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms)
|
11474
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11475
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11476
|
+
Processing by Commontator::CommentsController#upvote as HTML
|
11477
|
+
Parameters: {"id"=>"3"}
|
11478
|
+
[1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11479
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11480
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11481
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11482
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
11483
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11484
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11485
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11486
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11487
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11488
|
+
Processing by Commontator::CommentsController#upvote as HTML
|
11489
|
+
Parameters: {"id"=>"3"}
|
11490
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11491
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11492
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11493
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
11494
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11495
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11496
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11497
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11499
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11500
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11501
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11502
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11503
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11504
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11505
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11506
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11507
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11508
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
11509
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11510
|
+
Processing by Commontator::CommentsController#edit as HTML
|
11511
|
+
Parameters: {"id"=>"3"}
|
11512
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11513
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11514
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11515
|
+
[1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11516
|
+
[1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m
|
11517
|
+
Redirected to http://test.host/commontator/threads/4
|
11518
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
11519
|
+
Processing by Commontator::CommentsController#edit as HTML
|
11520
|
+
Parameters: {"id"=>"3"}
|
11521
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11522
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11523
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11524
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11525
|
+
[1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
|
11526
|
+
Redirected to http://test.host/commontator/threads/4
|
11527
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
11528
|
+
Processing by Commontator::CommentsController#edit as HTML
|
11529
|
+
Parameters: {"id"=>"3"}
|
11530
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11531
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11532
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11533
|
+
[1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11534
|
+
[1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m
|
11535
|
+
Redirected to http://test.host/commontator/threads/4
|
11536
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
11537
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11539
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11540
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11541
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11542
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11543
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11544
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11545
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11546
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11547
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11548
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11549
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
11550
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11551
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11552
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11553
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11554
|
+
Processing by Commontator::CommentsController#upvote as HTML
|
11555
|
+
Parameters: {"id"=>"3"}
|
11556
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11557
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11558
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11559
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11560
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m
|
11561
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11562
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]]
|
11563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11564
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m
|
11565
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11566
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11568
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-04-04 16:46:17.873027' WHERE "commontator_comments"."id" = 3[0m
|
11569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11570
|
+
Redirected to http://test.host/commontator/threads/4
|
11571
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
11572
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11573
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11574
|
+
Processing by Commontator::CommentsController#upvote as HTML
|
11575
|
+
Parameters: {"id"=>"3"}
|
11576
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11577
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11578
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11579
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11580
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m
|
11581
|
+
[1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1
|
11582
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11583
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11584
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m
|
11585
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11586
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11587
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11588
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11589
|
+
Redirected to http://test.host/commontator/threads/4
|
11590
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
11591
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11592
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11593
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'
|
11594
|
+
[1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m
|
11595
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11596
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-04-04 16:46:17.906402' WHERE "votes"."id" = 1[0m
|
11597
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11598
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m
|
11599
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11600
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11601
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11602
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-04-04 16:46:17.909572' WHERE "commontator_comments"."id" = 3[0m
|
11603
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11604
|
+
Processing by Commontator::CommentsController#upvote as HTML
|
11605
|
+
Parameters: {"id"=>"3"}
|
11606
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11607
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11608
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11609
|
+
[1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11610
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m
|
11611
|
+
[1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1
|
11612
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11613
|
+
[1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-04-04 16:46:17.915011' WHERE "votes"."id" = 1
|
11614
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11615
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
|
11616
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11617
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11618
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11619
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-04-04 16:46:17.918222' WHERE "commontator_comments"."id" = 3
|
11620
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11621
|
+
Redirected to http://test.host/commontator/threads/4
|
11622
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
11623
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11624
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11625
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11626
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11627
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11628
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11629
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11630
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11631
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11632
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11633
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11634
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11635
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11636
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11637
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
11638
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11639
|
+
Processing by Commontator::CommentsController#update as HTML
|
11640
|
+
Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}}
|
11641
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11642
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11643
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11644
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11645
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
11646
|
+
Processing by Commontator::CommentsController#update as HTML
|
11647
|
+
Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}}
|
11648
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11649
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11650
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11651
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11652
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
11653
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11654
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11655
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11656
|
+
Processing by Commontator::CommentsController#update as HTML
|
11657
|
+
Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}}
|
11658
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11659
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11660
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11661
|
+
[1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11662
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
11663
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11664
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11665
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11666
|
+
Processing by Commontator::CommentsController#update as HTML
|
11667
|
+
Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}}
|
11668
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11669
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11670
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11671
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11672
|
+
[1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
|
11673
|
+
Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms)
|
11674
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11675
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11676
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11677
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11678
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11679
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11680
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11681
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11682
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11683
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11684
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11685
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11686
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
11687
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11688
|
+
Processing by Commontator::CommentsController#create as HTML
|
11689
|
+
Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}}
|
11690
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
11691
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11692
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11693
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11694
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
11695
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11696
|
+
Redirected to http://test.host/commontator/threads/4
|
11697
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
|
11698
|
+
Processing by Commontator::CommentsController#create as HTML
|
11699
|
+
Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}}
|
11700
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
11701
|
+
[1m[35mDummyModel Load (1.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11702
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11703
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11704
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
11705
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11706
|
+
Redirected to http://test.host/commontator/threads/4
|
11707
|
+
Completed 302 Found in 28ms (ActiveRecord: 1.4ms)
|
11708
|
+
Processing by Commontator::CommentsController#create as HTML
|
11709
|
+
Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}}
|
11710
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
11711
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11712
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11713
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11714
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
11715
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11716
|
+
Redirected to http://test.host/commontator/threads/4
|
11717
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
11718
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11719
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11720
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11721
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
|
11722
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11723
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11724
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11725
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11726
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11727
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11728
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11729
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11730
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
11731
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11732
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11733
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11734
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11735
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'
|
11736
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11737
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]]
|
11738
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11739
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
|
11740
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11741
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11742
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11743
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-04-04 16:46:18.011373' WHERE "commontator_comments"."id" = 3
|
11744
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11745
|
+
Processing by Commontator::CommentsController#unvote as HTML
|
11746
|
+
Parameters: {"id"=>"3"}
|
11747
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11748
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11749
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11750
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11751
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'
|
11752
|
+
[1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m
|
11753
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11754
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]]
|
11755
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11756
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m
|
11757
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11758
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11759
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11760
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-04-04 16:46:18.020207' WHERE "commontator_comments"."id" = 3[0m
|
11761
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11762
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m
|
11763
|
+
Redirected to http://test.host/commontator/threads/4
|
11764
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
|
11765
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11766
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11767
|
+
Processing by Commontator::CommentsController#unvote as HTML
|
11768
|
+
Parameters: {"id"=>"3"}
|
11769
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11770
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11771
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11772
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11773
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'
|
11774
|
+
Redirected to http://test.host/commontator/threads/4
|
11775
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
11776
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11777
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11778
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m
|
11779
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11780
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]]
|
11781
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11782
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m
|
11783
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11784
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11785
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11786
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-04-04 16:46:18.035802' WHERE "commontator_comments"."id" = 3[0m
|
11787
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11788
|
+
Processing by Commontator::CommentsController#unvote as HTML
|
11789
|
+
Parameters: {"id"=>"3"}
|
11790
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11791
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11792
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11793
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11794
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m
|
11795
|
+
[1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'
|
11796
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11797
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]]
|
11798
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11799
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
|
11800
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11801
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11802
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11803
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-04-04 16:46:18.043572' WHERE "commontator_comments"."id" = 3
|
11804
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11805
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
|
11806
|
+
Redirected to http://test.host/commontator/threads/4
|
11807
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
11808
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11809
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11810
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11811
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11812
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11813
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11814
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11815
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11816
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11817
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11818
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11819
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11820
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11821
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11822
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
11823
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11824
|
+
Processing by Commontator::CommentsController#update as HTML
|
11825
|
+
Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}}
|
11826
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11827
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11828
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11829
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11830
|
+
[1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m
|
11831
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11832
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-04-04 16:46:18.058004' WHERE "commontator_comments"."id" = 3[0m
|
11833
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11834
|
+
Redirected to http://test.host/commontator/threads/4
|
11835
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
11836
|
+
Processing by Commontator::CommentsController#update as HTML
|
11837
|
+
Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}}
|
11838
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11839
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11840
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11841
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11842
|
+
[1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m
|
11843
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11844
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11845
|
+
Redirected to http://test.host/commontator/threads/4
|
11846
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
11847
|
+
Processing by Commontator::CommentsController#update as HTML
|
11848
|
+
Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}}
|
11849
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11850
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11851
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11852
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11853
|
+
[1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
|
11854
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11855
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11856
|
+
Redirected to http://test.host/commontator/threads/4
|
11857
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
11858
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11859
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11860
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11861
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11862
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11863
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11864
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11865
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11866
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11867
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11868
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11869
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11870
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
11871
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11872
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m
|
11873
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11874
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]]
|
11875
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11876
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m
|
11877
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11878
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11879
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11880
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-04-04 16:46:18.080151' WHERE "commontator_comments"."id" = 3[0m
|
11881
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11882
|
+
Processing by Commontator::CommentsController#unvote as HTML
|
11883
|
+
Parameters: {"id"=>"3"}
|
11884
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11885
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11886
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11887
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms)
|
11888
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11889
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11890
|
+
Processing by Commontator::CommentsController#unvote as HTML
|
11891
|
+
Parameters: {"id"=>"3"}
|
11892
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11893
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11894
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11895
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
11896
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
11897
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11898
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11899
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11900
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11901
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11902
|
+
Processing by Commontator::CommentsController#unvote as HTML
|
11903
|
+
Parameters: {"id"=>"3"}
|
11904
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11905
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11906
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11907
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
11908
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL
|
11909
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m
|
11910
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11911
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11912
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11913
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11914
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11915
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11916
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11917
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11918
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11919
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11920
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11921
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11922
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
11923
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11924
|
+
Processing by Commontator::CommentsController#downvote as HTML
|
11925
|
+
Parameters: {"id"=>"3"}
|
11926
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11927
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11928
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11929
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms)
|
11930
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11931
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11932
|
+
Processing by Commontator::CommentsController#downvote as HTML
|
11933
|
+
Parameters: {"id"=>"3"}
|
11934
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
11935
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
11936
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11937
|
+
[1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
11938
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
11939
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11940
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11941
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11942
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11943
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11944
|
+
Processing by Commontator::CommentsController#downvote as HTML
|
11945
|
+
Parameters: {"id"=>"3"}
|
11946
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
11947
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
11948
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11949
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
11950
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m
|
11951
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL
|
11952
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11953
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11954
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11955
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11956
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11957
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11958
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11959
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11960
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11961
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11962
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11963
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11964
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
11965
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11966
|
+
Processing by Commontator::CommentsController#create as HTML
|
11967
|
+
Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}}
|
11968
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
11969
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11970
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
11971
|
+
Processing by Commontator::CommentsController#create as HTML
|
11972
|
+
Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}}
|
11973
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
11974
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
11975
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
11976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11977
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.148792', "updated_at" = '2013-04-04 16:46:18.149571' WHERE "commontator_threads"."id" = 4
|
11978
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11979
|
+
Processing by Commontator::CommentsController#create as HTML
|
11980
|
+
Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}}
|
11981
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
11982
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11983
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
11984
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11985
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11986
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11987
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11988
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11989
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11990
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11991
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
11992
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11993
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11994
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11995
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
11996
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
11997
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11998
|
+
Processing by Commontator::CommentsController#delete as HTML
|
11999
|
+
Parameters: {"id"=>"3"}
|
12000
|
+
[1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
12001
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
12002
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
12003
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12004
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms)
|
12005
|
+
Processing by Commontator::CommentsController#delete as HTML
|
12006
|
+
Parameters: {"id"=>"3"}
|
12007
|
+
[1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
|
12008
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
12009
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
12010
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12011
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
12012
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12013
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:18.168861', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:18.169532' WHERE "commontator_comments"."id" = 3[0m
|
12014
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12015
|
+
Processing by Commontator::CommentsController#delete as HTML
|
12016
|
+
Parameters: {"id"=>"3"}
|
12017
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
12018
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
12019
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
12020
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12021
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
12022
|
+
[1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
|
12023
|
+
Redirected to http://test.host/commontator/threads/4
|
12024
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
12025
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12026
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12027
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12028
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12029
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:18.178194' WHERE "commontator_comments"."id" = 3[0m
|
12030
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12031
|
+
Processing by Commontator::CommentsController#delete as HTML
|
12032
|
+
Parameters: {"id"=>"3"}
|
12033
|
+
[1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]]
|
12034
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
12035
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
12036
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12037
|
+
[1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m
|
12038
|
+
Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms)
|
12039
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12040
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12041
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12042
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12043
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12044
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12045
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12046
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12047
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4
|
12048
|
+
Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.3ms)
|
12049
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12050
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12051
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12052
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12053
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12054
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12055
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12056
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12057
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12058
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12059
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12060
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12061
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12062
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12063
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-04-04 16:46:18.201980' WHERE "commontator_subscriptions"."id" = 4[0m
|
12064
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12065
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12066
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-04-04 16:46:18.202810' WHERE "commontator_subscriptions"."id" = 4
|
12067
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12068
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12069
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12070
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12071
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12072
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12073
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12074
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12075
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12076
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12077
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12078
|
+
Processing by Commontator::SubscriptionsController#create as HTML
|
12079
|
+
Parameters: {"thread_id"=>"4"}
|
12080
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12081
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12082
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
12083
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12084
|
+
Processing by Commontator::SubscriptionsController#create as HTML
|
12085
|
+
Parameters: {"thread_id"=>"4"}
|
12086
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12087
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12088
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
12089
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12090
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12091
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12092
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12093
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12094
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12095
|
+
Processing by Commontator::SubscriptionsController#create as HTML
|
12096
|
+
Parameters: {"thread_id"=>"4"}
|
12097
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12098
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12099
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12100
|
+
Redirected to http://test.host/commontator/threads/4
|
12101
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
12102
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12103
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12104
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12105
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12106
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12107
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12108
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12109
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12110
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12111
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12112
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12113
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12114
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12115
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12116
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12117
|
+
Processing by Commontator::SubscriptionsController#destroy as HTML
|
12118
|
+
Parameters: {"thread_id"=>"4"}
|
12119
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12120
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12121
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
12122
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12123
|
+
Processing by Commontator::SubscriptionsController#destroy as HTML
|
12124
|
+
Parameters: {"thread_id"=>"4"}
|
12125
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12126
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12127
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
12128
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12129
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12130
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12131
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]]
|
12132
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12133
|
+
Processing by Commontator::SubscriptionsController#destroy as HTML
|
12134
|
+
Parameters: {"thread_id"=>"4"}
|
12135
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12136
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12137
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12138
|
+
Redirected to http://test.host/commontator/threads/4
|
12139
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
12140
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12142
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12143
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12144
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12145
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12146
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12147
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12148
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12149
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12150
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12151
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12152
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12153
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12154
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12155
|
+
Processing by Commontator::SubscriptionsController#destroy as HTML
|
12156
|
+
Parameters: {"thread_id"=>"4"}
|
12157
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12158
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12159
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12160
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12161
|
+
[1m[36mSQL (22.5ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]]
|
12162
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12163
|
+
Redirected to http://test.host/commontator/threads/4
|
12164
|
+
Completed 302 Found in 26ms (ActiveRecord: 22.9ms)
|
12165
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12166
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12167
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12168
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12169
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12170
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12171
|
+
Processing by Commontator::SubscriptionsController#destroy as HTML
|
12172
|
+
Parameters: {"thread_id"=>"4"}
|
12173
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12174
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12175
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12176
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12177
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]]
|
12178
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12179
|
+
Redirected to http://test.host/commontator/threads/4
|
12180
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
12181
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12182
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12183
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12184
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12185
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12186
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12187
|
+
Processing by Commontator::SubscriptionsController#destroy as HTML
|
12188
|
+
Parameters: {"thread_id"=>"4"}
|
12189
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12190
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12191
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12192
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12193
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]]
|
12194
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12195
|
+
Redirected to http://test.host/commontator/threads/4
|
12196
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
12197
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12198
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12199
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12200
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12201
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12203
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12204
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12205
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12206
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12207
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12208
|
+
Processing by Commontator::SubscriptionsController#create as HTML
|
12209
|
+
Parameters: {"thread_id"=>"4"}
|
12210
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12211
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12212
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12213
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12214
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12215
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12216
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12217
|
+
Redirected to http://test.host/commontator/threads/4
|
12218
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
12219
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12220
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12221
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12222
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]]
|
12223
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12224
|
+
Processing by Commontator::SubscriptionsController#create as HTML
|
12225
|
+
Parameters: {"thread_id"=>"4"}
|
12226
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12227
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12228
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12229
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12230
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12231
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12232
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12233
|
+
Redirected to http://test.host/commontator/threads/4
|
12234
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
12235
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12236
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12237
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12238
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]]
|
12239
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12240
|
+
Processing by Commontator::SubscriptionsController#create as HTML
|
12241
|
+
Parameters: {"thread_id"=>"4"}
|
12242
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12243
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12244
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12245
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12246
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12247
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12248
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12249
|
+
Redirected to http://test.host/commontator/threads/4
|
12250
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
12251
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12252
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12253
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12254
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12255
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12256
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12257
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12258
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12259
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12260
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12261
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12262
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12263
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12264
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12265
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12266
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12267
|
+
[1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m
|
12268
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12269
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12270
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12271
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12272
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12273
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12274
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12275
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12276
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12277
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
12278
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
12279
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m
|
12280
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-04-04 16:46:18.329555' WHERE "commontator_subscriptions"."id" = 5
|
12281
|
+
Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms)
|
12282
|
+
|
12283
|
+
Sent mail to (3ms)
|
12284
|
+
Date: Thu, 04 Apr 2013 11:46:18 -0500
|
12285
|
+
From: no-reply@example.com
|
12286
|
+
Message-ID: <515dae5a521ca_f50cb4fe4944ea@ubuntu.mail>
|
12287
|
+
Subject: Anonymous posted a dummy comment on dummy model 4
|
12288
|
+
Mime-Version: 1.0
|
12289
|
+
Content-Type: text/html;
|
12290
|
+
charset=UTF-8
|
12291
|
+
Content-Transfer-Encoding: 7bit
|
12292
|
+
|
12293
|
+
<h4>Anonymous's dummy comment on dummy model 4:</h4>
|
12294
|
+
|
12295
|
+
|
12296
|
+
<p>Something</p>
|
12297
|
+
|
12298
|
+
|
12299
|
+
<p><a href="http://test.host/dummy_models/4">Click here</a> to visit this thread.</p>
|
12300
|
+
|
12301
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12302
|
+
Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms)
|
12303
|
+
|
12304
|
+
Sent mail to (3ms)
|
12305
|
+
Date: Thu, 04 Apr 2013 11:46:18 -0500
|
12306
|
+
From: no-reply@example.com
|
12307
|
+
Message-ID: <515dae5a5424c_f50cb4fe4945a5@ubuntu.mail>
|
12308
|
+
Subject: Anonymous posted a dummy comment on dummy model 4
|
12309
|
+
Mime-Version: 1.0
|
12310
|
+
Content-Type: text/html;
|
12311
|
+
charset=UTF-8
|
12312
|
+
Content-Transfer-Encoding: 7bit
|
12313
|
+
|
12314
|
+
<h4>Anonymous's dummy comment on dummy model 4:</h4>
|
12315
|
+
|
12316
|
+
|
12317
|
+
<p>Something</p>
|
12318
|
+
|
12319
|
+
|
12320
|
+
<p><a href="http://test.host/dummy_models/4">Click here</a> to visit this thread.</p>
|
12321
|
+
|
12322
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12324
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12325
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12326
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12327
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12328
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12329
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12330
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12331
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12332
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12333
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12334
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12335
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12336
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12337
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12338
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12339
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12340
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12341
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12342
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12343
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12344
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
12345
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12346
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12347
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12348
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12349
|
+
[1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m
|
12350
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12351
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12352
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12353
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12354
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12355
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12356
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12357
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12358
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12359
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12360
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12361
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.366567', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:18.367002' WHERE "commontator_threads"."id" = 4[0m
|
12362
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12363
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12364
|
+
[1m[35m (0.0ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.368132' WHERE "commontator_threads"."id" = 4
|
12365
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12366
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12368
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12369
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12370
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12371
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12372
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12373
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12374
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12375
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12376
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12377
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12378
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12379
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12380
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12381
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12382
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12383
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12384
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12385
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12386
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12387
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12388
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12389
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12390
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12391
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12392
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12393
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12394
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12395
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12396
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12397
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]]
|
12398
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12399
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12400
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12401
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12402
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12403
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12404
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12405
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12406
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12407
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12408
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12409
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12410
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12411
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12412
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12413
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12414
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12415
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12416
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12417
|
+
[1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m
|
12418
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12419
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12420
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12421
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12422
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12423
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12424
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12425
|
+
[1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m
|
12426
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12427
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12428
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12429
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m
|
12430
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
12431
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12432
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
|
12433
|
+
[1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m
|
12434
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12435
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12436
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12437
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12438
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12439
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12440
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12441
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12442
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12443
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12444
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12445
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12446
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12447
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12448
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12449
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12450
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12451
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12452
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12453
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12454
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12455
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12456
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12457
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
12458
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
|
12459
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m
|
12460
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12461
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12462
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12463
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12464
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12465
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12466
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12467
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12468
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12469
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12470
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12471
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12472
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12473
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12474
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12475
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12476
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12477
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12478
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12479
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12480
|
+
[1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1
|
12481
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12482
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12483
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12484
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12485
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12486
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
12487
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m
|
12488
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1
|
12489
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-04-04 16:46:18.440095' WHERE "commontator_subscriptions"."id" = 5[0m
|
12490
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12491
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12492
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-04-04 16:46:18.441115' WHERE "commontator_subscriptions"."id" = 4
|
12493
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12494
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12495
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-04-04 16:46:18.442119' WHERE "commontator_subscriptions"."id" = 5[0m
|
12496
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12497
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12498
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12499
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12500
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12501
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12502
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-04-04 16:46:18.445648' WHERE "commontator_subscriptions"."id" = 5
|
12503
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12504
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12505
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12506
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12507
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12508
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12509
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12510
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12511
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12512
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12513
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12514
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12515
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12516
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12517
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12518
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
|
12519
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12520
|
+
[1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4
|
12521
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12522
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]]
|
12523
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12524
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12525
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m
|
12526
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "updated_at" = '2013-04-04 16:46:18.459761' WHERE "commontator_threads"."id" = 4
|
12527
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m
|
12528
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-04-04 16:46:18.462123', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:18.462516' WHERE "commontator_threads"."id" = 4
|
12529
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12530
|
+
[1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4
|
12531
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]]
|
12532
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1
|
12533
|
+
[1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m
|
12534
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12535
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12536
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12537
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12538
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12539
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12540
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12541
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12542
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12543
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12544
|
+
Processing by Commontator::ThreadsController#close as HTML
|
12545
|
+
Parameters: {"id"=>"4"}
|
12546
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12547
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12548
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
12549
|
+
Processing by Commontator::ThreadsController#close as HTML
|
12550
|
+
Parameters: {"id"=>"4"}
|
12551
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12552
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12553
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
12554
|
+
Processing by Commontator::ThreadsController#close as HTML
|
12555
|
+
Parameters: {"id"=>"4"}
|
12556
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12557
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12558
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
12559
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12560
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.479829', "updated_at" = '2013-04-04 16:46:18.480352' WHERE "commontator_threads"."id" = 4[0m
|
12561
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12562
|
+
Processing by Commontator::ThreadsController#close as HTML
|
12563
|
+
Parameters: {"id"=>"4"}
|
12564
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12565
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12566
|
+
Redirected to http://test.host/commontator/threads/4
|
12567
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
12568
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12569
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12570
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12571
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12572
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12573
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12574
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12575
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12576
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12577
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12578
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12579
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.488548', "updated_at" = '2013-04-04 16:46:18.488940' WHERE "commontator_threads"."id" = 4
|
12580
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12581
|
+
Processing by Commontator::ThreadsController#reopen as HTML
|
12582
|
+
Parameters: {"id"=>"4"}
|
12583
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12584
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12585
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12586
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.492671' WHERE "commontator_threads"."id" = 4[0m
|
12587
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12588
|
+
Redirected to http://test.host/commontator/threads/4
|
12589
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
12590
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12591
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.494451', "updated_at" = '2013-04-04 16:46:18.494826' WHERE "commontator_threads"."id" = 4
|
12592
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12593
|
+
Processing by Commontator::ThreadsController#reopen as HTML
|
12594
|
+
Parameters: {"id"=>"4"}
|
12595
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12596
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12597
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12598
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.498216' WHERE "commontator_threads"."id" = 4[0m
|
12599
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12600
|
+
Redirected to http://test.host/commontator/threads/4
|
12601
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
12602
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12603
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12604
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12605
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12606
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12607
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12608
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12609
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12610
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12611
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12612
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12613
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.504952', "updated_at" = '2013-04-04 16:46:18.505439' WHERE "commontator_threads"."id" = 4
|
12614
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12615
|
+
Processing by Commontator::ThreadsController#reopen as HTML
|
12616
|
+
Parameters: {"id"=>"4"}
|
12617
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12618
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12619
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
12620
|
+
Processing by Commontator::ThreadsController#reopen as HTML
|
12621
|
+
Parameters: {"id"=>"4"}
|
12622
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12623
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12624
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
12625
|
+
Processing by Commontator::ThreadsController#reopen as HTML
|
12626
|
+
Parameters: {"id"=>"4"}
|
12627
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12628
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12629
|
+
Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
|
12630
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12631
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.514581' WHERE "commontator_threads"."id" = 4[0m
|
12632
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12633
|
+
Processing by Commontator::ThreadsController#reopen as HTML
|
12634
|
+
Parameters: {"id"=>"4"}
|
12635
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12636
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12637
|
+
Redirected to http://test.host/commontator/threads/4
|
12638
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
12639
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12640
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12641
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12642
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12643
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12644
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12645
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12646
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12647
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12648
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12649
|
+
Processing by Commontator::ThreadsController#show as HTML
|
12650
|
+
Parameters: {"id"=>"4"}
|
12651
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12652
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12653
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m
|
12654
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12655
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12656
|
+
Redirected to http://test.host/dummy_models/4
|
12657
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
12658
|
+
Processing by Commontator::ThreadsController#show as HTML
|
12659
|
+
Parameters: {"id"=>"4"}
|
12660
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12661
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12662
|
+
[1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1
|
12663
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12664
|
+
[1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1
|
12665
|
+
Redirected to http://test.host/dummy_models/4
|
12666
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
12667
|
+
Processing by Commontator::ThreadsController#show as HTML
|
12668
|
+
Parameters: {"id"=>"4"}
|
12669
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12670
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12671
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m
|
12672
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12673
|
+
[1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m
|
12674
|
+
Redirected to http://test.host/dummy_models/4
|
12675
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
12676
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
12677
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12678
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12679
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12680
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12681
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12682
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12683
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12684
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12685
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12686
|
+
Processing by Commontator::ThreadsController#close as HTML
|
12687
|
+
Parameters: {"id"=>"4"}
|
12688
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12689
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12690
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12691
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.585976', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:18.586436' WHERE "commontator_threads"."id" = 4[0m
|
12692
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12693
|
+
Redirected to http://test.host/commontator/threads/4
|
12694
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
12695
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12696
|
+
[1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.588735' WHERE "commontator_threads"."id" = 4
|
12697
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12698
|
+
Processing by Commontator::ThreadsController#close as HTML
|
12699
|
+
Parameters: {"id"=>"4"}
|
12700
|
+
[1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
|
12701
|
+
[1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m
|
12702
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12703
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.590672', "updated_at" = '2013-04-04 16:46:18.591104' WHERE "commontator_threads"."id" = 4[0m
|
12704
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12705
|
+
Redirected to http://test.host/commontator/threads/4
|
12706
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
12707
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12708
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12709
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12710
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12711
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12712
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12713
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12714
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12715
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12716
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12717
|
+
Processing by Commontator::ThreadsController#show as HTML
|
12718
|
+
Parameters: {"id"=>"4"}
|
12719
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12720
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12721
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m
|
12722
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12723
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
12724
|
+
Processing by Commontator::ThreadsController#show as HTML
|
12725
|
+
Parameters: {"id"=>"4"}
|
12726
|
+
[1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]]
|
12727
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12728
|
+
[1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m
|
12729
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12730
|
+
Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
|
12731
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12732
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12733
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12734
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12735
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12736
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12737
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12738
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12739
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12740
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12741
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12742
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12743
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
12744
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12745
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12746
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
12747
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12748
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
|
12749
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]]
|
12750
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12751
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|