commontator 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -20,4 +20,3 @@ Rake::TestTask.new(:test => 'app:db:test:prepare') do |t|
20
20
  end
21
21
 
22
22
  task :default => :test
23
-
@@ -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
data/lib/commontator.rb CHANGED
@@ -58,4 +58,3 @@ end
58
58
 
59
59
  require 'commontator/acts_as_commontator'
60
60
  require 'commontator/acts_as_commontable'
61
-
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
 
@@ -1,3 +1,3 @@
1
1
  module Commontator
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module Commontator
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
@@ -1,4 +1,4 @@
1
- COPY_TASKS = ['assets/images', 'assets/stylesheets', 'views', 'mailers', 'helpers', 'controllers', 'models']
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
- COPY_TASKS.each do |path|
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
- COPY_TASKS.each do |path|
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
- COPY_TASKS = ['assets/images', 'assets/stylesheets', 'views', 'mailers', 'helpers', 'controllers', 'models']
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
- COPY_TASKS.each do |path|
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
- COPY_TASKS.each do |path|
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
+
Binary file
@@ -535,3 +535,31 @@ Connecting to database specified by database.yml
535
535
   (4.4ms) CREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")
536
536
   (4.7ms) CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
537
537
   (0.1ms) SELECT version FROM "schema_migrations"
538
+ Connecting to database specified by database.yml
539
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
540
+  (0.3ms) select sqlite_version(*)
541
+  (31.8ms) DROP TABLE "commontator_comments"
542
+  (6.1ms) 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
+  (5.1ms) CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
544
+  (5.4ms) CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
545
+  (4.8ms) CREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")
546
+  (4.9ms) CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
547
+  (5.0ms) CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
548
+  (6.4ms) DROP TABLE "commontator_subscriptions"
549
+  (5.4ms) CREATE 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) 
550
+  (5.1ms) 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
+  (5.1ms) CREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")
552
+  (5.8ms) DROP TABLE "commontator_threads"
553
+  (5.1ms) CREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
554
+  (4.9ms) CREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")
555
+  (5.4ms) DROP TABLE "dummy_models"
556
+  (5.5ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
557
+  (5.4ms) DROP TABLE "dummy_users"
558
+  (5.3ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
559
+  (5.7ms) DROP TABLE "votes"
560
+  (5.4ms) 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
+  (5.0ms) CREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")
562
+  (5.0ms) CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
563
+  (5.1ms) CREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")
564
+  (5.7ms) CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
565
+  (0.1ms) SELECT version FROM "schema_migrations"
@@ -10915,3 +10915,1837 @@ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
10915
10915
  SQL (0.2ms) 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
   (0.0ms) RELEASE SAVEPOINT active_record_1
10917
10917
   (0.1ms) rollback transaction
10918
+ Connecting to database specified by database.yml
10919
+  (0.0ms) begin transaction
10920
+ SQL (22.6ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1
10922
+ SQL (0.2ms) 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
+  (18.7ms) commit transaction
10924
+  (0.1ms) begin transaction
10925
+ SQL (0.2ms) INSERT INTO "dummy_users" ("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]]
10926
+  (5.6ms) commit transaction
10927
+  (0.0ms) begin transaction
10928
+  (0.0ms) rollback transaction
10929
+  (0.0ms) begin transaction
10930
+  (0.0ms) SAVEPOINT active_record_1
10931
+ SQL (0.2ms) INSERT INTO "dummy_users" ("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]]
10932
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10933
+  (0.0ms) SAVEPOINT active_record_1
10934
+ SQL (0.6ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1
10936
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10938
+  (0.0ms) SAVEPOINT active_record_1
10939
+ SQL (0.3ms) 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: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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2
10941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10942
+  (0.1ms) SAVEPOINT active_record_1
10943
+  (0.2ms) UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-04-04 16:46:16.271538' WHERE "commontator_comments"."id" = 1
10944
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10945
+  (0.2ms) rollback transaction
10946
+  (0.1ms) begin transaction
10947
+  (0.1ms) SAVEPOINT active_record_1
10948
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10950
+  (0.1ms) SAVEPOINT active_record_1
10951
+ SQL (0.3ms) INSERT INTO "dummy_models" ("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]]
10952
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1
10953
+ SQL (0.3ms) 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:16 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00]]
10954
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10955
+  (0.0ms) SAVEPOINT active_record_1
10956
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2
10958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10959
+  (0.0ms) SAVEPOINT active_record_1
10960
+  (0.1ms) UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-04-04 16:46:17.286559' WHERE "commontator_comments"."id" = 1
10961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10962
+  (0.1ms) rollback transaction
10963
+  (0.1ms) begin transaction
10964
+  (0.1ms) SAVEPOINT active_record_1
10965
+ SQL (0.3ms) 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]]
10966
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10967
+  (0.1ms) SAVEPOINT active_record_1
10968
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1
10970
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10972
+  (0.0ms) SAVEPOINT active_record_1
10973
+ SQL (0.1ms) 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]]
10974
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2
10976
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10977
+  (0.0ms) SAVEPOINT active_record_1
10978
+  (0.1ms) UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.296879' WHERE "commontator_comments"."id" = 1
10979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10980
+  (0.1ms) rollback transaction
10981
+  (0.0ms) begin transaction
10982
+  (0.0ms) SAVEPOINT active_record_1
10983
+ SQL (0.1ms) 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]]
10984
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10985
+  (0.0ms) SAVEPOINT active_record_1
10986
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1
10988
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10990
+  (0.1ms) rollback transaction
10991
+  (0.0ms) begin transaction
10992
+ SQL (0.2ms) 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
+  (11.7ms) commit transaction
10994
+  (0.0ms) begin transaction
10995
+ SQL (0.3ms) 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]]
10996
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1
10997
+ SQL (0.2ms) 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]]
10998
+  (5.5ms) commit transaction
10999
+ Commontator::Subscription Load (0.2ms) SELECT "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
11000
+  (0.0ms) begin transaction
11001
+ Commontator::Subscription Exists (0.1ms) SELECT 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
11002
+ SQL (0.3ms) 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
+  (6.5ms) commit transaction
11004
+  (0.0ms) begin transaction
11005
+ SQL (0.3ms) 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", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
11006
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2
11007
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1
11008
+  (6.1ms) commit transaction
11009
+  (0.0ms) begin transaction
11010
+  (0.0ms) commit transaction
11011
+  (0.0ms) begin transaction
11012
+ SQL (0.3ms) 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
+  (4.3ms) commit transaction
11014
+  (0.0ms) begin transaction
11015
+ SQL (0.2ms) 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]]
11016
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1
11017
+ SQL (0.2ms) 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", 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
+  (5.4ms) commit transaction
11019
+ Commontator::Subscription Load (0.2ms) SELECT "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
11020
+  (0.1ms) begin transaction
11021
+ Commontator::Subscription Exists (0.1ms) SELECT 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
11022
+ SQL (0.4ms) 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
+  (5.6ms) commit transaction
11024
+  (0.1ms) begin transaction
11025
+ SQL (0.5ms) 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", 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
+ Commontator::Subscription Load (0.2ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3
11027
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1
11028
+  (5.2ms) commit transaction
11029
+  (0.0ms) begin transaction
11030
+ SQL (0.1ms) 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
+  (4.0ms) commit transaction
11032
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) begin transaction
11034
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.2ms) 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", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]]
11036
+  (5.1ms) commit transaction
11037
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]]
11038
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1
11039
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1
11040
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1
11041
+  (0.0ms) begin transaction
11042
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3
11043
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1
11044
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1
11045
+  (0.1ms) UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-04-04 16:46:17.445415' WHERE "commontator_subscriptions"."id" = 3
11046
+  (4.1ms) 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
+  (0.0ms) begin transaction
11068
+  (0.0ms) SAVEPOINT active_record_1
11069
+ SQL (0.2ms) 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]]
11070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11071
+  (0.0ms) SAVEPOINT active_record_1
11072
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11074
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11076
+  (0.0ms) SAVEPOINT active_record_1
11077
+ SQL (0.2ms) 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]]
11078
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11080
+ Processing by Commontator::CommentsController#new as HTML
11081
+ Parameters: {"thread_id"=>"4"}
11082
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
11083
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11084
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
11085
+ Processing by Commontator::CommentsController#new as HTML
11086
+ Parameters: {"thread_id"=>"4"}
11087
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
11088
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11089
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
11090
+  (0.1ms) rollback transaction
11091
+  (0.0ms) begin transaction
11092
+  (0.0ms) SAVEPOINT active_record_1
11093
+ SQL (0.2ms) 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]]
11094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11095
+  (0.0ms) SAVEPOINT active_record_1
11096
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11098
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11100
+  (0.0ms) SAVEPOINT active_record_1
11101
+ SQL (0.2ms) 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]]
11102
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11104
+  (0.0ms) SAVEPOINT active_record_1
11105
+  (0.1ms) UPDATE "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
11106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11107
+ Processing by Commontator::CommentsController#undelete as HTML
11108
+ Parameters: {"id"=>"3"}
11109
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11110
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11111
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11112
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11113
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11114
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
11115
+  (0.0ms) SAVEPOINT active_record_1
11116
+  (0.1ms) UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.604743' WHERE "commontator_comments"."id" = 3
11117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11118
+ Redirected to http://test.host/commontator/threads/4
11119
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
11120
+  (0.0ms) SAVEPOINT active_record_1
11121
+ SQL (0.1ms) 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]]
11122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11123
+  (0.0ms) SAVEPOINT active_record_1
11124
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11126
+  (0.0ms) SAVEPOINT active_record_1
11127
+  (0.1ms) UPDATE "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
11128
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11129
+ Processing by Commontator::CommentsController#undelete as HTML
11130
+ Parameters: {"id"=>"3"}
11131
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11132
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11133
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11134
+ DummyModel Load (0.0ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11135
+  (0.0ms) SAVEPOINT active_record_1
11136
+  (0.1ms) UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.614563' WHERE "commontator_comments"."id" = 3
11137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11138
+ Redirected to http://test.host/commontator/threads/4
11139
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
11140
+  (0.0ms) SAVEPOINT active_record_1
11141
+  (0.1ms) UPDATE "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
11142
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11143
+ Processing by Commontator::CommentsController#undelete as HTML
11144
+ Parameters: {"id"=>"3"}
11145
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11146
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11147
+ DummyUser Load (0.0ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11148
+ DummyModel Load (0.0ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11149
+  (0.0ms) SAVEPOINT active_record_1
11150
+  (0.1ms) UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.620099' WHERE "commontator_comments"."id" = 3
11151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11152
+ Redirected to http://test.host/commontator/threads/4
11153
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
11154
+  (0.1ms) rollback transaction
11155
+  (0.0ms) begin transaction
11156
+  (0.0ms) SAVEPOINT active_record_1
11157
+ SQL (0.2ms) 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]]
11158
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11159
+  (0.0ms) SAVEPOINT active_record_1
11160
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11162
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11164
+  (0.0ms) SAVEPOINT active_record_1
11165
+ SQL (0.2ms) 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]]
11166
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11167
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11168
+  (0.0ms) SAVEPOINT active_record_1
11169
+  (0.1ms) UPDATE "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
11170
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11171
+ Processing by Commontator::CommentsController#undelete as HTML
11172
+ Parameters: {"id"=>"3"}
11173
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11174
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11175
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11176
+ DummyModel Load (0.0ms) 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
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11181
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11182
+ DummyUser Load (0.0ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11183
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11184
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
11185
+  (0.0ms) SAVEPOINT active_record_1
11186
+  (0.1ms) UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.636835' WHERE "commontator_comments"."id" = 3
11187
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11188
+ Processing by Commontator::CommentsController#undelete as HTML
11189
+ Parameters: {"id"=>"3"}
11190
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11191
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11192
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11193
+ DummyModel Load (0.0ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11194
+ Commontator::Comment Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11198
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11200
+ Processing by Commontator::CommentsController#undelete as HTML
11201
+ Parameters: {"id"=>"3"}
11202
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11203
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11204
+ DummyUser Load (0.0ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11205
+ DummyModel Load (0.0ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11206
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms)
11207
+  (0.0ms) SAVEPOINT active_record_1
11208
+ SQL (0.2ms) 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]]
11209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11210
+  (0.0ms) SAVEPOINT active_record_1
11211
+  (0.1ms) UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.648195' WHERE "commontator_comments"."id" = 3
11212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11213
+  (0.0ms) SAVEPOINT active_record_1
11214
+  (0.1ms) UPDATE "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
11215
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11216
+ Processing by Commontator::CommentsController#undelete as HTML
11217
+ Parameters: {"id"=>"3"}
11218
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11219
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11220
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11221
+ DummyModel Load (0.0ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11222
+ DummyUser Load (0.0ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11223
+ Commontator::Comment Load (0.1ms) 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
+  (0.1ms) rollback transaction
11226
+  (0.0ms) begin transaction
11227
+  (0.0ms) SAVEPOINT active_record_1
11228
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11230
+  (0.0ms) SAVEPOINT active_record_1
11231
+ SQL (0.1ms) 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]]
11232
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11233
+ SQL (0.1ms) 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]]
11234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11235
+  (0.0ms) SAVEPOINT active_record_1
11236
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11239
+ Processing by Commontator::CommentsController#delete as HTML
11240
+ Parameters: {"id"=>"3"}
11241
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11242
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11243
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11244
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11245
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
11246
+  (0.0ms) SAVEPOINT active_record_1
11247
+  (0.1ms) UPDATE "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
11248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11249
+ Redirected to http://test.host/commontator/threads/4
11250
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
11251
+  (0.0ms) SAVEPOINT active_record_1
11252
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11254
+  (0.0ms) SAVEPOINT active_record_1
11255
+ SQL (0.2ms) 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]]
11256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11257
+  (0.0ms) SAVEPOINT active_record_1
11258
+  (0.1ms) UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.670354' WHERE "commontator_comments"."id" = 3
11259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11260
+ Processing by Commontator::CommentsController#delete as HTML
11261
+ Parameters: {"id"=>"3"}
11262
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11263
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11264
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11265
+ DummyModel Load (0.0ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11266
+  (0.0ms) SAVEPOINT active_record_1
11267
+  (0.1ms) UPDATE "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
11268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11269
+ Redirected to http://test.host/commontator/threads/4
11270
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
11271
+  (0.0ms) SAVEPOINT active_record_1
11272
+  (0.1ms) UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.676577' WHERE "commontator_comments"."id" = 3
11273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11274
+ Processing by Commontator::CommentsController#delete as HTML
11275
+ Parameters: {"id"=>"3"}
11276
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11277
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11278
+ DummyUser Load (0.0ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11279
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11280
+  (0.0ms) SAVEPOINT active_record_1
11281
+  (0.1ms) UPDATE "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
11282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11283
+ Redirected to http://test.host/commontator/threads/4
11284
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
11285
+  (0.1ms) rollback transaction
11286
+  (0.0ms) begin transaction
11287
+  (0.0ms) SAVEPOINT active_record_1
11288
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11290
+  (0.0ms) SAVEPOINT active_record_1
11291
+ SQL (0.1ms) 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]]
11292
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11293
+ SQL (0.1ms) 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]]
11294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11295
+  (0.0ms) SAVEPOINT active_record_1
11296
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11299
+ Processing by Commontator::CommentsController#edit as HTML
11300
+ Parameters: {"id"=>"3"}
11301
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11302
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11303
+ DummyUser Load (0.0ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11304
+ DummyModel Load (0.0ms) 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
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11309
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11310
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11311
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11312
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
11313
+  (0.0ms) SAVEPOINT active_record_1
11314
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11316
+ Processing by Commontator::CommentsController#edit as HTML
11317
+ Parameters: {"id"=>"3"}
11318
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11319
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11320
+ DummyUser Load (0.0ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11321
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11322
+ Completed 403 Forbidden in 19ms (ActiveRecord: 0.2ms)
11323
+  (0.0ms) SAVEPOINT active_record_1
11324
+ SQL (0.2ms) 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]]
11325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11326
+ Processing by Commontator::CommentsController#edit as HTML
11327
+ Parameters: {"id"=>"3"}
11328
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11329
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11330
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11331
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11332
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
11333
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms)
11334
+  (0.1ms) rollback transaction
11335
+  (0.0ms) begin transaction
11336
+  (0.0ms) SAVEPOINT active_record_1
11337
+ SQL (0.2ms) 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]]
11338
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11339
+  (0.0ms) SAVEPOINT active_record_1
11340
+ SQL (0.1ms) 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
+ DummyModel Load (0.4ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11342
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11344
+  (0.0ms) SAVEPOINT active_record_1
11345
+ SQL (0.2ms) 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]]
11346
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11347
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11348
+  (0.0ms) SAVEPOINT active_record_1
11349
+ SQL (0.1ms) 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]]
11350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11351
+ Processing by Commontator::CommentsController#downvote as HTML
11352
+ Parameters: {"id"=>"3"}
11353
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11354
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11355
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11356
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11357
+  (0.1ms) 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'
11358
+  (0.0ms) SAVEPOINT active_record_1
11359
+ SQL (0.3ms) 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: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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11361
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11362
+  (0.1ms) 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
+  (0.1ms) 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
11364
+  (0.0ms) SAVEPOINT active_record_1
11365
+  (0.1ms) UPDATE "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
11366
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11367
+ Redirected to http://test.host/commontator/threads/4
11368
+ Completed 302 Found in 19ms (ActiveRecord: 1.1ms)
11369
+  (0.1ms) 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
11370
+  (0.1ms) 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
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11374
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11375
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11376
+ DummyUser Load (0.0ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11377
+  (0.1ms) 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'
11378
+ ActsAsVotable::Vote Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11381
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11382
+  (0.1ms) 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
+  (0.1ms) 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
11384
+  (0.0ms) SAVEPOINT active_record_1
11385
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11386
+ Redirected to http://test.host/commontator/threads/4
11387
+ Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
11388
+  (0.1ms) 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
+  (0.1ms) 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
11390
+  (0.1ms) 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
+ ActsAsVotable::Vote Load (0.1ms) 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
11392
+  (0.0ms) SAVEPOINT active_record_1
11393
+  (0.1ms) UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-04-04 16:46:17.788410' WHERE "votes"."id" = 1
11394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11395
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11396
+  (0.1ms) 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
+  (0.1ms) 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
11398
+  (0.0ms) SAVEPOINT active_record_1
11399
+  (0.1ms) UPDATE "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
11400
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11401
+ Processing by Commontator::CommentsController#downvote as HTML
11402
+ Parameters: {"id"=>"3"}
11403
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11404
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11405
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11406
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11407
+  (0.1ms) 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'
11408
+ ActsAsVotable::Vote Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11410
+  (0.1ms) UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-04-04 16:46:17.796788' WHERE "votes"."id" = 1
11411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11412
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11413
+  (0.1ms) 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
11414
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11416
+  (0.1ms) UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-04-04 16:46:17.799799' WHERE "commontator_comments"."id" = 3
11417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11418
+ Redirected to http://test.host/commontator/threads/4
11419
+ Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
11420
+  (0.1ms) 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
+  (0.1ms) 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
11422
+  (0.1ms) rollback transaction
11423
+  (0.0ms) begin transaction
11424
+  (0.0ms) SAVEPOINT active_record_1
11425
+ SQL (0.2ms) 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]]
11426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11427
+  (0.0ms) SAVEPOINT active_record_1
11428
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11430
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11432
+  (0.0ms) SAVEPOINT active_record_1
11433
+ SQL (0.2ms) 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]]
11434
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11436
+ Processing by Commontator::CommentsController#new as HTML
11437
+ Parameters: {"thread_id"=>"4"}
11438
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
11439
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
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
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
11445
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
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
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
11451
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11452
+ Redirected to http://test.host/commontator/threads/4
11453
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
11454
+  (0.1ms) rollback transaction
11455
+  (0.0ms) begin transaction
11456
+  (0.0ms) SAVEPOINT active_record_1
11457
+ SQL (0.2ms) 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]]
11458
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11459
+  (0.0ms) SAVEPOINT active_record_1
11460
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11462
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11464
+  (0.0ms) SAVEPOINT active_record_1
11465
+ SQL (0.2ms) 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]]
11466
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11468
+ Processing by Commontator::CommentsController#upvote as HTML
11469
+ Parameters: {"id"=>"3"}
11470
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11471
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11472
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11473
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms)
11474
+  (0.1ms) 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
11475
+  (0.1ms) 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
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11479
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11480
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11481
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11482
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
11483
+  (0.1ms) 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
11484
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11486
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11488
+ Processing by Commontator::CommentsController#upvote as HTML
11489
+ Parameters: {"id"=>"3"}
11490
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11491
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11492
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11493
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
11494
+  (0.1ms) 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
11495
+  (0.1ms) 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
+  (0.1ms) rollback transaction
11497
+  (0.0ms) begin transaction
11498
+  (0.0ms) SAVEPOINT active_record_1
11499
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11501
+  (0.0ms) SAVEPOINT active_record_1
11502
+ SQL (0.1ms) 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]]
11503
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11504
+ SQL (0.1ms) 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]]
11505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11506
+  (0.0ms) SAVEPOINT active_record_1
11507
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11510
+ Processing by Commontator::CommentsController#edit as HTML
11511
+ Parameters: {"id"=>"3"}
11512
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11513
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11514
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11515
+ DummyModel Load (0.0ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11516
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
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
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11522
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11523
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11524
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11525
+ Commontator::Comment Load (0.1ms) 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
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11531
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11532
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11533
+ DummyModel Load (0.0ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11534
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
11535
+ Redirected to http://test.host/commontator/threads/4
11536
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
11537
+  (0.1ms) rollback transaction
11538
+  (0.0ms) begin transaction
11539
+  (0.0ms) SAVEPOINT active_record_1
11540
+ SQL (0.2ms) 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]]
11541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11542
+  (0.0ms) SAVEPOINT active_record_1
11543
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11545
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11547
+  (0.0ms) SAVEPOINT active_record_1
11548
+ SQL (0.2ms) 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]]
11549
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11551
+  (0.0ms) SAVEPOINT active_record_1
11552
+ SQL (0.1ms) 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]]
11553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11554
+ Processing by Commontator::CommentsController#upvote as HTML
11555
+ Parameters: {"id"=>"3"}
11556
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11557
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11558
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11559
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11560
+  (0.1ms) 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'
11561
+  (0.0ms) SAVEPOINT active_record_1
11562
+ SQL (0.2ms) 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: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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11564
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11565
+  (0.1ms) 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
+  (0.1ms) 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
11567
+  (0.0ms) SAVEPOINT active_record_1
11568
+  (0.1ms) UPDATE "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
11569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11570
+ Redirected to http://test.host/commontator/threads/4
11571
+ Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
11572
+  (0.1ms) 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
11573
+  (0.1ms) 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
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11577
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11578
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11579
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11580
+  (0.1ms) 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'
11581
+ ActsAsVotable::Vote Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11583
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11584
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11585
+  (0.1ms) 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
+  (0.1ms) 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
11587
+  (0.0ms) SAVEPOINT active_record_1
11588
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11589
+ Redirected to http://test.host/commontator/threads/4
11590
+ Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
11591
+  (0.1ms) 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
+  (0.1ms) 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
11593
+  (0.1ms) 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
+ ActsAsVotable::Vote Load (0.1ms) 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
11595
+  (0.0ms) SAVEPOINT active_record_1
11596
+  (0.1ms) UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-04-04 16:46:17.906402' WHERE "votes"."id" = 1
11597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11598
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11599
+  (0.1ms) 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
+  (0.1ms) 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
11601
+  (0.0ms) SAVEPOINT active_record_1
11602
+  (0.1ms) UPDATE "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
11603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11604
+ Processing by Commontator::CommentsController#upvote as HTML
11605
+ Parameters: {"id"=>"3"}
11606
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11607
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11608
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11609
+ DummyUser Load (0.0ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11610
+  (0.1ms) 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'
11611
+ ActsAsVotable::Vote Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11613
+  (0.1ms) UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-04-04 16:46:17.915011' WHERE "votes"."id" = 1
11614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11615
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11616
+  (0.1ms) 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
11617
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11619
+  (0.1ms) UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-04-04 16:46:17.918222' WHERE "commontator_comments"."id" = 3
11620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11621
+ Redirected to http://test.host/commontator/threads/4
11622
+ Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
11623
+  (0.1ms) 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
+  (0.1ms) 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
11625
+  (0.1ms) rollback transaction
11626
+  (0.0ms) begin transaction
11627
+  (0.0ms) SAVEPOINT active_record_1
11628
+ SQL (0.2ms) 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]]
11629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11630
+  (0.0ms) SAVEPOINT active_record_1
11631
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11633
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11635
+  (0.0ms) SAVEPOINT active_record_1
11636
+ SQL (0.2ms) 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]]
11637
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11638
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11639
+ Processing by Commontator::CommentsController#update as HTML
11640
+ Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}}
11641
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11642
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11643
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11644
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
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
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11649
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11650
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11651
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11652
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
11653
+  (0.0ms) SAVEPOINT active_record_1
11654
+ SQL (0.1ms) 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]]
11655
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11656
+ Processing by Commontator::CommentsController#update as HTML
11657
+ Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}}
11658
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11659
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11660
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11661
+ DummyModel Load (0.0ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11662
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
11663
+  (0.0ms) SAVEPOINT active_record_1
11664
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11666
+ Processing by Commontator::CommentsController#update as HTML
11667
+ Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}}
11668
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11669
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11670
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11671
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11672
+ Commontator::Comment Load (0.1ms) 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
+  (0.1ms) rollback transaction
11675
+  (0.0ms) begin transaction
11676
+  (0.0ms) SAVEPOINT active_record_1
11677
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11679
+  (0.0ms) SAVEPOINT active_record_1
11680
+ SQL (0.2ms) 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]]
11681
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11682
+ SQL (0.1ms) 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]]
11683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11684
+  (0.0ms) SAVEPOINT active_record_1
11685
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11688
+ Processing by Commontator::CommentsController#create as HTML
11689
+ Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}}
11690
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
11691
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11692
+  (0.0ms) SAVEPOINT active_record_1
11693
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11695
+  (0.0ms) 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
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
11701
+ DummyModel Load (1.0ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11702
+  (0.0ms) SAVEPOINT active_record_1
11703
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11705
+  (0.0ms) 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
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
11711
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11712
+  (0.0ms) SAVEPOINT active_record_1
11713
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11716
+ Redirected to http://test.host/commontator/threads/4
11717
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
11718
+  (0.1ms) rollback transaction
11719
+  (0.0ms) begin transaction
11720
+  (0.0ms) SAVEPOINT active_record_1
11721
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11723
+  (0.0ms) SAVEPOINT active_record_1
11724
+ SQL (0.1ms) 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]]
11725
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11726
+ SQL (0.1ms) 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]]
11727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11728
+  (0.0ms) SAVEPOINT active_record_1
11729
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11731
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11732
+  (0.0ms) SAVEPOINT active_record_1
11733
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11735
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11737
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11739
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11740
+  (0.1ms) 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
11741
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11743
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11745
+ Processing by Commontator::CommentsController#unvote as HTML
11746
+ Parameters: {"id"=>"3"}
11747
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11748
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11749
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11750
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11751
+  (0.1ms) 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
+ ActsAsVotable::Vote Load (0.1ms) 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'
11753
+  (0.0ms) SAVEPOINT active_record_1
11754
+ SQL (0.1ms) DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]]
11755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11756
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11757
+  (0.1ms) 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
+  (0.1ms) 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
11759
+  (0.0ms) SAVEPOINT active_record_1
11760
+  (0.1ms) UPDATE "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
11761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11762
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11763
+ Redirected to http://test.host/commontator/threads/4
11764
+ Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
11765
+  (0.1ms) 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
+  (0.1ms) 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
11767
+ Processing by Commontator::CommentsController#unvote as HTML
11768
+ Parameters: {"id"=>"3"}
11769
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11770
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11771
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11772
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11773
+  (0.1ms) 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
+  (0.1ms) 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
11777
+  (0.1ms) 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
+  (0.1ms) 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'
11779
+  (0.0ms) SAVEPOINT active_record_1
11780
+ SQL (0.2ms) 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", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]]
11781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11782
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11783
+  (0.1ms) 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
+  (0.1ms) 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
11785
+  (0.0ms) SAVEPOINT active_record_1
11786
+  (0.1ms) UPDATE "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
11787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11788
+ Processing by Commontator::CommentsController#unvote as HTML
11789
+ Parameters: {"id"=>"3"}
11790
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11791
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11792
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11793
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11794
+  (0.1ms) 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'
11795
+ ActsAsVotable::Vote Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11797
+ SQL (0.0ms) DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]]
11798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11799
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11800
+  (0.1ms) 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
11801
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11803
+  (0.1ms) UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-04-04 16:46:18.043572' WHERE "commontator_comments"."id" = 3
11804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11805
+  (0.1ms) 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
+  (0.1ms) 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
11809
+  (0.1ms) 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
+  (0.1ms) rollback transaction
11811
+  (0.0ms) begin transaction
11812
+  (0.0ms) SAVEPOINT active_record_1
11813
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11815
+  (0.0ms) SAVEPOINT active_record_1
11816
+ SQL (0.1ms) 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]]
11817
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11818
+ SQL (0.1ms) 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]]
11819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11820
+  (0.0ms) SAVEPOINT active_record_1
11821
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11824
+ Processing by Commontator::CommentsController#update as HTML
11825
+ Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}}
11826
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11827
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11828
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11829
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11830
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
11831
+  (0.0ms) SAVEPOINT active_record_1
11832
+  (0.1ms) UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-04-04 16:46:18.058004' WHERE "commontator_comments"."id" = 3
11833
+  (0.0ms) 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
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11839
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11840
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11841
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11842
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
11843
+  (0.0ms) SAVEPOINT active_record_1
11844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11850
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11851
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11852
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11853
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
11854
+  (0.0ms) SAVEPOINT active_record_1
11855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11856
+ Redirected to http://test.host/commontator/threads/4
11857
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
11858
+  (0.1ms) rollback transaction
11859
+  (0.0ms) begin transaction
11860
+  (0.0ms) SAVEPOINT active_record_1
11861
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11863
+  (0.0ms) SAVEPOINT active_record_1
11864
+ SQL (0.1ms) 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]]
11865
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11866
+ SQL (0.1ms) 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]]
11867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11868
+  (0.0ms) SAVEPOINT active_record_1
11869
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11872
+  (0.1ms) SELECT 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'
11873
+  (0.0ms) SAVEPOINT active_record_1
11874
+ SQL (0.2ms) 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", 5], ["voter_type", "DummyUser"]]
11875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11876
+  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'
11877
+  (0.1ms) 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
+  (0.1ms) 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
11879
+  (0.0ms) SAVEPOINT active_record_1
11880
+  (0.1ms) UPDATE "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
11881
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11882
+ Processing by Commontator::CommentsController#unvote as HTML
11883
+ Parameters: {"id"=>"3"}
11884
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11885
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11886
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11887
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms)
11888
+  (0.1ms) 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
+  (0.1ms) 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
11890
+ Processing by Commontator::CommentsController#unvote as HTML
11891
+ Parameters: {"id"=>"3"}
11892
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11893
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11894
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11895
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11896
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
11897
+  (0.1ms) 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
+  (0.1ms) 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
11899
+  (0.0ms) SAVEPOINT active_record_1
11900
+ SQL (0.1ms) 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]]
11901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11902
+ Processing by Commontator::CommentsController#unvote as HTML
11903
+ Parameters: {"id"=>"3"}
11904
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11905
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11906
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11907
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
11908
+  (0.1ms) 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
+  (0.1ms) 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
11910
+  (0.1ms) rollback transaction
11911
+  (0.0ms) begin transaction
11912
+  (0.0ms) SAVEPOINT active_record_1
11913
+ SQL (0.2ms) 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]]
11914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11915
+  (0.0ms) SAVEPOINT active_record_1
11916
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11918
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11920
+  (0.0ms) SAVEPOINT active_record_1
11921
+ SQL (0.2ms) 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]]
11922
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11923
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11924
+ Processing by Commontator::CommentsController#downvote as HTML
11925
+ Parameters: {"id"=>"3"}
11926
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11927
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11928
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11929
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms)
11930
+  (0.1ms) 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
11931
+  (0.1ms) 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
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11935
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11936
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11937
+ DummyUser Load (0.0ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
11938
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
11939
+  (0.1ms) 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
11940
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
11942
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11944
+ Processing by Commontator::CommentsController#downvote as HTML
11945
+ Parameters: {"id"=>"3"}
11946
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
11947
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
11948
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11949
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
11950
+  (0.1ms) 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
11951
+  (0.1ms) 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
+  (0.1ms) rollback transaction
11953
+  (0.0ms) begin transaction
11954
+  (0.0ms) SAVEPOINT active_record_1
11955
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11957
+  (0.0ms) SAVEPOINT active_record_1
11958
+ SQL (0.2ms) 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]]
11959
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11960
+ SQL (0.1ms) 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]]
11961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11962
+  (0.0ms) SAVEPOINT active_record_1
11963
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11965
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11966
+ Processing by Commontator::CommentsController#create as HTML
11967
+ Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}}
11968
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
11969
+ DummyModel Load (0.1ms) 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
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
11974
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11975
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
11976
+  (0.0ms) SAVEPOINT active_record_1
11977
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11979
+ Processing by Commontator::CommentsController#create as HTML
11980
+ Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}}
11981
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
11982
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11983
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
11984
+  (0.1ms) rollback transaction
11985
+  (0.0ms) begin transaction
11986
+  (0.0ms) SAVEPOINT active_record_1
11987
+ SQL (0.2ms) 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]]
11988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11989
+  (0.0ms) SAVEPOINT active_record_1
11990
+ SQL (0.2ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
11992
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11994
+  (0.0ms) SAVEPOINT active_record_1
11995
+ SQL (0.2ms) 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]]
11996
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
11997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11998
+ Processing by Commontator::CommentsController#delete as HTML
11999
+ Parameters: {"id"=>"3"}
12000
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
12001
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
12002
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
12003
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12004
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms)
12005
+ Processing by Commontator::CommentsController#delete as HTML
12006
+ Parameters: {"id"=>"3"}
12007
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
12008
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
12009
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
12010
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12011
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
12012
+  (0.0ms) SAVEPOINT active_record_1
12013
+  (0.1ms) UPDATE "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
12014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12015
+ Processing by Commontator::CommentsController#delete as HTML
12016
+ Parameters: {"id"=>"3"}
12017
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
12018
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
12019
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
12020
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12021
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
12022
+ Commontator::Comment Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12026
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12028
+  (0.0ms) SAVEPOINT active_record_1
12029
+  (0.1ms) UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:18.178194' WHERE "commontator_comments"."id" = 3
12030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12031
+ Processing by Commontator::CommentsController#delete as HTML
12032
+ Parameters: {"id"=>"3"}
12033
+ Commontator::Comment Load (0.0ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]]
12034
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
12035
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
12036
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12037
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1
12038
+ Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms)
12039
+  (0.1ms) rollback transaction
12040
+  (0.0ms) begin transaction
12041
+  (0.0ms) SAVEPOINT active_record_1
12042
+ SQL (0.2ms) 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]]
12043
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12044
+ SQL (0.1ms) 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]]
12045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12046
+ Commontator::Subscription Load (0.1ms) 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
12047
+  (0.1ms) 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
+  (0.1ms) rollback transaction
12050
+  (0.0ms) begin transaction
12051
+  (0.0ms) SAVEPOINT active_record_1
12052
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12054
+  (0.0ms) SAVEPOINT active_record_1
12055
+ SQL (0.1ms) 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]]
12056
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12057
+ SQL (0.1ms) 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]]
12058
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12059
+  (0.0ms) SAVEPOINT active_record_1
12060
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12062
+  (0.0ms) SAVEPOINT active_record_1
12063
+  (0.1ms) UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-04-04 16:46:18.201980' WHERE "commontator_subscriptions"."id" = 4
12064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12065
+  (0.0ms) SAVEPOINT active_record_1
12066
+  (0.1ms) UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-04-04 16:46:18.202810' WHERE "commontator_subscriptions"."id" = 4
12067
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12068
+  (0.1ms) rollback transaction
12069
+  (0.0ms) begin transaction
12070
+  (0.0ms) SAVEPOINT active_record_1
12071
+ SQL (0.2ms) 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]]
12072
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12073
+  (0.0ms) SAVEPOINT active_record_1
12074
+ SQL (0.2ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12076
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12078
+ Processing by Commontator::SubscriptionsController#create as HTML
12079
+ Parameters: {"thread_id"=>"4"}
12080
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12081
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12082
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
12083
+ Commontator::Subscription Load (0.1ms) 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
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12087
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12088
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
12089
+ Commontator::Subscription Load (0.1ms) 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
12090
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12092
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.2ms) 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]]
12094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12095
+ Processing by Commontator::SubscriptionsController#create as HTML
12096
+ Parameters: {"thread_id"=>"4"}
12097
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12098
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12099
+ Commontator::Subscription Load (0.1ms) 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
12100
+ Redirected to http://test.host/commontator/threads/4
12101
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
12102
+  (0.1ms) rollback transaction
12103
+  (0.0ms) begin transaction
12104
+  (0.0ms) SAVEPOINT active_record_1
12105
+ SQL (0.2ms) 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]]
12106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12107
+  (0.0ms) SAVEPOINT active_record_1
12108
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12110
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12112
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12114
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.2ms) 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]]
12116
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12117
+ Processing by Commontator::SubscriptionsController#destroy as HTML
12118
+ Parameters: {"thread_id"=>"4"}
12119
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12120
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12121
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
12122
+ Commontator::Subscription Load (0.1ms) 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
12123
+ Processing by Commontator::SubscriptionsController#destroy as HTML
12124
+ Parameters: {"thread_id"=>"4"}
12125
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12126
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12127
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
12128
+ Commontator::Subscription Load (0.1ms) 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
+ Commontator::Subscription Load (0.1ms) 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
12130
+  (0.0ms) SAVEPOINT active_record_1
12131
+ SQL (0.1ms) DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]]
12132
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12133
+ Processing by Commontator::SubscriptionsController#destroy as HTML
12134
+ Parameters: {"thread_id"=>"4"}
12135
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12136
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12137
+ Commontator::Subscription Load (0.1ms) 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
12138
+ Redirected to http://test.host/commontator/threads/4
12139
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
12140
+  (0.1ms) rollback transaction
12141
+  (0.0ms) begin transaction
12142
+  (0.0ms) SAVEPOINT active_record_1
12143
+ SQL (0.2ms) 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]]
12144
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12145
+  (0.0ms) SAVEPOINT active_record_1
12146
+ SQL (0.2ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12148
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12150
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12152
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.2ms) 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]]
12154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12155
+ Processing by Commontator::SubscriptionsController#destroy as HTML
12156
+ Parameters: {"thread_id"=>"4"}
12157
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12158
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12159
+ Commontator::Subscription Load (0.1ms) 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
12160
+  (0.0ms) SAVEPOINT active_record_1
12161
+ SQL (22.5ms) DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]]
12162
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12163
+ Redirected to http://test.host/commontator/threads/4
12164
+ Completed 302 Found in 26ms (ActiveRecord: 22.9ms)
12165
+ Commontator::Subscription Load (0.1ms) 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
12166
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12168
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.2ms) 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]]
12170
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12171
+ Processing by Commontator::SubscriptionsController#destroy as HTML
12172
+ Parameters: {"thread_id"=>"4"}
12173
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12174
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12175
+ Commontator::Subscription Load (0.1ms) 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
12176
+  (0.0ms) SAVEPOINT active_record_1
12177
+ SQL (0.0ms) DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]]
12178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12179
+ Redirected to http://test.host/commontator/threads/4
12180
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
12181
+ Commontator::Subscription Load (0.1ms) 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
12182
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12184
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.1ms) 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]]
12186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12187
+ Processing by Commontator::SubscriptionsController#destroy as HTML
12188
+ Parameters: {"thread_id"=>"4"}
12189
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12190
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12191
+ Commontator::Subscription Load (0.1ms) 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
12192
+  (0.0ms) SAVEPOINT active_record_1
12193
+ SQL (0.0ms) DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]]
12194
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12195
+ Redirected to http://test.host/commontator/threads/4
12196
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
12197
+ Commontator::Subscription Load (0.1ms) 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
12198
+  (0.1ms) rollback transaction
12199
+  (0.0ms) begin transaction
12200
+  (0.0ms) SAVEPOINT active_record_1
12201
+ SQL (0.2ms) 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]]
12202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12203
+  (0.0ms) SAVEPOINT active_record_1
12204
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12206
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12208
+ Processing by Commontator::SubscriptionsController#create as HTML
12209
+ Parameters: {"thread_id"=>"4"}
12210
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12211
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12212
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12214
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.1ms) 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]]
12216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12217
+ Redirected to http://test.host/commontator/threads/4
12218
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
12219
+ Commontator::Subscription Load (0.1ms) 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
12220
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12222
+ SQL (0.0ms) DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]]
12223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12224
+ Processing by Commontator::SubscriptionsController#create as HTML
12225
+ Parameters: {"thread_id"=>"4"}
12226
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12227
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12228
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12230
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.1ms) 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]]
12232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12233
+ Redirected to http://test.host/commontator/threads/4
12234
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
12235
+ Commontator::Subscription Load (0.1ms) 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
12236
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12238
+ SQL (0.0ms) DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]]
12239
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12240
+ Processing by Commontator::SubscriptionsController#create as HTML
12241
+ Parameters: {"thread_id"=>"4"}
12242
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12243
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12244
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12246
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.1ms) 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]]
12248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12249
+ Redirected to http://test.host/commontator/threads/4
12250
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
12251
+ Commontator::Subscription Load (0.1ms) 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
12252
+  (0.1ms) rollback transaction
12253
+  (0.0ms) begin transaction
12254
+  (0.0ms) SAVEPOINT active_record_1
12255
+ SQL (0.2ms) 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]]
12256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12257
+  (0.0ms) SAVEPOINT active_record_1
12258
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12260
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12262
+  (0.0ms) SAVEPOINT active_record_1
12263
+ SQL (0.1ms) 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]]
12264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12265
+ Commontator::Subscription Load (0.1ms) 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
12266
+  (0.0ms) SAVEPOINT active_record_1
12267
+ Commontator::Subscription Exists (0.1ms) 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
12268
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12270
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12272
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.1ms) 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]]
12274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12275
+  (0.0ms) SAVEPOINT active_record_1
12276
+ SQL (0.2ms) 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
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
12278
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
12279
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1
12280
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.1ms) rollback transaction
12323
+  (0.0ms) begin transaction
12324
+  (0.0ms) SAVEPOINT active_record_1
12325
+ SQL (0.2ms) 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]]
12326
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12327
+  (0.0ms) SAVEPOINT active_record_1
12328
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12330
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12332
+  (0.1ms) rollback transaction
12333
+  (0.0ms) begin transaction
12334
+  (0.0ms) SAVEPOINT active_record_1
12335
+ SQL (0.2ms) 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]]
12336
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12337
+  (0.0ms) SAVEPOINT active_record_1
12338
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12340
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12342
+  (0.0ms) SAVEPOINT active_record_1
12343
+ SQL (0.2ms) 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]]
12344
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
12345
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12346
+  (0.0ms) SAVEPOINT active_record_1
12347
+ SQL (0.2ms) 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]]
12348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12349
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4
12350
+  (0.1ms) rollback transaction
12351
+  (0.0ms) begin transaction
12352
+  (0.0ms) SAVEPOINT active_record_1
12353
+ SQL (0.1ms) 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]]
12354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12355
+  (0.0ms) SAVEPOINT active_record_1
12356
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12358
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12360
+  (0.0ms) SAVEPOINT active_record_1
12361
+  (0.1ms) UPDATE "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
12362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12363
+  (0.0ms) SAVEPOINT active_record_1
12364
+  (0.0ms) UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.368132' WHERE "commontator_threads"."id" = 4
12365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12366
+  (0.1ms) rollback transaction
12367
+  (0.0ms) begin transaction
12368
+  (0.0ms) SAVEPOINT active_record_1
12369
+ SQL (0.1ms) 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]]
12370
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12371
+  (0.0ms) SAVEPOINT active_record_1
12372
+ SQL (0.2ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12374
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12376
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12378
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.1ms) 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]]
12380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12381
+  (0.0ms) SAVEPOINT active_record_1
12382
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12384
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12386
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.1ms) 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]]
12388
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12389
+ Commontator::Subscription Load (0.1ms) 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
12390
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12392
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12394
+ Commontator::Subscription Load (0.1ms) 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
+ Commontator::Subscription Load (0.1ms) 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
12396
+  (0.0ms) SAVEPOINT active_record_1
12397
+ SQL (0.0ms) DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]]
12398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12399
+ Commontator::Subscription Load (0.1ms) 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
12400
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12402
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12404
+ Commontator::Subscription Load (0.1ms) 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
+  (0.1ms) rollback transaction
12406
+  (0.0ms) begin transaction
12407
+  (0.0ms) SAVEPOINT active_record_1
12408
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12410
+  (0.0ms) SAVEPOINT active_record_1
12411
+ SQL (0.2ms) 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]]
12412
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12413
+ SQL (0.1ms) 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]]
12414
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12415
+ Commontator::Subscription Load (0.1ms) 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
12416
+  (0.0ms) SAVEPOINT active_record_1
12417
+ Commontator::Subscription Exists (0.1ms) 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
12418
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12420
+  (0.0ms) SAVEPOINT active_record_1
12421
+ SQL (0.1ms) 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]]
12422
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12423
+ Commontator::Subscription Load (0.1ms) 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
12424
+  (0.0ms) SAVEPOINT active_record_1
12425
+ Commontator::Subscription Exists (0.1ms) 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
12426
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12428
+ Commontator::Subscription Load (0.1ms) 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
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
12430
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
12431
+ Commontator::Subscription Load (0.1ms) 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
12432
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1
12433
+ DummyUser Load (0.0ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1
12434
+  (0.1ms) rollback transaction
12435
+  (0.0ms) begin transaction
12436
+  (0.0ms) SAVEPOINT active_record_1
12437
+ SQL (0.2ms) 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]]
12438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12439
+  (0.0ms) SAVEPOINT active_record_1
12440
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12442
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12444
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12446
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.1ms) 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]]
12448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12449
+  (0.0ms) SAVEPOINT active_record_1
12450
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12452
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12454
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.2ms) 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]]
12456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12457
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
12458
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
12459
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1
12460
+  (0.1ms) rollback transaction
12461
+  (0.0ms) begin transaction
12462
+  (0.0ms) SAVEPOINT active_record_1
12463
+ SQL (0.1ms) 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]]
12464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12465
+  (0.0ms) SAVEPOINT active_record_1
12466
+ SQL (0.2ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12468
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12470
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12472
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.1ms) 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]]
12474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12475
+  (0.0ms) SAVEPOINT active_record_1
12476
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12478
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12480
+ Commontator::Subscription Exists (0.1ms) 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
+ SQL (0.2ms) 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]]
12482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12483
+ Commontator::Subscription Load (0.1ms) 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
12484
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12486
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
12487
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1
12488
+ DummyUser Load (0.1ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1
12489
+  (0.1ms) UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-04-04 16:46:18.440095' WHERE "commontator_subscriptions"."id" = 5
12490
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12491
+  (0.0ms) SAVEPOINT active_record_1
12492
+  (0.1ms) UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-04-04 16:46:18.441115' WHERE "commontator_subscriptions"."id" = 4
12493
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12494
+  (0.0ms) SAVEPOINT active_record_1
12495
+  (0.1ms) UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-04-04 16:46:18.442119' WHERE "commontator_subscriptions"."id" = 5
12496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12497
+ Commontator::Subscription Load (0.1ms) 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
12498
+ Commontator::Subscription Load (0.1ms) 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
+ Commontator::Subscription Load (0.1ms) 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
12500
+ Commontator::Subscription Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
12502
+  (0.1ms) UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-04-04 16:46:18.445648' WHERE "commontator_subscriptions"."id" = 5
12503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12504
+ Commontator::Subscription Load (0.1ms) 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
+ Commontator::Subscription Load (0.1ms) 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
12506
+  (0.1ms) rollback transaction
12507
+  (0.0ms) begin transaction
12508
+  (0.0ms) SAVEPOINT active_record_1
12509
+ SQL (0.2ms) 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]]
12510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12511
+  (0.0ms) SAVEPOINT active_record_1
12512
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12514
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12516
+  (0.0ms) SAVEPOINT active_record_1
12517
+ SQL (0.2ms) 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]]
12518
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
12519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12520
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4
12521
+  (0.0ms) SAVEPOINT active_record_1
12522
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]]
12523
+ SQL (0.2ms) 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]]
12524
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12525
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1
12526
+  (0.1ms) UPDATE "commontator_threads" SET "commontable_id" = NULL, "updated_at" = '2013-04-04 16:46:18.459761' WHERE "commontator_threads"."id" = 4
12527
+ Commontator::Subscription Load (0.1ms) SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4
12528
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12530
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4
12531
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]]
12532
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1
12533
+ Commontator::Comment Load (0.1ms) SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5
12534
+  (0.1ms) rollback transaction
12535
+  (0.0ms) begin transaction
12536
+  (0.0ms) SAVEPOINT active_record_1
12537
+ SQL (0.2ms) 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]]
12538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12539
+  (0.1ms) SAVEPOINT active_record_1
12540
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12542
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12544
+ Processing by Commontator::ThreadsController#close as HTML
12545
+ Parameters: {"id"=>"4"}
12546
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12547
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12548
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
12549
+ Processing by Commontator::ThreadsController#close as HTML
12550
+ Parameters: {"id"=>"4"}
12551
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12552
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12553
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
12554
+ Processing by Commontator::ThreadsController#close as HTML
12555
+ Parameters: {"id"=>"4"}
12556
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12557
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12558
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
12559
+  (0.0ms) SAVEPOINT active_record_1
12560
+  (0.1ms) UPDATE "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
12561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12562
+ Processing by Commontator::ThreadsController#close as HTML
12563
+ Parameters: {"id"=>"4"}
12564
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12565
+ DummyModel Load (0.1ms) 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
+  (0.1ms) rollback transaction
12569
+  (0.0ms) begin transaction
12570
+  (0.0ms) SAVEPOINT active_record_1
12571
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12573
+  (0.0ms) SAVEPOINT active_record_1
12574
+ SQL (0.1ms) 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]]
12575
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12576
+ SQL (0.2ms) 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]]
12577
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12578
+  (0.0ms) SAVEPOINT active_record_1
12579
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12581
+ Processing by Commontator::ThreadsController#reopen as HTML
12582
+ Parameters: {"id"=>"4"}
12583
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12584
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12585
+  (0.0ms) SAVEPOINT active_record_1
12586
+  (0.1ms) UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.492671' WHERE "commontator_threads"."id" = 4
12587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12588
+ Redirected to http://test.host/commontator/threads/4
12589
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
12590
+  (0.0ms) SAVEPOINT active_record_1
12591
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12593
+ Processing by Commontator::ThreadsController#reopen as HTML
12594
+ Parameters: {"id"=>"4"}
12595
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12596
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12597
+  (0.0ms) SAVEPOINT active_record_1
12598
+  (0.1ms) UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.498216' WHERE "commontator_threads"."id" = 4
12599
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12600
+ Redirected to http://test.host/commontator/threads/4
12601
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
12602
+  (0.1ms) rollback transaction
12603
+  (0.0ms) begin transaction
12604
+  (0.0ms) SAVEPOINT active_record_1
12605
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12607
+  (0.0ms) SAVEPOINT active_record_1
12608
+ SQL (0.2ms) 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]]
12609
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12610
+ SQL (0.2ms) 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]]
12611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12612
+  (0.0ms) SAVEPOINT active_record_1
12613
+  (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12615
+ Processing by Commontator::ThreadsController#reopen as HTML
12616
+ Parameters: {"id"=>"4"}
12617
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12618
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12619
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
12620
+ Processing by Commontator::ThreadsController#reopen as HTML
12621
+ Parameters: {"id"=>"4"}
12622
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12623
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12624
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
12625
+ Processing by Commontator::ThreadsController#reopen as HTML
12626
+ Parameters: {"id"=>"4"}
12627
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12628
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12629
+ Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms)
12630
+  (0.0ms) SAVEPOINT active_record_1
12631
+  (0.1ms) UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.514581' WHERE "commontator_threads"."id" = 4
12632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12633
+ Processing by Commontator::ThreadsController#reopen as HTML
12634
+ Parameters: {"id"=>"4"}
12635
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12636
+ DummyModel Load (0.1ms) 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
+  (0.1ms) rollback transaction
12640
+  (0.0ms) begin transaction
12641
+  (0.0ms) SAVEPOINT active_record_1
12642
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12644
+  (0.0ms) SAVEPOINT active_record_1
12645
+ SQL (0.1ms) 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]]
12646
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12647
+ SQL (0.1ms) 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]]
12648
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12649
+ Processing by Commontator::ThreadsController#show as HTML
12650
+ Parameters: {"id"=>"4"}
12651
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12652
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12653
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1
12654
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12655
+ Commontator::Subscription Load (0.1ms) 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
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
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12661
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12662
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1
12663
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12664
+ Commontator::Subscription Load (0.1ms) 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
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12670
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12671
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1
12672
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12673
+ Commontator::Subscription Load (0.1ms) 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
12674
+ Redirected to http://test.host/dummy_models/4
12675
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
12676
+  (1.1ms) rollback transaction
12677
+  (0.0ms) begin transaction
12678
+  (0.0ms) SAVEPOINT active_record_1
12679
+ SQL (0.2ms) 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]]
12680
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12681
+  (0.0ms) SAVEPOINT active_record_1
12682
+ SQL (0.1ms) 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
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12684
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12686
+ Processing by Commontator::ThreadsController#close as HTML
12687
+ Parameters: {"id"=>"4"}
12688
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12689
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12690
+  (0.0ms) SAVEPOINT active_record_1
12691
+  (0.1ms) UPDATE "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
12692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12693
+ Redirected to http://test.host/commontator/threads/4
12694
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
12695
+  (0.0ms) SAVEPOINT active_record_1
12696
+  (0.1ms) UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.588735' WHERE "commontator_threads"."id" = 4
12697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12698
+ Processing by Commontator::ThreadsController#close as HTML
12699
+ Parameters: {"id"=>"4"}
12700
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12701
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12702
+  (0.0ms) SAVEPOINT active_record_1
12703
+  (0.1ms) UPDATE "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
12704
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12705
+ Redirected to http://test.host/commontator/threads/4
12706
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
12707
+  (0.1ms) rollback transaction
12708
+  (0.0ms) begin transaction
12709
+  (0.0ms) SAVEPOINT active_record_1
12710
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12712
+  (0.0ms) SAVEPOINT active_record_1
12713
+ SQL (0.1ms) 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]]
12714
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12715
+ SQL (0.1ms) 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]]
12716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12717
+ Processing by Commontator::ThreadsController#show as HTML
12718
+ Parameters: {"id"=>"4"}
12719
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12720
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12721
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1
12722
+ DummyModel Load (0.1ms) 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
+ Commontator::Thread Load (0.0ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]]
12727
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12728
+ Commontator::Thread Load (0.1ms) SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1
12729
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12730
+ Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms)
12731
+  (0.1ms) rollback transaction
12732
+  (0.0ms) begin transaction
12733
+  (0.0ms) SAVEPOINT active_record_1
12734
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12736
+  (0.0ms) SAVEPOINT active_record_1
12737
+ SQL (0.1ms) 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]]
12738
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12739
+ SQL (0.1ms) 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]]
12740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12741
+  (0.1ms) rollback transaction
12742
+  (0.0ms) begin transaction
12743
+  (0.0ms) SAVEPOINT active_record_1
12744
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12746
+  (0.0ms) SAVEPOINT active_record_1
12747
+ SQL (0.1ms) 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]]
12748
+ DummyModel Load (0.1ms) SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1
12749
+ SQL (0.1ms) 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]]
12750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12751
+  (0.1ms) rollback transaction