From a6fe94077b40f843f0ac7e0c62e2f0735be67f4b Mon Sep 17 00:00:00 2001 From: Sven Fuchs Date: Thu, 17 Jul 2008 11:38:40 +0200 Subject: [PATCH] adapt has_count for approved_comments [state:closed] --- spec/spec_helper.rb | 2 - .../adva_comments/app/models/comment.rb | 10 +- .../lib/active_record/acts_as_commentable.rb | 39 +- vendor/plugins/has_counter/README.markdown | 24 +- .../lib/active_record/has_counter.rb | 34 +- .../has_counter/spec/has_counter.spec.log | 4991 +++++++++++++++++ .../has_counter/spec/has_counter.sqlite3.db | Bin 0 -> 10240 bytes .../has_counter/spec/has_counter_spec.rb | 55 + .../plugins/has_counter/spec/spec_helper.rb | 117 + 9 files changed, 5228 insertions(+), 44 deletions(-) create mode 100644 vendor/plugins/has_counter/spec/has_counter.spec.log create mode 100644 vendor/plugins/has_counter/spec/has_counter.sqlite3.db create mode 100644 vendor/plugins/has_counter/spec/has_counter_spec.rb create mode 100644 vendor/plugins/has_counter/spec/spec_helper.rb diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b2d2731ec..54e88dcee 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,8 +2,6 @@ # from the project root directory. ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") -# require 'spec' -# require 'spec/rails' require File.dirname(__FILE__) + '/spec_helpers/spec_controller_helper' require File.dirname(__FILE__) + '/spec_helpers/spec_model_helper' diff --git a/vendor/engines/adva_comments/app/models/comment.rb b/vendor/engines/adva_comments/app/models/comment.rb index 200b6b17b..23bfbb16b 100644 --- a/vendor/engines/adva_comments/app/models/comment.rb +++ b/vendor/engines/adva_comments/app/models/comment.rb @@ -18,7 +18,7 @@ class Jail < Safemode::Jail before_validation :set_owners before_create :authorize_commenting - after_create :update_commentable + after_save :update_commentable after_destroy :update_commentable def owner @@ -33,6 +33,14 @@ def unapproved? !approved? end + def just_approved? + approved? && approved_changed? + end + + def just_unapproved? + !approved? && approved_changed? + end + def spam_info read_attribute(:spam_info) || {} end diff --git a/vendor/engines/adva_comments/lib/active_record/acts_as_commentable.rb b/vendor/engines/adva_comments/lib/active_record/acts_as_commentable.rb index 23c07920e..f1133382c 100644 --- a/vendor/engines/adva_comments/lib/active_record/acts_as_commentable.rb +++ b/vendor/engines/adva_comments/lib/active_record/acts_as_commentable.rb @@ -7,15 +7,17 @@ def self.included(base) module ActMacro def acts_as_commentable(options = {}) return if acts_as_commentable? - - # TODO somehow the various accept_comments? options seem a bit chaotic - # this doesn't even seem to be used anymore - # write_inheritable_attribute :accept_comments?, options.delete(:accept_comments?) || true options[:order] = 'comments.created_at' options[:as] = :commentable if options.delete(:polymorphic) has_counter :comments, :as => options[:as] || name.underscore + + has_counter :approved_comments, + :as => options[:as] || name.underscore, + :class_name => 'Comment', + :after_create => false, + :after_destroy => false with_options options do |c| c.has_many :comments, :dependent => :delete_all do @@ -40,22 +42,23 @@ def acts_as_commentable? end module InstanceMethods - def comments_count - @comments_count ||= comments.count # TODO implement as a counter - end - - def approved_comments_count - @approved_comments_count ||= approved_comments.count # TODO implement as a counter + def after_comment_update(comment) + method = if comment.frozen? + :decrement! + elsif comment.just_approved? + :increment! + elsif comment.just_unapproved? + :decrement! + end + approved_comments_counter.send method if method end - # def accept_comments? - # @accept_comments ||= begin - # case accessor = self.class.read_inheritable_attribute(:accept_comments?) || :accept_comments? - # when Symbol then send(accessor) - # when Proc then accessor.call(self) - # else accessor - # end - # end + # def comments_count + # @comments_count ||= comments.count # TODO implement as a counter + # end + # + # def approved_comments_count + # @approved_comments_count ||= approved_comments.count # TODO implement as a counter # end end end diff --git a/vendor/plugins/has_counter/README.markdown b/vendor/plugins/has_counter/README.markdown index e01ecfe2c..681d64fa0 100644 --- a/vendor/plugins/has_counter/README.markdown +++ b/vendor/plugins/has_counter/README.markdown @@ -1,24 +1,24 @@ ## Has Counter -Allows to cache the number of records for a has\_many association. +Allows to cache the number of records for a `has_many` association. -Yes, this is the same thing you can do by setting the :counter\_cache option -on the corresponding belongs\_to association. +Yes, this is the same thing you can do by setting the `:counter_cache` option +on the corresponding `belongs_to` association. -The reason for reinventing the counter\_cache wheel here is that counter_cache -is a bit inflexible. We need to "hardcode" the counter_cache column and -thereby clutter the schema. This can especially get annoying in combo with -STI, when - e.g. one subclass needs some counter\_caches that are specific to -this subclass only. +The reason for reinventing the `counter_cache` wheel here is that +`counter_cache` is a bit inflexible. We need to "hardcode" the counter_cache +column and thereby clutter the schema. This can especially get annoying in +combo with STI, when - e.g. one subclass needs some `counter_caches` that are +specific to this subclass only. -Instead, with has\_counter, counters can be separated into an external table +Instead, with `has_counter`, counters can be separated into an external table with generic column names. -The ActiveRecord counter\_cache mechanism also requires to put the -:counter\_cache directive on the belongs\_to association of the counted class, +The ActiveRecord `counter_cache` mechanism also requires to put the +`:counter_cache` directive on the `belongs_to` association of the counted class, which adds some tight coupleing that we might want to avoid. -Instead, with has\_counter, we can observe the counted class and update our +Instead, with `has_counter`, we can observe the counted class and update our counters "from the outside", so the counted class does not need to know about the fact that somebody else keeps a counter on it. diff --git a/vendor/plugins/has_counter/lib/active_record/has_counter.rb b/vendor/plugins/has_counter/lib/active_record/has_counter.rb index e8c3700b0..4ef02cda7 100644 --- a/vendor/plugins/has_counter/lib/active_record/has_counter.rb +++ b/vendor/plugins/has_counter/lib/active_record/has_counter.rb @@ -9,32 +9,44 @@ def included(base) module ActMacro def has_counter(*names) options = names.extract_options! + options.reverse_merge! :after_create => :increment!, + :after_destroy => :decrement! + names.each do |name| counter_name = :"#{name}_counter" - + owner_name = options[:as] || self.name.demodulize.underscore + class_name = options[:class_name] || name + define_method :"#{name}_count" do send(counter_name).count end has_one counter_name, :as => :owner, :class_name => 'Counter', - :conditions => "name = '#{name}'", + :conditions => "name = '#{name}'", :dependent => :delete after_create do |forum| counter = Counter.create! :owner => forum, :name => name.to_s end - # Wires up the counted class so that it updates our counter - owner_name = options[:as] || self.name.underscore - name.to_s.classify.constantize.class_eval do + # Wire up the counted class so that it updates our counter + update = lambda{|record, event| + if counter = record.send(owner_name).send(counter_name) + method = options[event] + method = method.call(record) if Proc === method + counter.send method if method + end + } + class_name.to_s.classify.constantize.class_eval do after_create do |record| - counter = record.send(owner_name).send(counter_name) - counter.increment! if counter - end - after_destroy do |record| - counter = record.send(owner_name).send(counter_name) - counter.decrement! if counter + update.call(record, :after_create) + end + after_save do |record| + update.call(record, :after_save) + end + after_destroy do |record| + update.call(record, :after_destroy) end end end diff --git a/vendor/plugins/has_counter/spec/has_counter.spec.log b/vendor/plugins/has_counter/spec/has_counter.spec.log new file mode 100644 index 000000000..b02510c58 --- /dev/null +++ b/vendor/plugins/has_counter/spec/has_counter.spec.log @@ -0,0 +1,4991 @@ +# Logfile created on Wed Jul 16 23:01:05 +0200 2008 by / + SQL (0.000230) select sqlite_version(*) + SQL (0.000255)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.003206) CREATE TABLE "contents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(50) DEFAULT NULL NULL)  + SQL (0.000323)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.002173) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_id" integer DEFAULT NULL NULL, "text" text DEFAULT NULL NULL, "approved" integer DEFAULT NULL NULL)  + SQL (0.000331)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.002210) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  + SQL (0.003651) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + SQL (0.000471)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.001971)  CREATE TABLE plugin_schema_migrations + (plugin_name varchar(255), version varchar(255)) + + SQL (0.000210) SELECT version FROM "schema_migrations" + SQL (0.002209) INSERT INTO "schema_migrations" (version) VALUES ('1') + SQL (0.000735)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000386)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000329)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000190) select sqlite_version(*) + SQL (0.000320)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.003627) CREATE TABLE "contents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(50) DEFAULT NULL NULL)  + SQL (0.000472)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.002300) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  + SQL (0.002945) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + SQL (0.000416)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.002473)  CREATE TABLE plugin_schema_migrations + (plugin_name varchar(255), version varchar(255)) + + SQL (0.000187) SELECT version FROM "schema_migrations" + SQL (0.002548) INSERT INTO "schema_migrations" (version) VALUES ('1') + SQL (0.000662)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000374)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.002508) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_id" integer DEFAULT NULL NULL, "text" text DEFAULT NULL NULL, "approved" integer DEFAULT NULL NULL)  + SQL (0.000523)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000000) SQLite3::SQLException: table plugin_schema_migrations already exists: CREATE TABLE plugin_schema_migrations + (plugin_name varchar(255), version varchar(255)) + + SQL (0.000504) SELECT version FROM "schema_migrations" + SQL (0.000868)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000160) select sqlite_version(*) + SQL (0.000369)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.003118) CREATE TABLE "counters" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer DEFAULT NULL NULL, "owner_type" varchar(255) DEFAULT NULL NULL, "name" varchar(25) DEFAULT NULL NULL, "count" integer DEFAULT 0 NULL)  + SQL (0.000554)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000000) SQLite3::SQLException: table plugin_schema_migrations already exists: CREATE TABLE plugin_schema_migrations + (plugin_name varchar(255), version varchar(255)) + + SQL (0.000214) SELECT version FROM "schema_migrations" + SQL (0.000463)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000406)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Content Delete all (0.001763) DELETE FROM "contents" WHERE 1=1 + Comment Delete all (0.000852) DELETE FROM "comments" WHERE 1=1 + Counter Delete all (0.000849) DELETE FROM "counters" WHERE 1=1 + SQL (0.000841)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000478)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000400)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Content Delete all (0.001731) DELETE FROM "contents" WHERE 1=1 + Comment Delete all (0.000754) DELETE FROM "comments" WHERE 1=1 + Counter Delete all (0.000690) DELETE FROM "counters" WHERE 1=1 + SQL (0.000942)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000481)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000405)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Content Delete all (0.001586) DELETE FROM "contents" WHERE 1=1 + Comment Delete all (0.000980) DELETE FROM "comments" WHERE 1=1 + Counter Delete all (0.001030) DELETE FROM "counters" WHERE 1=1 + SQL (0.000887)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000502)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000431)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Content Delete all (0.001921) DELETE FROM "contents" WHERE 1=1 + Comment Delete all (0.000859) DELETE FROM "comments" WHERE 1=1 + Counter Delete all (0.000816) DELETE FROM "counters" WHERE 1=1 + SQL (0.001198)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000562)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000485)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Content Delete all (0.001911) DELETE FROM "contents" WHERE 1=1 + Comment Delete all (0.001057) DELETE FROM "comments" WHERE 1=1 + Counter Delete all (0.000969) DELETE FROM "counters" WHERE 1=1 + Content Create (0.000571) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000271) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 1, 0, 'Content') + SQL (0.001527)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000540)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000590)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Content Delete all (0.002593) DELETE FROM "contents" WHERE 1=1 + Comment Delete all (0.000785) DELETE FROM "comments" WHERE 1=1 + Counter Delete all (0.001816) DELETE FROM "counters" WHERE 1=1 + Content Create (0.000552) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000251) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 2, 0, 'Content') + SQL (0.000914)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000458)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000503)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Content Delete all (0.002613) DELETE FROM "contents" WHERE 1=1 + Comment Delete all (0.000837) DELETE FROM "comments" WHERE 1=1 + Counter Delete all (0.001874) DELETE FROM "counters" WHERE 1=1 + Content Create (0.000477) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000237) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 3, 0, 'Content') + SQL (0.000882)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000867)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000450)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000415)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + CounterSpec::Content Delete all (0.002045) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Comment Delete all (0.000998) DELETE FROM "comments" WHERE 1=1 + SQL (0.000888)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000452)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000416)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + CounterSpec::Content Delete all (0.001903) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Comment Delete all (0.001139) DELETE FROM "comments" WHERE 1=1 + SQL (0.000882)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000450)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000411)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003070) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.000834) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Comment Delete all (0.000801) DELETE FROM "comments" WHERE 1=1 + SQL (0.000882)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000488)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000431)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.001821) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001026) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Comment Delete all (0.000699) DELETE FROM "comments" WHERE 1=1 + SQL (0.000896)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000523)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000419)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.001788) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001655) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000754) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000447) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000257) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 4, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000456) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(4, 'first comment', NULL) + Counter Load (0.000457) SELECT * FROM "counters" WHERE ("counters".owner_id = 4 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.001089)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000622)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000484)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003928) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001729) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001698) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000492) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000228) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 5, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000453) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(5, 'first comment', NULL) + Counter Load (0.000473) SELECT * FROM "counters" WHERE ("counters".owner_id = 5 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000923)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000655)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000430)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003168) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001748) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001772) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000545) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000263) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 6, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000482) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(6, 'first comment', NULL) + Counter Load (0.000471) SELECT * FROM "counters" WHERE ("counters".owner_id = 6 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000951)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000510)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000439)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003463) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001755) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001817) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.001201) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000267) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 7, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000553) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(7, 'first comment', NULL) + Counter Load (0.000529) SELECT * FROM "counters" WHERE ("counters".owner_id = 7 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000945)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000662)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000491)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003224) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002536) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002227) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000578) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000278) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 8, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000504) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(8, 'first comment', NULL) + Counter Load (0.000559) SELECT * FROM "counters" WHERE ("counters".owner_id = 8 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000995)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000554)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000419)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003157) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001875) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001777) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000739) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000295) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 9, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000540) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(9, 'first comment', NULL) + Counter Load (0.000474) SELECT * FROM "counters" WHERE ("counters".owner_id = 9 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000917)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000929)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000536)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000491)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003474) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001887) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002004) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000514) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000251) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 10, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000518) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(10, 'first comment', NULL) + SQL (0.000991)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000462)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000458)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003398) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001960) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000835) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.001018) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000269) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 11, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000482) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(11, 'first comment', NULL) + CounterSpec::Content Load (0.000268) SELECT * FROM "contents" WHERE ("contents"."id" = 11)  + Counter Load (0.000349) SELECT * FROM "counters" WHERE ("counters".owner_id = 11 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000247) UPDATE "counters" SET "count" = 1 WHERE "id" = 11 + Counter Load (0.000524) SELECT * FROM "counters" WHERE ("counters".owner_id = 11 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.001016)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000592)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000522)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003224) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001653) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001591) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.001445) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000235) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 12, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000508) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(12, 'first comment', NULL) + CounterSpec::Content Load (0.000251) SELECT * FROM "contents" WHERE ("contents"."id" = 12)  + Counter Load (0.000379) SELECT * FROM "counters" WHERE ("counters".owner_id = 12 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000209) UPDATE "counters" SET "count" = 1 WHERE "id" = 12 + Counter Load (0.000491) SELECT * FROM "counters" WHERE ("counters".owner_id = 12 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001992) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001535) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002149) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000416) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000197) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 13, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000434) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(13, 'first comment', NULL) + CounterSpec::Content Load (0.000244) SELECT * FROM "contents" WHERE ("contents"."id" = 13)  + Counter Load (0.000280) SELECT * FROM "counters" WHERE ("counters".owner_id = 13 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000183) UPDATE "counters" SET "count" = 1 WHERE "id" = 13 + Counter Load (0.000402) SELECT * FROM "counters" WHERE ("counters".owner_id = 13 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.001167)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000461)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000484)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002770) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001764) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001660) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000834) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000304) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 14, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000499) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(14, 'first comment', NULL) + CounterSpec::Content Load (0.000250) SELECT * FROM "contents" WHERE ("contents"."id" = 14)  + Counter Load (0.000355) SELECT * FROM "counters" WHERE ("counters".owner_id = 14 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000218) UPDATE "counters" SET "count" = 1 WHERE "id" = 14 + Counter Load (0.000432) SELECT * FROM "counters" WHERE ("counters".owner_id = 14 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002024) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001617) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001850) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000388) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000177) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 15, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000410) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(15, 'first comment', NULL) + CounterSpec::Content Load (0.000242) SELECT * FROM "contents" WHERE ("contents"."id" = 15)  + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 15 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000198) UPDATE "counters" SET "count" = 1 WHERE "id" = 15 + Counter Load (0.000480) SELECT * FROM "counters" WHERE ("counters".owner_id = 15 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002078) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001786) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001883) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000380) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000177) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 16, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000462) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(16, 'first comment', NULL) + CounterSpec::Content Load (0.000303) SELECT * FROM "contents" WHERE ("contents"."id" = 16)  + Counter Load (0.000362) SELECT * FROM "counters" WHERE ("counters".owner_id = 16 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000277) UPDATE "counters" SET "count" = 1 WHERE "id" = 16 + CounterSpec::Comment Destroy (0.000771)  DELETE FROM "comments" + WHERE "id" = 12 + + Counter Update (0.000173) UPDATE "counters" SET "count" = 0 WHERE "id" = 16 + Counter Load (0.000460) SELECT * FROM "counters" WHERE ("counters".owner_id = 16 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000967)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000449)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000497)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003040) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002831) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001113) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000529) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000291) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 17, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000501) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(17, 'first comment', NULL) + CounterSpec::Content Load (0.000282) SELECT * FROM "contents" WHERE ("contents"."id" = 17)  + Counter Load (0.000382) SELECT * FROM "counters" WHERE ("counters".owner_id = 17 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000211) UPDATE "counters" SET "count" = 1 WHERE "id" = 17 + Counter Load (0.000501) SELECT * FROM "counters" WHERE ("counters".owner_id = 17 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.003192) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002436) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002286) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000422) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000224) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 18, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000568) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(18, 'first comment', NULL) + CounterSpec::Content Load (0.000281) SELECT * FROM "contents" WHERE ("contents"."id" = 18)  + Counter Load (0.000335) SELECT * FROM "counters" WHERE ("counters".owner_id = 18 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000323) UPDATE "counters" SET "count" = 1 WHERE "id" = 18 + Counter Load (0.000585) SELECT * FROM "counters" WHERE ("counters".owner_id = 18 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002684) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002174) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.004336) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000505) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000360) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 19, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000442) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(19, 'first comment', NULL) + CounterSpec::Content Load (0.000454) SELECT * FROM "contents" WHERE ("contents"."id" = 19)  + Counter Load (0.000306) SELECT * FROM "counters" WHERE ("counters".owner_id = 19 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000192) UPDATE "counters" SET "count" = 1 WHERE "id" = 19 + CounterSpec::Comment Destroy (0.000419)  DELETE FROM "comments" + WHERE "id" = 15 + + Counter Update (0.000190) UPDATE "counters" SET "count" = 0 WHERE "id" = 19 + Counter Load (0.000466) SELECT * FROM "counters" WHERE ("counters".owner_id = 19 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002816) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002038) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001056) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000971) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000276) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 20, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000460) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(20, 'first comment', NULL) + CounterSpec::Content Load (0.000247) SELECT * FROM "contents" WHERE ("contents"."id" = 20)  + Counter Load (0.000284) SELECT * FROM "counters" WHERE ("counters".owner_id = 20 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000202) UPDATE "counters" SET "count" = 1 WHERE "id" = 20 + Counter Load (0.000622) SELECT * FROM "counters" WHERE ("counters".owner_id = 20 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002480) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002551) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002377) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000502) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000290) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 21, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000564) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(21, 'first comment', NULL) + CounterSpec::Content Load (0.000277) SELECT * FROM "contents" WHERE ("contents"."id" = 21)  + Counter Load (0.000642) SELECT * FROM "counters" WHERE ("counters".owner_id = 21 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000230) UPDATE "counters" SET "count" = 1 WHERE "id" = 21 + Counter Load (0.000588) SELECT * FROM "counters" WHERE ("counters".owner_id = 21 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002487) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002697) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002157) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000388) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000221) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 22, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000532) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(22, 'first comment', NULL) + CounterSpec::Content Load (0.000279) SELECT * FROM "contents" WHERE ("contents"."id" = 22)  + Counter Load (0.000325) SELECT * FROM "counters" WHERE ("counters".owner_id = 22 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000267) UPDATE "counters" SET "count" = 1 WHERE "id" = 22 + CounterSpec::Comment Destroy (0.000432)  DELETE FROM "comments" + WHERE "id" = 18 + + Counter Update (0.000162) UPDATE "counters" SET "count" = 0 WHERE "id" = 22 + Counter Load (0.000394) SELECT * FROM "counters" WHERE ("counters".owner_id = 22 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000986)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000441)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000442)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003253) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001915) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001106) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000551) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000244) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 23, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000712) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(23, 'first comment', NULL) + CounterSpec::Content Load (0.000326) SELECT * FROM "contents" WHERE ("contents"."id" = 23)  + Counter Load (0.000375) SELECT * FROM "counters" WHERE ("counters".owner_id = 23 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000203) UPDATE "counters" SET "count" = 1 WHERE "id" = 23 + Counter Load (0.000451) SELECT * FROM "counters" WHERE ("counters".owner_id = 23 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001966) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001889) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001866) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000389) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000192) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 24, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000475) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(24, 'first comment', NULL) + CounterSpec::Content Load (0.000252) SELECT * FROM "contents" WHERE ("contents"."id" = 24)  + Counter Load (0.000283) SELECT * FROM "counters" WHERE ("counters".owner_id = 24 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000201) UPDATE "counters" SET "count" = 1 WHERE "id" = 24 + Counter Load (0.000411) SELECT * FROM "counters" WHERE ("counters".owner_id = 24 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001775) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001914) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001793) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000390) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000212) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 25, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000519) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(25, 'first comment', NULL) + CounterSpec::Content Load (0.000320) SELECT * FROM "contents" WHERE ("contents"."id" = 25)  + Counter Load (0.000378) SELECT * FROM "counters" WHERE ("counters".owner_id = 25 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000209) UPDATE "counters" SET "count" = 1 WHERE "id" = 25 + CounterSpec::Comment Destroy (0.000399)  DELETE FROM "comments" + WHERE "id" = 21 + + Counter Update (0.000164) UPDATE "counters" SET "count" = 0 WHERE "id" = 25 + Counter Load (0.000463) SELECT * FROM "counters" WHERE ("counters".owner_id = 25 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.001068)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000492)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000515)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003072) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001554) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000735) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000481) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000256) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 26, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000448) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(26, 'first comment', NULL) + CounterSpec::Content Load (0.000228) SELECT * FROM "contents" WHERE ("contents"."id" = 26)  + Counter Load (0.000348) SELECT * FROM "counters" WHERE ("counters".owner_id = 26 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000242) UPDATE "counters" SET "count" = 1 WHERE "id" = 26 + Counter Load (0.000418) SELECT * FROM "counters" WHERE ("counters".owner_id = 26 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001928) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001768) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001768) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000404) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000258) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 27, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000441) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(27, 'first comment', NULL) + CounterSpec::Content Load (0.000234) SELECT * FROM "contents" WHERE ("contents"."id" = 27)  + Counter Load (0.000274) SELECT * FROM "counters" WHERE ("counters".owner_id = 27 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.001056) UPDATE "counters" SET "count" = 1 WHERE "id" = 27 + Counter Load (0.000409) SELECT * FROM "counters" WHERE ("counters".owner_id = 27 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001708) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001996) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001640) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000459) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000191) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 28, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000501) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(28, 'first comment', NULL) + CounterSpec::Content Load (0.000466) SELECT * FROM "contents" WHERE ("contents"."id" = 28)  + Counter Load (0.000307) SELECT * FROM "counters" WHERE ("counters".owner_id = 28 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000199) UPDATE "counters" SET "count" = 1 WHERE "id" = 28 + CounterSpec::Comment Destroy (0.000367)  DELETE FROM "comments" + WHERE "id" = 24 + + Counter Update (0.000217) UPDATE "counters" SET "count" = 0 WHERE "id" = 28 + Counter Load (0.000476) SELECT * FROM "counters" WHERE ("counters".owner_id = 28 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000939)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000446)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000482)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002978) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001612) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000758) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000477) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000277) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 29, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000536) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(29, 'first comment', NULL) + CounterSpec::Content Load (0.000239) SELECT * FROM "contents" WHERE ("contents"."id" = 29)  + Counter Load (0.000558) SELECT * FROM "counters" WHERE ("counters".owner_id = 29 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000405) UPDATE "counters" SET "count" = 1 WHERE "id" = 29 + Counter Load (0.000498) SELECT * FROM "counters" WHERE ("counters".owner_id = 29 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001997) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001830) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001666) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000483) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000235) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 30, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000468) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(30, 'first comment', NULL) + CounterSpec::Content Load (0.000280) SELECT * FROM "contents" WHERE ("contents"."id" = 30)  + Counter Load (0.000306) SELECT * FROM "counters" WHERE ("counters".owner_id = 30 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000191) UPDATE "counters" SET "count" = 1 WHERE "id" = 30 + Counter Load (0.000380) SELECT * FROM "counters" WHERE ("counters".owner_id = 30 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002055) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001817) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001706) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000462) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000228) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 31, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000607) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(31, 'first comment', NULL) + CounterSpec::Content Load (0.000305) SELECT * FROM "contents" WHERE ("contents"."id" = 31)  + Counter Load (0.000310) SELECT * FROM "counters" WHERE ("counters".owner_id = 31 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000199) UPDATE "counters" SET "count" = 1 WHERE "id" = 31 + CounterSpec::Comment Destroy (0.000392)  DELETE FROM "comments" + WHERE "id" = 27 + + Counter Update (0.000174) UPDATE "counters" SET "count" = 0 WHERE "id" = 31 + Counter Load (0.000479) SELECT * FROM "counters" WHERE ("counters".owner_id = 31 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000956)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000463)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000455)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003374) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.004466) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001127) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000596) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000226) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 32, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000537) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(32, 'first comment', NULL) + CounterSpec::Content Load (0.000253) SELECT * FROM "contents" WHERE ("contents"."id" = 32)  + Counter Load (0.000419) SELECT * FROM "counters" WHERE ("counters".owner_id = 32 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000215) UPDATE "counters" SET "count" = 1 WHERE "id" = 32 + Counter Load (0.000480) SELECT * FROM "counters" WHERE ("counters".owner_id = 32 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002367) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002365) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002229) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000401) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000285) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 33, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000408) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(33, 'first comment', NULL) + CounterSpec::Content Load (0.000236) SELECT * FROM "contents" WHERE ("contents"."id" = 33)  + Counter Load (0.000277) SELECT * FROM "counters" WHERE ("counters".owner_id = 33 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000200) UPDATE "counters" SET "count" = 1 WHERE "id" = 33 + Counter Load (0.000385) SELECT * FROM "counters" WHERE ("counters".owner_id = 33 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002348) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002170) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002188) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000390) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000182) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 34, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000465) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(34, 'first comment', NULL) + CounterSpec::Content Load (0.000255) SELECT * FROM "contents" WHERE ("contents"."id" = 34)  + Counter Load (0.000332) SELECT * FROM "counters" WHERE ("counters".owner_id = 34 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000226) UPDATE "counters" SET "count" = 1 WHERE "id" = 34 + CounterSpec::Comment Destroy (0.000357)  DELETE FROM "comments" + WHERE "id" = 30 + + Counter Update (0.000381) UPDATE "counters" SET "count" = 0 WHERE "id" = 34 + Counter Load (0.000445) SELECT * FROM "counters" WHERE ("counters".owner_id = 34 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000928)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000447)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000531)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002940) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001639) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001089) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000445) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000274) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 35, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000517) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(35, 'first comment', NULL) + CounterSpec::Content Load (0.000240) SELECT * FROM "contents" WHERE ("contents"."id" = 35)  + Counter Load (0.000390) SELECT * FROM "counters" WHERE ("counters".owner_id = 35 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000233) UPDATE "counters" SET "count" = 1 WHERE "id" = 35 + Counter Load (0.000415) SELECT * FROM "counters" WHERE ("counters".owner_id = 35 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001913) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001694) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001791) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000385) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000264) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 36, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000406) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(36, 'first comment', NULL) + CounterSpec::Content Load (0.000252) SELECT * FROM "contents" WHERE ("contents"."id" = 36)  + Counter Load (0.000340) SELECT * FROM "counters" WHERE ("counters".owner_id = 36 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000207) UPDATE "counters" SET "count" = 1 WHERE "id" = 36 + Counter Load (0.000455) SELECT * FROM "counters" WHERE ("counters".owner_id = 36 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002087) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001694) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001759) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000441) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000195) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 37, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000751) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(37, 'first comment', NULL) + CounterSpec::Content Load (0.000275) SELECT * FROM "contents" WHERE ("contents"."id" = 37)  + Counter Load (0.000276) SELECT * FROM "counters" WHERE ("counters".owner_id = 37 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000206) UPDATE "counters" SET "count" = 1 WHERE "id" = 37 + CounterSpec::Comment Destroy (0.000317)  DELETE FROM "comments" + WHERE "id" = 33 + + Counter Update (0.000166) UPDATE "counters" SET "count" = 0 WHERE "id" = 37 + Counter Load (0.000412) SELECT * FROM "counters" WHERE ("counters".owner_id = 37 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000936)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000608)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000493)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.004717) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001770) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000767) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000483) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000235) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 38, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000531) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(38, 'first comment', NULL) + CounterSpec::Content Load (0.000266) SELECT * FROM "contents" WHERE ("contents"."id" = 38)  + Counter Load (0.000561) SELECT * FROM "counters" WHERE ("counters".owner_id = 38 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000254) UPDATE "counters" SET "count" = 1 WHERE "id" = 38 + Counter Load (0.000440) SELECT * FROM "counters" WHERE ("counters".owner_id = 38 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002028) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001712) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001885) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000870) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000234) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 39, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000386) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(39, 'first comment', NULL) + CounterSpec::Content Load (0.000268) SELECT * FROM "contents" WHERE ("contents"."id" = 39)  + Counter Load (0.000284) SELECT * FROM "counters" WHERE ("counters".owner_id = 39 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000207) UPDATE "counters" SET "count" = 1 WHERE "id" = 39 + Counter Load (0.000473) SELECT * FROM "counters" WHERE ("counters".owner_id = 39 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002047) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001635) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001663) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000472) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000184) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 40, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000491) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(40, 'first comment', NULL) + CounterSpec::Content Load (0.000314) SELECT * FROM "contents" WHERE ("contents"."id" = 40)  + Counter Load (0.000309) SELECT * FROM "counters" WHERE ("counters".owner_id = 40 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000224) UPDATE "counters" SET "count" = 1 WHERE "id" = 40 + CounterSpec::Comment Destroy (0.000312)  DELETE FROM "comments" + WHERE "id" = 36 + + Counter Update (0.000138) UPDATE "counters" SET "count" = 0 WHERE "id" = 40 + Counter Load (0.000434) SELECT * FROM "counters" WHERE ("counters".owner_id = 40 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000930)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000454)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000535)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.004116) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002508) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001106) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000594) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000240) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 41, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000483) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(41, 'first comment', NULL) + CounterSpec::Content Load (0.000249) SELECT * FROM "contents" WHERE ("contents"."id" = 41)  + Counter Load (0.000361) SELECT * FROM "counters" WHERE ("counters".owner_id = 41 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000197) UPDATE "counters" SET "count" = 1 WHERE "id" = 41 + Counter Load (0.000552) SELECT * FROM "counters" WHERE ("counters".owner_id = 41 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002479) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002346) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002474) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000402) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000228) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 42, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000423) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(42, 'first comment', NULL) + CounterSpec::Content Load (0.000251) SELECT * FROM "contents" WHERE ("contents"."id" = 42)  + Counter Load (0.000317) SELECT * FROM "counters" WHERE ("counters".owner_id = 42 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000252) UPDATE "counters" SET "count" = 1 WHERE "id" = 42 + Counter Load (0.000424) SELECT * FROM "counters" WHERE ("counters".owner_id = 42 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002379) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002233) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002236) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000488) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000273) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 43, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000409) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(43, 'first comment', NULL) + CounterSpec::Content Load (0.000312) SELECT * FROM "contents" WHERE ("contents"."id" = 43)  + Counter Load (0.000418) SELECT * FROM "counters" WHERE ("counters".owner_id = 43 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000193) UPDATE "counters" SET "count" = 1 WHERE "id" = 43 + CounterSpec::Comment Destroy (0.000351)  DELETE FROM "comments" + WHERE "id" = 39 + + Counter Update (0.000133) UPDATE "counters" SET "count" = 0 WHERE "id" = 43 + Counter Load (0.001092) SELECT * FROM "counters" WHERE ("counters".owner_id = 43 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000889)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000479)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000502)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002862) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001891) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000751) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000448) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000296) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 44, 0, 'CounterSpec::Content') + Counter Create (0.000263) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 44, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000464) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(44, 'first comment', NULL) + CounterSpec::Content Load (0.000246) SELECT * FROM "contents" WHERE ("contents"."id" = 44)  + Counter Load (0.000356) SELECT * FROM "counters" WHERE ("counters".owner_id = 44 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000235) UPDATE "counters" SET "count" = 1 WHERE "id" = 44 + Counter Load (0.000423) SELECT * FROM "counters" WHERE ("counters".owner_id = 44 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001972) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001747) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001729) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000403) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000262) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 45, 0, 'CounterSpec::Content') + Counter Create (0.000149) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 45, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000406) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(45, 'first comment', NULL) + CounterSpec::Content Load (0.000243) SELECT * FROM "contents" WHERE ("contents"."id" = 45)  + Counter Load (0.000290) SELECT * FROM "counters" WHERE ("counters".owner_id = 45 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000291) UPDATE "counters" SET "count" = 1 WHERE "id" = 46 + Counter Load (0.000503) SELECT * FROM "counters" WHERE ("counters".owner_id = 45 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002349) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001335) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001543) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000538) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000302) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 46, 0, 'CounterSpec::Content') + Counter Create (0.000139) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 46, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000473) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(46, 'first comment', NULL) + CounterSpec::Content Load (0.000361) SELECT * FROM "contents" WHERE ("contents"."id" = 46)  + Counter Load (0.000353) SELECT * FROM "counters" WHERE ("counters".owner_id = 46 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000208) UPDATE "counters" SET "count" = 1 WHERE "id" = 48 + CounterSpec::Comment Destroy (0.000454)  DELETE FROM "comments" + WHERE "id" = 42 + + Counter Update (0.000142) UPDATE "counters" SET "count" = 0 WHERE "id" = 48 + Counter Load (0.000428) SELECT * FROM "counters" WHERE ("counters".owner_id = 46 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002094) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001833) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000702) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000425) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000196) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 47, 0, 'CounterSpec::Content') + Counter Create (0.000114) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 47, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000439) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(47, 'first comment', NULL) + CounterSpec::Content Load (0.000241) SELECT * FROM "contents" WHERE ("contents"."id" = 47)  + Counter Load (0.000271) SELECT * FROM "counters" WHERE ("counters".owner_id = 47 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000290) UPDATE "counters" SET "count" = 1 WHERE "id" = 50 + Counter Load (0.000000) SQLite3::SQLException: no such column: comments.approved: SELECT * FROM "counters" WHERE ("counters".owner_id = 47 AND "counters".owner_type = 'CounterSpec::Content' AND (comments.approved = 1)) LIMIT 1 + Counter Delete all (0.001934) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001736) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001705) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000642) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000260) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 48, 0, 'CounterSpec::Content') + Counter Create (0.000130) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 48, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000483) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(48, 'first comment', NULL) + CounterSpec::Content Load (0.000296) SELECT * FROM "contents" WHERE ("contents"."id" = 48)  + Counter Load (0.000312) SELECT * FROM "counters" WHERE ("counters".owner_id = 48 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000182) UPDATE "counters" SET "count" = 1 WHERE "id" = 52 + Counter Load (0.000000) SQLite3::SQLException: no such column: comments.approved: SELECT * FROM "counters" WHERE ("counters".owner_id = 48 AND "counters".owner_type = 'CounterSpec::Content' AND (comments.approved = 1)) LIMIT 1 + Counter Delete all (0.002654) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002225) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001937) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000515) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000176) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 49, 0, 'CounterSpec::Content') + Counter Create (0.000107) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 49, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000445) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(49, 'first comment', NULL) + CounterSpec::Content Load (0.000248) SELECT * FROM "contents" WHERE ("contents"."id" = 49)  + Counter Load (0.000276) SELECT * FROM "counters" WHERE ("counters".owner_id = 49 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000197) UPDATE "counters" SET "count" = 1 WHERE "id" = 54 + CounterSpec::Comment Destroy (0.000312)  DELETE FROM "comments" + WHERE "id" = 45 + + Counter Update (0.000126) UPDATE "counters" SET "count" = 0 WHERE "id" = 54 + Counter Load (0.000463) SELECT * FROM "counters" WHERE ("counters".owner_id = 49 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000926)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000442)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000501)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003459) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002238) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.006128) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000544) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000245) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 50, 0, 'CounterSpec::Content') + Counter Create (0.000147) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 50, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000464) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(50, 'first comment', NULL) + CounterSpec::Content Load (0.000236) SELECT * FROM "contents" WHERE ("contents"."id" = 50)  + Counter Load (0.000352) SELECT * FROM "counters" WHERE ("counters".owner_id = 50 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000228) UPDATE "counters" SET "count" = 1 WHERE "id" = 56 + Counter Load (0.000445) SELECT * FROM "counters" WHERE ("counters".owner_id = 50 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002414) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002284) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002243) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000447) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000293) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 51, 0, 'CounterSpec::Content') + Counter Create (0.000159) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 51, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000435) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(51, 'first comment', NULL) + CounterSpec::Content Load (0.000321) SELECT * FROM "contents" WHERE ("contents"."id" = 51)  + Counter Load (0.000466) SELECT * FROM "counters" WHERE ("counters".owner_id = 51 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000220) UPDATE "counters" SET "count" = 1 WHERE "id" = 58 + Counter Load (0.000408) SELECT * FROM "counters" WHERE ("counters".owner_id = 51 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002366) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002215) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002267) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000537) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000239) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 52, 0, 'CounterSpec::Content') + Counter Create (0.000155) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 52, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000442) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(52, 'first comment', NULL) + CounterSpec::Content Load (0.000275) SELECT * FROM "contents" WHERE ("contents"."id" = 52)  + Counter Load (0.000297) SELECT * FROM "counters" WHERE ("counters".owner_id = 52 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000217) UPDATE "counters" SET "count" = 1 WHERE "id" = 60 + CounterSpec::Comment Destroy (0.000324)  DELETE FROM "comments" + WHERE "id" = 48 + + Counter Update (0.000139) UPDATE "counters" SET "count" = 0 WHERE "id" = 60 + Counter Load (0.000438) SELECT * FROM "counters" WHERE ("counters".owner_id = 52 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002413) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002273) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000948) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000384) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000170) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 53, 0, 'CounterSpec::Content') + Counter Create (0.000150) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 53, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000440) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(53, 'first comment', NULL) + CounterSpec::Content Load (0.000237) SELECT * FROM "contents" WHERE ("contents"."id" = 53)  + Counter Load (0.000340) SELECT * FROM "counters" WHERE ("counters".owner_id = 53 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000216) UPDATE "counters" SET "count" = 1 WHERE "id" = 62 + Counter Load (0.000000) SQLite3::SQLException: no such column: comments.approved: SELECT * FROM "counters" WHERE ("counters".owner_id = 53 AND "counters".owner_type = 'CounterSpec::Content' AND (comments.approved = 1)) LIMIT 1 + Counter Delete all (0.002414) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002162) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002356) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000390) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000271) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 54, 0, 'CounterSpec::Content') + Counter Create (0.000141) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 54, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000464) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(54, 'first comment', NULL) + CounterSpec::Content Load (0.000253) SELECT * FROM "contents" WHERE ("contents"."id" = 54)  + Counter Load (0.000301) SELECT * FROM "counters" WHERE ("counters".owner_id = 54 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000180) UPDATE "counters" SET "count" = 1 WHERE "id" = 64 + Counter Load (0.000000) SQLite3::SQLException: no such column: comments.approved: SELECT * FROM "counters" WHERE ("counters".owner_id = 54 AND "counters".owner_type = 'CounterSpec::Content' AND (comments.approved = 1)) LIMIT 1 + Counter Delete all (0.002352) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002418) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002117) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000379) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000179) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 55, 0, 'CounterSpec::Content') + Counter Create (0.000103) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 55, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000406) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(55, 'first comment', NULL) + CounterSpec::Content Load (0.000229) SELECT * FROM "contents" WHERE ("contents"."id" = 55)  + Counter Load (0.000287) SELECT * FROM "counters" WHERE ("counters".owner_id = 55 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000176) UPDATE "counters" SET "count" = 1 WHERE "id" = 66 + CounterSpec::Comment Destroy (0.000320)  DELETE FROM "comments" + WHERE "id" = 51 + + Counter Update (0.000168) UPDATE "counters" SET "count" = 0 WHERE "id" = 66 + Counter Load (0.000000) SQLite3::SQLException: no such column: comments.approved: SELECT * FROM "counters" WHERE ("counters".owner_id = 55 AND "counters".owner_type = 'CounterSpec::Content' AND (comments.approved = 1)) LIMIT 1 + SQL (0.001159)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000483)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000519)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003766) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002212) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001024) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.002743) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000263) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 56, 0, 'CounterSpec::Content') + Counter Create (0.000138) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 56, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000484) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(56, 'first comment', NULL) + CounterSpec::Content Load (0.000249) SELECT * FROM "contents" WHERE ("contents"."id" = 56)  + Counter Load (0.000417) SELECT * FROM "counters" WHERE ("counters".owner_id = 56 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000315) UPDATE "counters" SET "count" = 1 WHERE "id" = 68 + Counter Load (0.000476) SELECT * FROM "counters" WHERE ("counters".owner_id = 56 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001968) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001909) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002806) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000635) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000226) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 57, 0, 'CounterSpec::Content') + Counter Create (0.000122) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 57, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000583) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(57, 'first comment', NULL) + CounterSpec::Content Load (0.000355) SELECT * FROM "contents" WHERE ("contents"."id" = 57)  + Counter Load (0.000345) SELECT * FROM "counters" WHERE ("counters".owner_id = 57 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000228) UPDATE "counters" SET "count" = 1 WHERE "id" = 70 + Counter Load (0.000429) SELECT * FROM "counters" WHERE ("counters".owner_id = 57 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002138) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001834) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002808) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000679) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000243) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 58, 0, 'CounterSpec::Content') + Counter Create (0.000192) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 58, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000539) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(58, 'first comment', NULL) + CounterSpec::Content Load (0.000256) SELECT * FROM "contents" WHERE ("contents"."id" = 58)  + Counter Load (0.000275) SELECT * FROM "counters" WHERE ("counters".owner_id = 58 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000185) UPDATE "counters" SET "count" = 1 WHERE "id" = 72 + CounterSpec::Comment Destroy (0.000360)  DELETE FROM "comments" + WHERE "id" = 54 + + Counter Update (0.000143) UPDATE "counters" SET "count" = 0 WHERE "id" = 72 + Counter Load (0.000490) SELECT * FROM "counters" WHERE ("counters".owner_id = 58 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002674) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002191) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000901) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000514) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000179) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 59, 0, 'CounterSpec::Content') + Counter Create (0.000140) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 59, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000460) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(59, 'first comment', NULL) + CounterSpec::Content Load (0.000250) SELECT * FROM "contents" WHERE ("contents"."id" = 59)  + Counter Load (0.000289) SELECT * FROM "counters" WHERE ("counters".owner_id = 59 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000203) UPDATE "counters" SET "count" = 1 WHERE "id" = 74 + Counter Load (0.000541) SELECT * FROM "counters" WHERE ("counters".owner_id = 59 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002563) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002258) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002063) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000420) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000198) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 60, 0, 'CounterSpec::Content') + Counter Create (0.000126) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 60, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000768) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(60, 'first comment', NULL) + CounterSpec::Content Load (0.000269) SELECT * FROM "contents" WHERE ("contents"."id" = 60)  + Counter Load (0.000314) SELECT * FROM "counters" WHERE ("counters".owner_id = 60 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000192) UPDATE "counters" SET "count" = 1 WHERE "id" = 76 + Counter Load (0.000435) SELECT * FROM "counters" WHERE ("counters".owner_id = 60 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002409) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002202) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002092) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000432) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000171) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 61, 0, 'CounterSpec::Content') + Counter Create (0.000141) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 61, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000422) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(61, 'first comment', NULL) + CounterSpec::Content Load (0.000283) SELECT * FROM "contents" WHERE ("contents"."id" = 61)  + Counter Load (0.000327) SELECT * FROM "counters" WHERE ("counters".owner_id = 61 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000167) UPDATE "counters" SET "count" = 1 WHERE "id" = 78 + CounterSpec::Comment Destroy (0.000377)  DELETE FROM "comments" + WHERE "id" = 57 + + Counter Update (0.000235) UPDATE "counters" SET "count" = 0 WHERE "id" = 78 + Counter Load (0.000435) SELECT * FROM "counters" WHERE ("counters".owner_id = 61 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000965)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000759)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000472)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002439) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001654) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000781) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000473) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000292) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 62, 0, 'CounterSpec::Content') + Counter Create (0.000241) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 62, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000488) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(62, 'first comment', NULL) + CounterSpec::Content Load (0.000242) SELECT * FROM "contents" WHERE ("contents"."id" = 62)  + Counter Load (0.000372) SELECT * FROM "counters" WHERE ("counters".owner_id = 62 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000252) UPDATE "counters" SET "count" = 1 WHERE "id" = 80 + Counter Load (0.000394) SELECT * FROM "counters" WHERE ("counters".owner_id = 62 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000430) SELECT * FROM "counters" WHERE ("counters".owner_id = 62 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001975) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001833) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001654) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000601) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000238) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 63, 0, 'CounterSpec::Content') + Counter Create (0.000107) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 63, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000416) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(63, 'first comment', NULL) + CounterSpec::Content Load (0.000345) SELECT * FROM "contents" WHERE ("contents"."id" = 63)  + Counter Load (0.000319) SELECT * FROM "counters" WHERE ("counters".owner_id = 63 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000225) UPDATE "counters" SET "count" = 1 WHERE "id" = 82 + Counter Load (0.000315) SELECT * FROM "counters" WHERE ("counters".owner_id = 63 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000440) SELECT * FROM "counters" WHERE ("counters".owner_id = 63 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002092) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001747) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001783) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000462) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000186) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 64, 0, 'CounterSpec::Content') + Counter Create (0.000169) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 64, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000476) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(64, 'first comment', NULL) + CounterSpec::Content Load (0.000311) SELECT * FROM "contents" WHERE ("contents"."id" = 64)  + Counter Load (0.000408) SELECT * FROM "counters" WHERE ("counters".owner_id = 64 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000231) UPDATE "counters" SET "count" = 1 WHERE "id" = 84 + Counter Load (0.000310) SELECT * FROM "counters" WHERE ("counters".owner_id = 64 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000322)  DELETE FROM "comments" + WHERE "id" = 60 + + Counter Update (0.000172) UPDATE "counters" SET "count" = 0 WHERE "id" = 84 + Counter Load (0.000489) SELECT * FROM "counters" WHERE ("counters".owner_id = 64 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002004) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001787) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000831) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000448) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000174) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 65, 0, 'CounterSpec::Content') + Counter Create (0.000116) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 65, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000525) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(65, 'first comment', NULL) + CounterSpec::Content Load (0.000285) SELECT * FROM "contents" WHERE ("contents"."id" = 65)  + Counter Load (0.000351) SELECT * FROM "counters" WHERE ("counters".owner_id = 65 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000235) UPDATE "counters" SET "count" = 1 WHERE "id" = 86 + Counter Load (0.000287) SELECT * FROM "counters" WHERE ("counters".owner_id = 65 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000382) SELECT * FROM "counters" WHERE ("counters".owner_id = 65 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002039) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001812) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001594) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000734) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000219) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 66, 0, 'CounterSpec::Content') + Counter Create (0.000112) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 66, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000415) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(66, 'first comment', NULL) + CounterSpec::Content Load (0.000232) SELECT * FROM "contents" WHERE ("contents"."id" = 66)  + Counter Load (0.000271) SELECT * FROM "counters" WHERE ("counters".owner_id = 66 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000206) UPDATE "counters" SET "count" = 1 WHERE "id" = 88 + Counter Load (0.000293) SELECT * FROM "counters" WHERE ("counters".owner_id = 66 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000523) SELECT * FROM "counters" WHERE ("counters".owner_id = 66 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002115) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001932) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002198) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000491) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000207) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 67, 0, 'CounterSpec::Content') + Counter Create (0.000147) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 67, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000430) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(67, 'first comment', NULL) + CounterSpec::Content Load (0.000241) SELECT * FROM "contents" WHERE ("contents"."id" = 67)  + Counter Load (0.000311) SELECT * FROM "counters" WHERE ("counters".owner_id = 67 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000237) UPDATE "counters" SET "count" = 1 WHERE "id" = 90 + Counter Load (0.000306) SELECT * FROM "counters" WHERE ("counters".owner_id = 67 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000330)  DELETE FROM "comments" + WHERE "id" = 63 + + Counter Update (0.000222) UPDATE "counters" SET "count" = 0 WHERE "id" = 90 + Counter Load (0.000427) SELECT * FROM "counters" WHERE ("counters".owner_id = 67 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.001030)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000510)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000468)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002998) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002209) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000915) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000579) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000282) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 68, 0, 'CounterSpec::Content') + Counter Create (0.000133) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 68, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000467) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(68, 'first comment', NULL) + CounterSpec::Content Load (0.000228) SELECT * FROM "contents" WHERE ("contents"."id" = 68)  + Counter Load (0.000362) SELECT * FROM "counters" WHERE ("counters".owner_id = 68 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000281) UPDATE "counters" SET "count" = 1 WHERE "id" = 92 + Counter Load (0.000334) SELECT * FROM "counters" WHERE ("counters".owner_id = 68 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000428) SELECT * FROM "counters" WHERE ("counters".owner_id = 68 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002246) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002239) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002453) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000468) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000191) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 69, 0, 'CounterSpec::Content') + Counter Create (0.000108) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 69, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000425) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(69, 'first comment', NULL) + CounterSpec::Content Load (0.000234) SELECT * FROM "contents" WHERE ("contents"."id" = 69)  + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 69 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000277) UPDATE "counters" SET "count" = 1 WHERE "id" = 94 + Counter Load (0.000322) SELECT * FROM "counters" WHERE ("counters".owner_id = 69 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.001895) SELECT * FROM "counters" WHERE ("counters".owner_id = 69 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002353) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001906) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002886) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000484) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000261) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 70, 0, 'CounterSpec::Content') + Counter Create (0.000114) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 70, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000508) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(70, 'first comment', NULL) + CounterSpec::Content Load (0.000312) SELECT * FROM "contents" WHERE ("contents"."id" = 70)  + Counter Load (0.000330) SELECT * FROM "counters" WHERE ("counters".owner_id = 70 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000279) UPDATE "counters" SET "count" = 1 WHERE "id" = 96 + Counter Load (0.000324) SELECT * FROM "counters" WHERE ("counters".owner_id = 70 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000341)  DELETE FROM "comments" + WHERE "id" = 66 + + Counter Update (0.000230) UPDATE "counters" SET "count" = 0 WHERE "id" = 96 + Counter Load (0.000429) SELECT * FROM "counters" WHERE ("counters".owner_id = 70 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002653) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.004174) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001056) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000470) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000255) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 71, 0, 'CounterSpec::Content') + Counter Create (0.000140) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 71, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000420) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(71, 'first comment', NULL) + CounterSpec::Content Load (0.000231) SELECT * FROM "contents" WHERE ("contents"."id" = 71)  + Counter Load (0.000277) SELECT * FROM "counters" WHERE ("counters".owner_id = 71 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000211) UPDATE "counters" SET "count" = 1 WHERE "id" = 98 + Counter Load (0.000355) SELECT * FROM "counters" WHERE ("counters".owner_id = 71 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000542) SELECT * FROM "counters" WHERE ("counters".owner_id = 71 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002394) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001945) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002240) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000413) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000181) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 72, 0, 'CounterSpec::Content') + Counter Create (0.000144) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 72, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000485) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(72, 'first comment', NULL) + CounterSpec::Content Load (0.000244) SELECT * FROM "contents" WHERE ("contents"."id" = 72)  + Counter Load (0.000338) SELECT * FROM "counters" WHERE ("counters".owner_id = 72 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000227) UPDATE "counters" SET "count" = 1 WHERE "id" = 100 + Counter Load (0.000291) SELECT * FROM "counters" WHERE ("counters".owner_id = 72 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000430) SELECT * FROM "counters" WHERE ("counters".owner_id = 72 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002741) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001972) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002427) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000450) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000224) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 73, 0, 'CounterSpec::Content') + Counter Create (0.000165) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 73, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000419) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(73, 'first comment', NULL) + CounterSpec::Content Load (0.000335) SELECT * FROM "contents" WHERE ("contents"."id" = 73)  + Counter Load (0.000371) SELECT * FROM "counters" WHERE ("counters".owner_id = 73 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000399) UPDATE "counters" SET "count" = 1 WHERE "id" = 102 + Counter Load (0.000319) SELECT * FROM "counters" WHERE ("counters".owner_id = 73 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000363)  DELETE FROM "comments" + WHERE "id" = 69 + + Counter Update (0.000169) UPDATE "counters" SET "count" = 0 WHERE "id" = 102 + Counter Load (0.000423) SELECT * FROM "counters" WHERE ("counters".owner_id = 73 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000928)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000448)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000504)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003037) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001575) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000704) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000474) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000271) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 74, 0, 'CounterSpec::Content') + Counter Create (0.000135) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 74, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000465) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(74, 'first comment', NULL) + CounterSpec::Content Load (0.000239) SELECT * FROM "contents" WHERE ("contents"."id" = 74)  + Counter Load (0.000373) SELECT * FROM "counters" WHERE ("counters".owner_id = 74 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000251) UPDATE "counters" SET "count" = 1 WHERE "id" = 104 + Counter Load (0.000355) SELECT * FROM "counters" WHERE ("counters".owner_id = 74 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000523) SELECT * FROM "counters" WHERE ("counters".owner_id = 74 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002124) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001471) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001688) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000555) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000228) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 75, 0, 'CounterSpec::Content') + Counter Create (0.000143) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 75, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000419) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(75, 'first comment', NULL) + CounterSpec::Content Load (0.000243) SELECT * FROM "contents" WHERE ("contents"."id" = 75)  + Counter Load (0.000288) SELECT * FROM "counters" WHERE ("counters".owner_id = 75 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000222) UPDATE "counters" SET "count" = 1 WHERE "id" = 106 + Counter Load (0.000360) SELECT * FROM "counters" WHERE ("counters".owner_id = 75 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000419) SELECT * FROM "counters" WHERE ("counters".owner_id = 75 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.003496) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001532) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001426) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000480) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000436) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 76, 0, 'CounterSpec::Content') + Counter Create (0.000166) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 76, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000517) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(76, 'first comment', NULL) + CounterSpec::Content Load (0.000341) SELECT * FROM "contents" WHERE ("contents"."id" = 76)  + Counter Load (0.000320) SELECT * FROM "counters" WHERE ("counters".owner_id = 76 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000226) UPDATE "counters" SET "count" = 1 WHERE "id" = 108 + Counter Load (0.000349) SELECT * FROM "counters" WHERE ("counters".owner_id = 76 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000331)  DELETE FROM "comments" + WHERE "id" = 72 + + Counter Update (0.000186) UPDATE "counters" SET "count" = 0 WHERE "id" = 108 + Counter Load (0.000572) SELECT * FROM "counters" WHERE ("counters".owner_id = 76 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002171) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001716) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000732) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000401) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000177) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 77, 0, 'CounterSpec::Content') + Counter Create (0.000109) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 77, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000484) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(77, 'first comment', NULL) + CounterSpec::Content Load (0.002424) SELECT * FROM "contents" WHERE ("contents"."id" = 77)  + Counter Load (0.000422) SELECT * FROM "counters" WHERE ("counters".owner_id = 77 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000257) UPDATE "counters" SET "count" = 1 WHERE "id" = 110 + Counter Load (0.000356) SELECT * FROM "counters" WHERE ("counters".owner_id = 77 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000506) SELECT * FROM "counters" WHERE ("counters".owner_id = 77 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002066) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001733) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001329) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.001984) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000259) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 78, 0, 'CounterSpec::Content') + Counter Create (0.000110) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 78, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000453) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(78, 'first comment', 1) + CounterSpec::Content Load (0.000242) SELECT * FROM "contents" WHERE ("contents"."id" = 78)  + Counter Load (0.000279) SELECT * FROM "counters" WHERE ("counters".owner_id = 78 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000227) UPDATE "counters" SET "count" = 1 WHERE "id" = 112 + Counter Load (0.000467) SELECT * FROM "counters" WHERE ("counters".owner_id = 78 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000161) UPDATE "counters" SET "count" = 1 WHERE "id" = 113 + Counter Load (0.000777) SELECT * FROM "counters" WHERE ("counters".owner_id = 78 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002044) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001316) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.003156) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000456) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000228) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 79, 0, 'CounterSpec::Content') + Counter Create (0.000157) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 79, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000483) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(79, 'first comment', 1) + CounterSpec::Content Load (0.000591) SELECT * FROM "contents" WHERE ("contents"."id" = 79)  + Counter Load (0.000315) SELECT * FROM "counters" WHERE ("counters".owner_id = 79 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000286) UPDATE "counters" SET "count" = 1 WHERE "id" = 114 + Counter Load (0.000340) SELECT * FROM "counters" WHERE ("counters".owner_id = 79 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000138) UPDATE "counters" SET "count" = 1 WHERE "id" = 115 + CounterSpec::Comment Destroy (0.000351)  DELETE FROM "comments" + WHERE "id" = 75 + + Counter Update (0.000163) UPDATE "counters" SET "count" = 0 WHERE "id" = 114 + Counter Update (0.000132) UPDATE "counters" SET "count" = 0 WHERE "id" = 115 + Counter Load (0.000491) SELECT * FROM "counters" WHERE ("counters".owner_id = 79 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000940)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000438)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000496)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003281) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002430) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001073) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000568) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000258) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 80, 0, 'CounterSpec::Content') + Counter Create (0.000113) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 80, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000519) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(80, 'first comment', NULL) + CounterSpec::Content Load (0.000291) SELECT * FROM "contents" WHERE ("contents"."id" = 80)  + Counter Load (0.000386) SELECT * FROM "counters" WHERE ("counters".owner_id = 80 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000247) UPDATE "counters" SET "count" = 1 WHERE "id" = 116 + Counter Load (0.000401) SELECT * FROM "counters" WHERE ("counters".owner_id = 80 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.003171) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002057) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000918) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.002571) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000220) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 81, 0, 'CounterSpec::Content') + Counter Create (0.000133) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 81, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000541) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(81, 'first comment', NULL) + CounterSpec::Content Load (0.000290) SELECT * FROM "contents" WHERE ("contents"."id" = 81)  + Counter Load (0.000380) SELECT * FROM "counters" WHERE ("counters".owner_id = 81 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000366) UPDATE "counters" SET "count" = 1 WHERE "id" = 118 + Counter Load (0.000320) SELECT * FROM "counters" WHERE ("counters".owner_id = 81 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.003577) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002234) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.004107) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000593) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000287) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 82, 0, 'CounterSpec::Content') + Counter Create (0.000133) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 82, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000457) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(82, 'first comment', NULL) + CounterSpec::Content Load (0.000250) SELECT * FROM "contents" WHERE ("contents"."id" = 82)  + Counter Load (0.000307) SELECT * FROM "counters" WHERE ("counters".owner_id = 82 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000216) UPDATE "counters" SET "count" = 1 WHERE "id" = 120 + Counter Load (0.000781) SELECT * FROM "counters" WHERE ("counters".owner_id = 82 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002386) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.004546) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001003) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000423) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000394) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 83, 0, 'CounterSpec::Content') + Counter Create (0.000177) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 83, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000492) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(83, 'first comment', NULL) + CounterSpec::Content Load (0.000247) SELECT * FROM "contents" WHERE ("contents"."id" = 83)  + Counter Load (0.000286) SELECT * FROM "counters" WHERE ("counters".owner_id = 83 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000211) UPDATE "counters" SET "count" = 1 WHERE "id" = 122 + Counter Load (0.000310) SELECT * FROM "counters" WHERE ("counters".owner_id = 83 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.005413) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002199) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001041) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000512) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000250) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 84, 0, 'CounterSpec::Content') + Counter Create (0.000184) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 84, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.001943) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(84, 'first comment', 1) + CounterSpec::Content Load (0.000408) SELECT * FROM "contents" WHERE ("contents"."id" = 84)  + Counter Load (0.000389) SELECT * FROM "counters" WHERE ("counters".owner_id = 84 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000348) UPDATE "counters" SET "count" = 1 WHERE "id" = 124 + Counter Load (0.001208) SELECT * FROM "counters" WHERE ("counters".owner_id = 84 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002378) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001948) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000904) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000440) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000257) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 85, 0, 'CounterSpec::Content') + Counter Create (0.000189) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 85, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000522) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(85, 'first comment', 1) + CounterSpec::Content Load (0.000296) SELECT * FROM "contents" WHERE ("contents"."id" = 85)  + Counter Load (0.000329) SELECT * FROM "counters" WHERE ("counters".owner_id = 85 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000274) UPDATE "counters" SET "count" = 1 WHERE "id" = 126 + Counter Load (0.001814) SELECT * FROM "counters" WHERE ("counters".owner_id = 85 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000838)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000481)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000508)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002753) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002030) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000794) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.001011) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000279) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 86, 0, 'CounterSpec::Content') + Counter Create (0.000164) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 86, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000542) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(86, 'first comment', NULL) + CounterSpec::Content Load (0.000237) SELECT * FROM "contents" WHERE ("contents"."id" = 86)  + Counter Load (0.000360) SELECT * FROM "counters" WHERE ("counters".owner_id = 86 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000247) UPDATE "counters" SET "count" = 1 WHERE "id" = 128 + Counter Load (0.000349) SELECT * FROM "counters" WHERE ("counters".owner_id = 86 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002288) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001652) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000739) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000431) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000257) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 87, 0, 'CounterSpec::Content') + Counter Create (0.000134) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 87, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000384) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(87, 'first comment', NULL) + CounterSpec::Content Load (0.000241) SELECT * FROM "contents" WHERE ("contents"."id" = 87)  + Counter Load (0.000337) SELECT * FROM "counters" WHERE ("counters".owner_id = 87 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000186) UPDATE "counters" SET "count" = 1 WHERE "id" = 130 + Counter Load (0.000296) SELECT * FROM "counters" WHERE ("counters".owner_id = 87 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002012) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001816) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000773) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000380) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000223) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 88, 0, 'CounterSpec::Content') + Counter Create (0.000182) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 88, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000511) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(88, 'first comment', NULL) + CounterSpec::Content Load (0.000308) SELECT * FROM "contents" WHERE ("contents"."id" = 88)  + Counter Load (0.000336) SELECT * FROM "counters" WHERE ("counters".owner_id = 88 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000223) UPDATE "counters" SET "count" = 1 WHERE "id" = 132 + Counter Load (0.000385) SELECT * FROM "counters" WHERE ("counters".owner_id = 88 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002053) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001302) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000791) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000386) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000202) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 89, 0, 'CounterSpec::Content') + Counter Create (0.000196) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 89, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000435) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(89, 'first comment', NULL) + CounterSpec::Content Load (0.000233) SELECT * FROM "contents" WHERE ("contents"."id" = 89)  + Counter Load (0.000305) SELECT * FROM "counters" WHERE ("counters".owner_id = 89 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000191) UPDATE "counters" SET "count" = 1 WHERE "id" = 134 + Counter Load (0.000290) SELECT * FROM "counters" WHERE ("counters".owner_id = 89 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002227) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001846) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001051) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000469) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000262) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 90, 0, 'CounterSpec::Content') + Counter Create (0.000146) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 90, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000435) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(90, 'first comment', 1) + CounterSpec::Content Load (0.000251) SELECT * FROM "contents" WHERE ("contents"."id" = 90)  + Counter Load (0.000287) SELECT * FROM "counters" WHERE ("counters".owner_id = 90 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000188) UPDATE "counters" SET "count" = 1 WHERE "id" = 136 + Counter Load (0.000298) SELECT * FROM "counters" WHERE ("counters".owner_id = 90 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002495) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001771) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000832) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000395) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000185) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 91, 0, 'CounterSpec::Content') + Counter Create (0.000121) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 91, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000402) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(91, 'first comment', 1) + CounterSpec::Content Load (0.000226) SELECT * FROM "contents" WHERE ("contents"."id" = 91)  + Counter Load (0.000319) SELECT * FROM "counters" WHERE ("counters".owner_id = 91 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000206) UPDATE "counters" SET "count" = 1 WHERE "id" = 138 + Counter Load (0.000350) SELECT * FROM "counters" WHERE ("counters".owner_id = 91 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.001171)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000454)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000472)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002936) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001896) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000794) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000885) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000264) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 92, 0, 'CounterSpec::Content') + Counter Create (0.000117) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 92, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000470) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(92, 'first comment', NULL) + CounterSpec::Content Load (0.000236) SELECT * FROM "contents" WHERE ("contents"."id" = 92)  + Counter Load (0.000356) SELECT * FROM "counters" WHERE ("counters".owner_id = 92 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000203) UPDATE "counters" SET "count" = 1 WHERE "id" = 140 + Counter Load (0.000354) SELECT * FROM "counters" WHERE ("counters".owner_id = 92 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000437) SELECT * FROM "counters" WHERE ("counters".owner_id = 92 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002030) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001725) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001909) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000587) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000273) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 93, 0, 'CounterSpec::Content') + Counter Create (0.000185) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 93, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000424) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(93, 'first comment', NULL) + CounterSpec::Content Load (0.000231) SELECT * FROM "contents" WHERE ("contents"."id" = 93)  + Counter Load (0.000331) SELECT * FROM "counters" WHERE ("counters".owner_id = 93 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000237) UPDATE "counters" SET "count" = 1 WHERE "id" = 142 + Counter Load (0.000299) SELECT * FROM "counters" WHERE ("counters".owner_id = 93 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000454) SELECT * FROM "counters" WHERE ("counters".owner_id = 93 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001948) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001733) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001664) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000414) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000242) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 94, 0, 'CounterSpec::Content') + Counter Create (0.000291) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 94, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000444) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(94, 'first comment', NULL) + CounterSpec::Content Load (0.000339) SELECT * FROM "contents" WHERE ("contents"."id" = 94)  + Counter Load (0.000350) SELECT * FROM "counters" WHERE ("counters".owner_id = 94 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000280) UPDATE "counters" SET "count" = 1 WHERE "id" = 144 + Counter Load (0.000324) SELECT * FROM "counters" WHERE ("counters".owner_id = 94 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000333)  DELETE FROM "comments" + WHERE "id" = 78 + + Counter Update (0.000176) UPDATE "counters" SET "count" = 0 WHERE "id" = 144 + Counter Load (0.000446) SELECT * FROM "counters" WHERE ("counters".owner_id = 94 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002055) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001794) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000756) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000383) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000240) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 95, 0, 'CounterSpec::Content') + Counter Create (0.000178) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 95, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000465) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(95, 'first comment', NULL) + CounterSpec::Content Load (0.000242) SELECT * FROM "contents" WHERE ("contents"."id" = 95)  + Counter Load (0.000270) SELECT * FROM "counters" WHERE ("counters".owner_id = 95 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000221) UPDATE "counters" SET "count" = 1 WHERE "id" = 146 + Counter Load (0.000294) SELECT * FROM "counters" WHERE ("counters".owner_id = 95 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.001955) SELECT * FROM "counters" WHERE ("counters".owner_id = 95 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002601) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001804) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001693) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000449) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000364) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 96, 0, 'CounterSpec::Content') + Counter Create (0.000179) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 96, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000421) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(96, 'first comment', 1) + CounterSpec::Content Load (0.000230) SELECT * FROM "contents" WHERE ("contents"."id" = 96)  + Counter Load (0.000325) SELECT * FROM "counters" WHERE ("counters".owner_id = 96 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000193) UPDATE "counters" SET "count" = 1 WHERE "id" = 148 + Counter Load (0.000277) SELECT * FROM "counters" WHERE ("counters".owner_id = 96 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000117) UPDATE "counters" SET "count" = 1 WHERE "id" = 149 + Counter Load (0.000429) SELECT * FROM "counters" WHERE ("counters".owner_id = 96 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.003394) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001699) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001699) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000409) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000186) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 97, 0, 'CounterSpec::Content') + Counter Create (0.000142) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 97, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000402) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(97, 'first comment', 1) + CounterSpec::Content Load (0.000227) SELECT * FROM "contents" WHERE ("contents"."id" = 97)  + Counter Load (0.000263) SELECT * FROM "counters" WHERE ("counters".owner_id = 97 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000208) UPDATE "counters" SET "count" = 1 WHERE "id" = 150 + Counter Load (0.000344) SELECT * FROM "counters" WHERE ("counters".owner_id = 97 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000117) UPDATE "counters" SET "count" = 1 WHERE "id" = 151 + CounterSpec::Comment Destroy (0.000361)  DELETE FROM "comments" + WHERE "id" = 81 + + Counter Update (0.000174) UPDATE "counters" SET "count" = 0 WHERE "id" = 150 + Counter Update (0.000097) UPDATE "counters" SET "count" = 0 WHERE "id" = 151 + Counter Load (0.000435) SELECT * FROM "counters" WHERE ("counters".owner_id = 97 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000882)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000417)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000538)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003315) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002511) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000980) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000543) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000269) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 98, 0, 'CounterSpec::Content') + Counter Create (0.000187) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 98, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000528) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(98, 'first comment', NULL) + CounterSpec::Content Load (0.000242) SELECT * FROM "contents" WHERE ("contents"."id" = 98)  + Counter Load (0.000481) SELECT * FROM "counters" WHERE ("counters".owner_id = 98 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000219) UPDATE "counters" SET "count" = 1 WHERE "id" = 152 + Counter Load (0.000350) SELECT * FROM "counters" WHERE ("counters".owner_id = 98 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000529) SELECT * FROM "counters" WHERE ("counters".owner_id = 98 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002371) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002174) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002192) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000507) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000252) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 99, 0, 'CounterSpec::Content') + Counter Create (0.000116) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 99, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000411) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(99, 'first comment', NULL) + CounterSpec::Content Load (0.000247) SELECT * FROM "contents" WHERE ("contents"."id" = 99)  + Counter Load (0.000283) SELECT * FROM "counters" WHERE ("counters".owner_id = 99 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000239) UPDATE "counters" SET "count" = 1 WHERE "id" = 154 + Counter Load (0.000424) SELECT * FROM "counters" WHERE ("counters".owner_id = 99 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000387) SELECT * FROM "counters" WHERE ("counters".owner_id = 99 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002651) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002273) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002116) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000915) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000289) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 100, 0, 'CounterSpec::Content') + Counter Create (0.000210) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 100, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000449) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(100, 'first comment', NULL) + CounterSpec::Content Load (0.000250) SELECT * FROM "contents" WHERE ("contents"."id" = 100)  + Counter Load (0.000288) SELECT * FROM "counters" WHERE ("counters".owner_id = 100 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000179) UPDATE "counters" SET "count" = 1 WHERE "id" = 156 + Counter Load (0.000293) SELECT * FROM "counters" WHERE ("counters".owner_id = 100 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000432)  DELETE FROM "comments" + WHERE "id" = 84 + + Counter Update (0.000168) UPDATE "counters" SET "count" = 0 WHERE "id" = 156 + Counter Load (0.000389) SELECT * FROM "counters" WHERE ("counters".owner_id = 100 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002613) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002376) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000902) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000482) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000166) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 101, 0, 'CounterSpec::Content') + Counter Create (0.000159) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 101, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000416) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(101, 'first comment', NULL) + CounterSpec::Content Load (0.000242) SELECT * FROM "contents" WHERE ("contents"."id" = 101)  + Counter Load (0.000271) SELECT * FROM "counters" WHERE ("counters".owner_id = 101 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000181) UPDATE "counters" SET "count" = 1 WHERE "id" = 158 + Counter Load (0.000275) SELECT * FROM "counters" WHERE ("counters".owner_id = 101 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000527) SELECT * FROM "counters" WHERE ("counters".owner_id = 101 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002466) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001981) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002330) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000485) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000217) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 102, 0, 'CounterSpec::Content') + Counter Create (0.000131) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 102, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000423) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(102, 'first comment', 1) + CounterSpec::Content Load (0.000244) SELECT * FROM "contents" WHERE ("contents"."id" = 102)  + Counter Load (0.000318) SELECT * FROM "counters" WHERE ("counters".owner_id = 102 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000220) UPDATE "counters" SET "count" = 1 WHERE "id" = 160 + Counter Load (0.000350) SELECT * FROM "counters" WHERE ("counters".owner_id = 102 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000117) UPDATE "counters" SET "count" = 1 WHERE "id" = 161 + Counter Load (0.000464) SELECT * FROM "counters" WHERE ("counters".owner_id = 102 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002340) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002303) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002331) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000400) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000167) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 103, 0, 'CounterSpec::Content') + Counter Create (0.000187) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 103, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000430) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(103, 'first comment', 1) + CounterSpec::Content Load (0.000277) SELECT * FROM "contents" WHERE ("contents"."id" = 103)  + Counter Load (0.000272) SELECT * FROM "counters" WHERE ("counters".owner_id = 103 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000171) UPDATE "counters" SET "count" = 1 WHERE "id" = 162 + Counter Load (0.000294) SELECT * FROM "counters" WHERE ("counters".owner_id = 103 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000108) UPDATE "counters" SET "count" = 1 WHERE "id" = 163 + CounterSpec::Comment Destroy (0.000386)  DELETE FROM "comments" + WHERE "id" = 87 + + Counter Update (0.000144) UPDATE "counters" SET "count" = 0 WHERE "id" = 162 + Counter Update (0.000105) UPDATE "counters" SET "count" = 0 WHERE "id" = 163 + Counter Load (0.000477) SELECT * FROM "counters" WHERE ("counters".owner_id = 103 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000883)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000424)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000494)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003461) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001823) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000752) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000605) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000283) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 104, 0, 'CounterSpec::Content') + Counter Create (0.000143) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 104, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000515) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(104, 'first comment', NULL) + CounterSpec::Content Load (0.000254) SELECT * FROM "contents" WHERE ("contents"."id" = 104)  + Counter Load (0.000365) SELECT * FROM "counters" WHERE ("counters".owner_id = 104 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000207) UPDATE "counters" SET "count" = 1 WHERE "id" = 164 + Counter Load (0.000383) SELECT * FROM "counters" WHERE ("counters".owner_id = 104 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000437) SELECT * FROM "counters" WHERE ("counters".owner_id = 104 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002146) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001933) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001954) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000474) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000190) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 105, 0, 'CounterSpec::Content') + Counter Create (0.000104) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 105, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000411) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(105, 'first comment', NULL) + CounterSpec::Content Load (0.000249) SELECT * FROM "contents" WHERE ("contents"."id" = 105)  + Counter Load (0.000285) SELECT * FROM "counters" WHERE ("counters".owner_id = 105 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000260) UPDATE "counters" SET "count" = 1 WHERE "id" = 166 + Counter Load (0.000350) SELECT * FROM "counters" WHERE ("counters".owner_id = 105 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000370) SELECT * FROM "counters" WHERE ("counters".owner_id = 105 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002232) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001792) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001886) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000401) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000296) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 106, 0, 'CounterSpec::Content') + Counter Create (0.000172) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 106, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000462) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(106, 'first comment', NULL) + CounterSpec::Content Load (0.000281) SELECT * FROM "contents" WHERE ("contents"."id" = 106)  + Counter Load (0.000279) SELECT * FROM "counters" WHERE ("counters".owner_id = 106 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000298) UPDATE "counters" SET "count" = 1 WHERE "id" = 168 + Counter Load (0.000347) SELECT * FROM "counters" WHERE ("counters".owner_id = 106 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000399)  DELETE FROM "comments" + WHERE "id" = 90 + + Counter Update (0.000171) UPDATE "counters" SET "count" = 0 WHERE "id" = 168 + Counter Load (0.000396) SELECT * FROM "counters" WHERE ("counters".owner_id = 106 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002265) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001966) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000835) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000463) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000191) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 107, 0, 'CounterSpec::Content') + Counter Create (0.000105) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 107, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000456) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(107, 'first comment', NULL) + CounterSpec::Content Load (0.000284) SELECT * FROM "contents" WHERE ("contents"."id" = 107)  + Counter Load (0.000335) SELECT * FROM "counters" WHERE ("counters".owner_id = 107 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000189) UPDATE "counters" SET "count" = 1 WHERE "id" = 170 + Counter Load (0.000302) SELECT * FROM "counters" WHERE ("counters".owner_id = 107 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000403) SELECT * FROM "counters" WHERE ("counters".owner_id = 107 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002264) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002165) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001731) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000815) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000320) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 108, 0, 'CounterSpec::Content') + Counter Create (0.000131) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 108, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000418) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(108, 'first comment', 1) + CounterSpec::Content Load (0.000262) SELECT * FROM "contents" WHERE ("contents"."id" = 108)  + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 108 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000194) UPDATE "counters" SET "count" = 1 WHERE "id" = 172 + Counter Load (0.000335) SELECT * FROM "counters" WHERE ("counters".owner_id = 108 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000114) UPDATE "counters" SET "count" = 1 WHERE "id" = 173 + Counter Load (0.000433) SELECT * FROM "counters" WHERE ("counters".owner_id = 108 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002354) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001965) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002090) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000367) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000196) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 109, 0, 'CounterSpec::Content') + Counter Create (0.000155) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 109, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000420) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(109, 'first comment', 1) + CounterSpec::Content Load (0.000245) SELECT * FROM "contents" WHERE ("contents"."id" = 109)  + Counter Load (0.000271) SELECT * FROM "counters" WHERE ("counters".owner_id = 109 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000172) UPDATE "counters" SET "count" = 1 WHERE "id" = 174 + Counter Load (0.000265) SELECT * FROM "counters" WHERE ("counters".owner_id = 109 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000173) UPDATE "counters" SET "count" = 1 WHERE "id" = 175 + CounterSpec::Comment Destroy (0.000347)  DELETE FROM "comments" + WHERE "id" = 93 + + Counter Update (0.000137) UPDATE "counters" SET "count" = 0 WHERE "id" = 174 + Counter Update (0.000103) UPDATE "counters" SET "count" = 0 WHERE "id" = 175 + Counter Load (0.000433) SELECT * FROM "counters" WHERE ("counters".owner_id = 109 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000995)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000425)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000432)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003094) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001558) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000746) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000466) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000611) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 110, 0, 'CounterSpec::Content') + Counter Create (0.000185) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 110, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000489) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(110, 'first comment', NULL) + CounterSpec::Content Load (0.000244) SELECT * FROM "contents" WHERE ("contents"."id" = 110)  + Counter Load (0.000412) SELECT * FROM "counters" WHERE ("counters".owner_id = 110 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000281) UPDATE "counters" SET "count" = 1 WHERE "id" = 176 + Counter Load (0.000356) SELECT * FROM "counters" WHERE ("counters".owner_id = 110 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000427) SELECT * FROM "counters" WHERE ("counters".owner_id = 110 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001906) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001724) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001972) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000530) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000235) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 111, 0, 'CounterSpec::Content') + Counter Create (0.000116) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 111, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000407) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(111, 'first comment', NULL) + CounterSpec::Content Load (0.000234) SELECT * FROM "contents" WHERE ("contents"."id" = 111)  + Counter Load (0.000269) SELECT * FROM "counters" WHERE ("counters".owner_id = 111 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000180) UPDATE "counters" SET "count" = 1 WHERE "id" = 178 + Counter Load (0.000340) SELECT * FROM "counters" WHERE ("counters".owner_id = 111 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000371) SELECT * FROM "counters" WHERE ("counters".owner_id = 111 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001790) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001850) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001784) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000410) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000261) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 112, 0, 'CounterSpec::Content') + Counter Create (0.000155) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 112, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000442) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(112, 'first comment', NULL) + CounterSpec::Content Load (0.000289) SELECT * FROM "contents" WHERE ("contents"."id" = 112)  + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 112 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000243) UPDATE "counters" SET "count" = 1 WHERE "id" = 180 + Counter Load (0.000300) SELECT * FROM "counters" WHERE ("counters".owner_id = 112 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000336)  DELETE FROM "comments" + WHERE "id" = 96 + + Counter Update (0.000161) UPDATE "counters" SET "count" = 0 WHERE "id" = 180 + Counter Load (0.000462) SELECT * FROM "counters" WHERE ("counters".owner_id = 112 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001747) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001925) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000771) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000467) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000216) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 113, 0, 'CounterSpec::Content') + Counter Create (0.000196) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 113, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000431) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(113, 'first comment', NULL) + CounterSpec::Content Load (0.000228) SELECT * FROM "contents" WHERE ("contents"."id" = 113)  + Counter Load (0.000324) SELECT * FROM "counters" WHERE ("counters".owner_id = 113 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000213) UPDATE "counters" SET "count" = 1 WHERE "id" = 182 + Counter Load (0.000276) SELECT * FROM "counters" WHERE ("counters".owner_id = 113 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000363) SELECT * FROM "counters" WHERE ("counters".owner_id = 113 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002185) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001831) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001677) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000502) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000907) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 114, 0, 'CounterSpec::Content') + Counter Create (0.000227) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 114, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000425) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(114, 'first comment', 1) + CounterSpec::Content Load (0.000258) SELECT * FROM "contents" WHERE ("contents"."id" = 114)  + Counter Load (0.000333) SELECT * FROM "counters" WHERE ("counters".owner_id = 114 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000198) UPDATE "counters" SET "count" = 1 WHERE "id" = 184 + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 114 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000111) UPDATE "counters" SET "count" = 1 WHERE "id" = 185 + Counter Load (0.000423) SELECT * FROM "counters" WHERE ("counters".owner_id = 114 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001996) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001713) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001674) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000369) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000196) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 115, 0, 'CounterSpec::Content') + Counter Create (0.000190) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 115, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000415) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(115, 'first comment', 1) + CounterSpec::Content Load (0.000245) SELECT * FROM "contents" WHERE ("contents"."id" = 115)  + Counter Load (0.000278) SELECT * FROM "counters" WHERE ("counters".owner_id = 115 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000178) UPDATE "counters" SET "count" = 1 WHERE "id" = 186 + Counter Load (0.000283) SELECT * FROM "counters" WHERE ("counters".owner_id = 115 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000187) UPDATE "counters" SET "count" = 1 WHERE "id" = 187 + CounterSpec::Comment Destroy (0.000329)  DELETE FROM "comments" + WHERE "id" = 99 + + Counter Update (0.000174) UPDATE "counters" SET "count" = 0 WHERE "id" = 186 + Counter Update (0.000108) UPDATE "counters" SET "count" = 0 WHERE "id" = 187 + Counter Load (0.000426) SELECT * FROM "counters" WHERE ("counters".owner_id = 115 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000914)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000420)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000447)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003302) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001924) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000895) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000496) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000277) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 116, 0, 'CounterSpec::Content') + Counter Create (0.000153) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 116, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000451) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(116, 'first comment', NULL) + CounterSpec::Content Load (0.000234) SELECT * FROM "contents" WHERE ("contents"."id" = 116)  + Counter Load (0.000355) SELECT * FROM "counters" WHERE ("counters".owner_id = 116 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000200) UPDATE "counters" SET "count" = 1 WHERE "id" = 188 + Counter Load (0.000428) SELECT * FROM "counters" WHERE ("counters".owner_id = 116 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000459) SELECT * FROM "counters" WHERE ("counters".owner_id = 116 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002221) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002032) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002147) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000455) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000198) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 117, 0, 'CounterSpec::Content') + Counter Create (0.000122) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 117, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000459) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(117, 'first comment', NULL) + CounterSpec::Content Load (0.000237) SELECT * FROM "contents" WHERE ("contents"."id" = 117)  + Counter Load (0.000273) SELECT * FROM "counters" WHERE ("counters".owner_id = 117 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000178) UPDATE "counters" SET "count" = 1 WHERE "id" = 190 + Counter Load (0.000340) SELECT * FROM "counters" WHERE ("counters".owner_id = 117 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000413) SELECT * FROM "counters" WHERE ("counters".owner_id = 117 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001968) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001788) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001804) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000451) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000274) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 118, 0, 'CounterSpec::Content') + Counter Create (0.000174) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 118, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000433) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(118, 'first comment', NULL) + CounterSpec::Content Load (0.000261) SELECT * FROM "contents" WHERE ("contents"."id" = 118)  + Counter Load (0.000285) SELECT * FROM "counters" WHERE ("counters".owner_id = 118 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000210) UPDATE "counters" SET "count" = 1 WHERE "id" = 192 + Counter Load (0.000553) SELECT * FROM "counters" WHERE ("counters".owner_id = 118 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000371)  DELETE FROM "comments" + WHERE "id" = 102 + + Counter Update (0.000176) UPDATE "counters" SET "count" = 0 WHERE "id" = 192 + Counter Load (0.000425) SELECT * FROM "counters" WHERE ("counters".owner_id = 118 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002309) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002005) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000813) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000414) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000256) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 119, 0, 'CounterSpec::Content') + Counter Create (0.000160) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 119, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000440) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(119, 'first comment', NULL) + CounterSpec::Content Load (0.000235) SELECT * FROM "contents" WHERE ("contents"."id" = 119)  + Counter Load (0.000270) SELECT * FROM "counters" WHERE ("counters".owner_id = 119 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000177) UPDATE "counters" SET "count" = 1 WHERE "id" = 194 + Counter Load (0.000275) SELECT * FROM "counters" WHERE ("counters".owner_id = 119 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000374) SELECT * FROM "counters" WHERE ("counters".owner_id = 119 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002336) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002016) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001749) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000539) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000219) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 120, 0, 'CounterSpec::Content') + Counter Create (0.000120) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 120, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000508) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(120, 'first comment', 1) + CounterSpec::Content Load (0.000267) SELECT * FROM "contents" WHERE ("contents"."id" = 120)  + Counter Load (0.000305) SELECT * FROM "counters" WHERE ("counters".owner_id = 120 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000235) UPDATE "counters" SET "count" = 1 WHERE "id" = 196 + Counter Load (0.000456) SELECT * FROM "counters" WHERE ("counters".owner_id = 120 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000139) UPDATE "counters" SET "count" = 1 WHERE "id" = 197 + Counter Load (0.000556) SELECT * FROM "counters" WHERE ("counters".owner_id = 120 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002177) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001852) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001844) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000452) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000248) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 121, 0, 'CounterSpec::Content') + Counter Create (0.000117) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 121, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000439) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(121, 'first comment', 1) + CounterSpec::Content Load (0.000234) SELECT * FROM "contents" WHERE ("contents"."id" = 121)  + Counter Load (0.000265) SELECT * FROM "counters" WHERE ("counters".owner_id = 121 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000229) UPDATE "counters" SET "count" = 1 WHERE "id" = 198 + Counter Load (0.000308) SELECT * FROM "counters" WHERE ("counters".owner_id = 121 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000128) UPDATE "counters" SET "count" = 1 WHERE "id" = 199 + CounterSpec::Comment Destroy (0.000357)  DELETE FROM "comments" + WHERE "id" = 105 + + Counter Update (0.000283) UPDATE "counters" SET "count" = 0 WHERE "id" = 198 + Counter Update (0.000131) UPDATE "counters" SET "count" = 0 WHERE "id" = 199 + Counter Load (0.000439) SELECT * FROM "counters" WHERE ("counters".owner_id = 121 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000977)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000446)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000540)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003442) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002261) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000954) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000814) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000289) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 122, 0, 'CounterSpec::Content') + Counter Create (0.000170) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 122, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000464) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(122, 'first comment', NULL) + Counter Delete all (0.002570) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002302) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000934) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000466) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000199) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 123, 0, 'CounterSpec::Content') + Counter Create (0.000111) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 123, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000466) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(123, 'first comment', NULL) + Counter Delete all (0.002497) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002173) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000913) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000375) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000311) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 124, 0, 'CounterSpec::Content') + Counter Create (0.000208) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 124, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000440) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(124, 'first comment', NULL) + Counter Delete all (0.002483) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002323) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001015) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000431) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.001541) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 125, 0, 'CounterSpec::Content') + Counter Create (0.000242) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 125, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000480) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(125, 'first comment', NULL) + Counter Delete all (0.002454) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002269) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000972) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000491) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000295) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 126, 0, 'CounterSpec::Content') + Counter Create (0.000153) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 126, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000575) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(126, 'first comment', 1) + Counter Delete all (0.002311) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002102) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000840) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000350) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000216) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 127, 0, 'CounterSpec::Content') + Counter Create (0.000113) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 127, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000485) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(127, 'first comment', 1) + SQL (0.000539)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000464)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000475)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000515)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000491)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000629)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000876)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000459)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000603)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003169) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001542) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000767) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000546) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000269) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 128, 0, 'CounterSpec::Content') + Counter Create (0.000163) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 128, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000450) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(128, 'first comment', NULL) + CounterSpec::Content Load (0.000295) SELECT * FROM "contents" WHERE ("contents"."id" = 128)  + Counter Load (0.000362) SELECT * FROM "counters" WHERE ("counters".owner_id = 128 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001950) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001717) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000779) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000362) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000183) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 129, 0, 'CounterSpec::Content') + Counter Create (0.000147) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 129, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000488) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(129, 'first comment', NULL) + CounterSpec::Content Load (0.000304) SELECT * FROM "contents" WHERE ("contents"."id" = 129)  + Counter Load (0.000336) SELECT * FROM "counters" WHERE ("counters".owner_id = 129 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001847) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001832) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001017) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000387) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000170) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 130, 0, 'CounterSpec::Content') + Counter Create (0.000105) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 130, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000416) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(130, 'first comment', NULL) + CounterSpec::Content Load (0.000246) SELECT * FROM "contents" WHERE ("contents"."id" = 130)  + Counter Load (0.000335) SELECT * FROM "counters" WHERE ("counters".owner_id = 130 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002334) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001935) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000804) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000393) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000169) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 131, 0, 'CounterSpec::Content') + Counter Create (0.000128) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 131, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000461) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(131, 'first comment', NULL) + CounterSpec::Content Load (0.000252) SELECT * FROM "contents" WHERE ("contents"."id" = 131)  + Counter Load (0.000294) SELECT * FROM "counters" WHERE ("counters".owner_id = 131 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001870) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001786) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000829) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000475) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000228) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 132, 0, 'CounterSpec::Content') + Counter Create (0.000222) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 132, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000520) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(132, 'first comment', 1) + Counter Delete all (0.001735) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001906) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000768) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000356) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000178) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 133, 0, 'CounterSpec::Content') + Counter Create (0.000104) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 133, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000570) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(133, 'first comment', 1) + SQL (0.000884)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000419)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000521)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003307) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001627) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000817) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000462) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000271) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 134, 0, 'CounterSpec::Content') + Counter Create (0.000153) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 134, 0, 'CounterSpec::Content') + Counter Delete all (0.002172) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001820) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000749) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000482) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000213) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 135, 0, 'CounterSpec::Content') + Counter Create (0.000144) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 135, 0, 'CounterSpec::Content') + Counter Delete all (0.001946) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001853) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000713) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000373) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000223) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 136, 0, 'CounterSpec::Content') + Counter Create (0.000143) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 136, 0, 'CounterSpec::Content') + Counter Delete all (0.001948) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001723) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000879) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000402) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000223) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 137, 0, 'CounterSpec::Content') + Counter Create (0.000195) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 137, 0, 'CounterSpec::Content') + Counter Delete all (0.002193) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001875) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000710) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000436) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000189) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 138, 0, 'CounterSpec::Content') + Counter Create (0.000108) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 138, 0, 'CounterSpec::Content') + Counter Delete all (0.002039) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001904) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000794) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000422) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000181) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 139, 0, 'CounterSpec::Content') + Counter Create (0.000113) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 139, 0, 'CounterSpec::Content') + SQL (0.000882)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000454)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000515)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003118) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001430) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000671) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000446) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000261) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 140, 0, 'CounterSpec::Content') + Counter Create (0.000204) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 140, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000438) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(140, 'first comment', NULL) + CounterSpec::Content Load (0.000228) SELECT * FROM "contents" WHERE ("contents"."id" = 140)  + Counter Load (0.000373) SELECT * FROM "counters" WHERE ("counters".owner_id = 140 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002183) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001888) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000791) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000374) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000171) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 141, 0, 'CounterSpec::Content') + Counter Create (0.000112) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 141, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000407) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(141, 'first comment', NULL) + CounterSpec::Content Load (0.000262) SELECT * FROM "contents" WHERE ("contents"."id" = 141)  + Counter Load (0.000277) SELECT * FROM "counters" WHERE ("counters".owner_id = 141 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002094) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002053) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000814) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000389) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000176) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 142, 0, 'CounterSpec::Content') + Counter Create (0.000112) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 142, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000394) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(142, 'first comment', NULL) + CounterSpec::Content Load (0.000262) SELECT * FROM "contents" WHERE ("contents"."id" = 142)  + Counter Load (0.000395) SELECT * FROM "counters" WHERE ("counters".owner_id = 142 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002274) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001657) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000815) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000373) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000177) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 143, 0, 'CounterSpec::Content') + Counter Create (0.000111) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 143, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000449) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(143, 'first comment', NULL) + CounterSpec::Content Load (0.000232) SELECT * FROM "contents" WHERE ("contents"."id" = 143)  + Counter Load (0.000272) SELECT * FROM "counters" WHERE ("counters".owner_id = 143 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002108) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001794) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001031) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000369) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000187) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 144, 0, 'CounterSpec::Content') + Counter Create (0.000137) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 144, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000447) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(144, 'first comment', 1) + CounterSpec::Content Load (0.000239) SELECT * FROM "contents" WHERE ("contents"."id" = 144)  + Counter Load (0.000408) SELECT * FROM "counters" WHERE ("counters".owner_id = 144 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000233) UPDATE "counters" SET "count" = 1 WHERE "id" = 245 + Counter Load (0.000319) SELECT * FROM "counters" WHERE ("counters".owner_id = 144 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002042) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001844) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000813) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000376) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000215) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 145, 0, 'CounterSpec::Content') + Counter Create (0.000118) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 145, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000571) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(145, 'first comment', 1) + CounterSpec::Content Load (0.000265) SELECT * FROM "contents" WHERE ("contents"."id" = 145)  + Counter Load (0.000307) SELECT * FROM "counters" WHERE ("counters".owner_id = 145 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000211) UPDATE "counters" SET "count" = 1 WHERE "id" = 247 + Counter Load (0.000277) SELECT * FROM "counters" WHERE ("counters".owner_id = 145 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + SQL (0.000879)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000424)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000469)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003267) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001532) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000763) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000582) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000307) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 146, 0, 'CounterSpec::Content') + Counter Create (0.000133) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 146, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000451) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(146, 'first comment', NULL) + CounterSpec::Content Load (0.000234) SELECT * FROM "contents" WHERE ("contents"."id" = 146)  + Counter Load (0.000412) SELECT * FROM "counters" WHERE ("counters".owner_id = 146 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000250) UPDATE "counters" SET "count" = 1 WHERE "id" = 248 + Counter Delete all (0.002088) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001600) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000894) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000371) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000173) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 147, 0, 'CounterSpec::Content') + Counter Create (0.000155) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 147, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000450) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(147, 'first comment', NULL) + CounterSpec::Content Load (0.000252) SELECT * FROM "contents" WHERE ("contents"."id" = 147)  + Counter Load (0.000319) SELECT * FROM "counters" WHERE ("counters".owner_id = 147 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000189) UPDATE "counters" SET "count" = 1 WHERE "id" = 250 + Counter Delete all (0.001898) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001735) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000787) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000422) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000175) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 148, 0, 'CounterSpec::Content') + Counter Create (0.000107) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 148, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000527) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(148, 'first comment', NULL) + CounterSpec::Content Load (0.000317) SELECT * FROM "contents" WHERE ("contents"."id" = 148)  + Counter Load (0.000371) SELECT * FROM "counters" WHERE ("counters".owner_id = 148 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000254) UPDATE "counters" SET "count" = 1 WHERE "id" = 252 + Counter Delete all (0.002002) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001582) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001854) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000487) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000199) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 149, 0, 'CounterSpec::Content') + Counter Create (0.000158) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 149, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000396) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(149, 'first comment', NULL) + CounterSpec::Content Load (0.000228) SELECT * FROM "contents" WHERE ("contents"."id" = 149)  + Counter Load (0.000265) SELECT * FROM "counters" WHERE ("counters".owner_id = 149 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000173) UPDATE "counters" SET "count" = 1 WHERE "id" = 254 + Counter Delete all (0.002005) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001687) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000728) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000354) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000271) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 150, 0, 'CounterSpec::Content') + Counter Create (0.000162) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 150, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000615) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(150, 'first comment', 1) + CounterSpec::Content Load (0.000265) SELECT * FROM "contents" WHERE ("contents"."id" = 150)  + Counter Load (0.000341) SELECT * FROM "counters" WHERE ("counters".owner_id = 150 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000217) UPDATE "counters" SET "count" = 1 WHERE "id" = 257 + Counter Load (0.000292) SELECT * FROM "counters" WHERE ("counters".owner_id = 150 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000116) UPDATE "counters" SET "count" = 1 WHERE "id" = 256 + Counter Delete all (0.003129) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001791) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000783) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000604) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000268) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 151, 0, 'CounterSpec::Content') + Counter Create (0.000115) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 151, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000514) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(151, 'first comment', 1) + CounterSpec::Content Load (0.000290) SELECT * FROM "contents" WHERE ("contents"."id" = 151)  + Counter Load (0.000276) SELECT * FROM "counters" WHERE ("counters".owner_id = 151 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000256) UPDATE "counters" SET "count" = 1 WHERE "id" = 259 + Counter Load (0.000337) SELECT * FROM "counters" WHERE ("counters".owner_id = 151 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000114) UPDATE "counters" SET "count" = 1 WHERE "id" = 258 + SQL (0.000991)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000427)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000473)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003143) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001756) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000785) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000599) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000317) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 152, 0, 'CounterSpec::Content') + Counter Create (0.000174) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 152, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000488) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(152, 'first comment', NULL) + CounterSpec::Content Load (0.000241) SELECT * FROM "contents" WHERE ("contents"."id" = 152)  + Counter Load (0.000360) SELECT * FROM "counters" WHERE ("counters".owner_id = 152 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000240) UPDATE "counters" SET "count" = 1 WHERE "id" = 260 + Counter Load (0.000435) SELECT * FROM "counters" WHERE ("counters".owner_id = 152 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002030) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001698) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001773) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000707) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000315) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 153, 0, 'CounterSpec::Content') + Counter Create (0.000131) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 153, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000415) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(153, 'first comment', NULL) + CounterSpec::Content Load (0.000247) SELECT * FROM "contents" WHERE ("contents"."id" = 153)  + Counter Load (0.000341) SELECT * FROM "counters" WHERE ("counters".owner_id = 153 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000235) UPDATE "counters" SET "count" = 1 WHERE "id" = 262 + Counter Load (0.000451) SELECT * FROM "counters" WHERE ("counters".owner_id = 153 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001981) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001682) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001727) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000405) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000280) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 154, 0, 'CounterSpec::Content') + Counter Create (0.000163) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 154, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000442) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(154, 'first comment', NULL) + CounterSpec::Content Load (0.000252) SELECT * FROM "contents" WHERE ("contents"."id" = 154)  + Counter Load (0.000322) SELECT * FROM "counters" WHERE ("counters".owner_id = 154 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000245) UPDATE "counters" SET "count" = 1 WHERE "id" = 264 + CounterSpec::Comment Destroy (0.000345)  DELETE FROM "comments" + WHERE "id" = 108 + + Counter Update (0.000147) UPDATE "counters" SET "count" = 0 WHERE "id" = 264 + Counter Load (0.000465) SELECT * FROM "counters" WHERE ("counters".owner_id = 154 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002005) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001657) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000736) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000425) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000170) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 155, 0, 'CounterSpec::Content') + Counter Create (0.000141) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 155, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000454) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(155, 'first comment', NULL) + CounterSpec::Content Load (0.000254) SELECT * FROM "contents" WHERE ("contents"."id" = 155)  + Counter Load (0.000305) SELECT * FROM "counters" WHERE ("counters".owner_id = 155 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000216) UPDATE "counters" SET "count" = 1 WHERE "id" = 266 + Counter Load (0.000488) SELECT * FROM "counters" WHERE ("counters".owner_id = 155 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002082) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001520) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001949) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000513) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000249) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 156, 0, 'CounterSpec::Content') + Counter Create (0.000137) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 156, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000422) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(156, 'first comment', 1) + CounterSpec::Content Load (0.000238) SELECT * FROM "contents" WHERE ("contents"."id" = 156)  + Counter Load (0.000294) SELECT * FROM "counters" WHERE ("counters".owner_id = 156 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000235) UPDATE "counters" SET "count" = 1 WHERE "id" = 269 + Counter Load (0.000319) SELECT * FROM "counters" WHERE ("counters".owner_id = 156 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000154) UPDATE "counters" SET "count" = 1 WHERE "id" = 268 + Counter Update (0.000153) UPDATE "counters" SET "count" = 2 WHERE "id" = 269 + Counter Load (0.000434) SELECT * FROM "counters" WHERE ("counters".owner_id = 156 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001886) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001675) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001718) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000386) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000212) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 157, 0, 'CounterSpec::Content') + Counter Create (0.000119) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 157, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000386) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(157, 'first comment', 1) + CounterSpec::Content Load (0.000228) SELECT * FROM "contents" WHERE ("contents"."id" = 157)  + Counter Load (0.000300) SELECT * FROM "counters" WHERE ("counters".owner_id = 157 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000182) UPDATE "counters" SET "count" = 1 WHERE "id" = 271 + Counter Load (0.000418) SELECT * FROM "counters" WHERE ("counters".owner_id = 157 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000135) UPDATE "counters" SET "count" = 1 WHERE "id" = 270 + Counter Update (0.000110) UPDATE "counters" SET "count" = 2 WHERE "id" = 271 + CounterSpec::Comment Destroy (0.000360)  DELETE FROM "comments" + WHERE "id" = 111 + + Counter Update (0.000193) UPDATE "counters" SET "count" = 1 WHERE "id" = 271 + Counter Update (0.000091) UPDATE "counters" SET "count" = 0 WHERE "id" = 270 + Counter Load (0.000479) SELECT * FROM "counters" WHERE ("counters".owner_id = 157 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000883)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000498)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000445)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003182) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002191) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000926) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000570) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000269) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 158, 0, 'CounterSpec::Content') + Counter Create (0.000195) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 158, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000466) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(158, 'first comment', NULL) + CounterSpec::Content Load (0.000324) SELECT * FROM "contents" WHERE ("contents"."id" = 158)  + Counter Load (0.000440) SELECT * FROM "counters" WHERE ("counters".owner_id = 158 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000233) UPDATE "counters" SET "count" = 1 WHERE "id" = 272 + Counter Load (0.000384) SELECT * FROM "counters" WHERE ("counters".owner_id = 158 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002328) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002015) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001011) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000397) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000221) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 159, 0, 'CounterSpec::Content') + Counter Create (0.000122) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 159, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000418) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(159, 'first comment', NULL) + CounterSpec::Content Load (0.000240) SELECT * FROM "contents" WHERE ("contents"."id" = 159)  + Counter Load (0.000275) SELECT * FROM "counters" WHERE ("counters".owner_id = 159 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000180) UPDATE "counters" SET "count" = 1 WHERE "id" = 274 + Counter Load (0.000313) SELECT * FROM "counters" WHERE ("counters".owner_id = 159 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002274) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002009) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000944) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000501) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000233) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 160, 0, 'CounterSpec::Content') + Counter Create (0.000110) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 160, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000577) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(160, 'first comment', NULL) + CounterSpec::Content Load (0.000273) SELECT * FROM "contents" WHERE ("contents"."id" = 160)  + Counter Load (0.000325) SELECT * FROM "counters" WHERE ("counters".owner_id = 160 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000241) UPDATE "counters" SET "count" = 1 WHERE "id" = 276 + Counter Load (0.000311) SELECT * FROM "counters" WHERE ("counters".owner_id = 160 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002522) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002285) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000981) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000376) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000173) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 161, 0, 'CounterSpec::Content') + Counter Create (0.000182) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 161, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000441) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(161, 'first comment', NULL) + CounterSpec::Content Load (0.000255) SELECT * FROM "contents" WHERE ("contents"."id" = 161)  + Counter Load (0.000285) SELECT * FROM "counters" WHERE ("counters".owner_id = 161 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000191) UPDATE "counters" SET "count" = 1 WHERE "id" = 278 + Counter Load (0.000353) SELECT * FROM "counters" WHERE ("counters".owner_id = 161 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002250) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002074) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000911) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000416) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000178) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 162, 0, 'CounterSpec::Content') + Counter Create (0.000103) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 162, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000452) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(162, 'first comment', 1) + CounterSpec::Content Load (0.000245) SELECT * FROM "contents" WHERE ("contents"."id" = 162)  + Counter Load (0.000310) SELECT * FROM "counters" WHERE ("counters".owner_id = 162 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000187) UPDATE "counters" SET "count" = 1 WHERE "id" = 280 + Counter Load (0.000322) SELECT * FROM "counters" WHERE ("counters".owner_id = 162 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000119) UPDATE "counters" SET "count" = 1 WHERE "id" = 281 + Counter Delete all (0.002540) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002051) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000898) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000385) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000225) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 163, 0, 'CounterSpec::Content') + Counter Create (0.000215) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 163, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000427) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(163, 'first comment', 1) + CounterSpec::Content Load (0.000267) SELECT * FROM "contents" WHERE ("contents"."id" = 163)  + Counter Load (0.000300) SELECT * FROM "counters" WHERE ("counters".owner_id = 163 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000185) UPDATE "counters" SET "count" = 1 WHERE "id" = 282 + Counter Load (0.000279) SELECT * FROM "counters" WHERE ("counters".owner_id = 163 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000121) UPDATE "counters" SET "count" = 1 WHERE "id" = 283 + SQL (0.000982)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000462)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000478)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003298) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001729) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000729) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.003553) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000266) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 164, 0, 'CounterSpec::Content') + Counter Create (0.000122) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 164, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000468) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(164, 'first comment', NULL) + CounterSpec::Content Load (0.000268) SELECT * FROM "contents" WHERE ("contents"."id" = 164)  + Counter Load (0.000380) SELECT * FROM "counters" WHERE ("counters".owner_id = 164 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000244) UPDATE "counters" SET "count" = 1 WHERE "id" = 284 + Counter Load (0.000353) SELECT * FROM "counters" WHERE ("counters".owner_id = 164 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000432) SELECT * FROM "counters" WHERE ("counters".owner_id = 164 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002011) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001833) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002021) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000663) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000222) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 165, 0, 'CounterSpec::Content') + Counter Create (0.000108) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 165, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000440) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(165, 'first comment', NULL) + CounterSpec::Content Load (0.000233) SELECT * FROM "contents" WHERE ("contents"."id" = 165)  + Counter Load (0.000320) SELECT * FROM "counters" WHERE ("counters".owner_id = 165 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000238) UPDATE "counters" SET "count" = 1 WHERE "id" = 286 + Counter Load (0.000303) SELECT * FROM "counters" WHERE ("counters".owner_id = 165 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000395) SELECT * FROM "counters" WHERE ("counters".owner_id = 165 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002105) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001828) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001821) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000412) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000266) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 166, 0, 'CounterSpec::Content') + Counter Create (0.000175) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 166, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000495) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(166, 'first comment', NULL) + CounterSpec::Content Load (0.000253) SELECT * FROM "contents" WHERE ("contents"."id" = 166)  + Counter Load (0.000299) SELECT * FROM "counters" WHERE ("counters".owner_id = 166 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000211) UPDATE "counters" SET "count" = 1 WHERE "id" = 288 + Counter Load (0.000304) SELECT * FROM "counters" WHERE ("counters".owner_id = 166 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000319)  DELETE FROM "comments" + WHERE "id" = 114 + + Counter Update (0.000346) UPDATE "counters" SET "count" = 0 WHERE "id" = 288 + Counter Load (0.000440) SELECT * FROM "counters" WHERE ("counters".owner_id = 166 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002374) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001930) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000781) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000380) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000176) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 167, 0, 'CounterSpec::Content') + Counter Create (0.000132) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 167, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000463) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(167, 'first comment', NULL) + CounterSpec::Content Load (0.000248) SELECT * FROM "contents" WHERE ("contents"."id" = 167)  + Counter Load (0.000284) SELECT * FROM "counters" WHERE ("counters".owner_id = 167 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000187) UPDATE "counters" SET "count" = 1 WHERE "id" = 290 + Counter Load (0.000290) SELECT * FROM "counters" WHERE ("counters".owner_id = 167 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000411) SELECT * FROM "counters" WHERE ("counters".owner_id = 167 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002189) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001899) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002092) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000514) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000248) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 168, 0, 'CounterSpec::Content') + Counter Create (0.000147) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 168, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000588) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(168, 'first comment', 1) + CounterSpec::Content Load (0.000270) SELECT * FROM "contents" WHERE ("contents"."id" = 168)  + Counter Load (0.000311) SELECT * FROM "counters" WHERE ("counters".owner_id = 168 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000248) UPDATE "counters" SET "count" = 1 WHERE "id" = 292 + Counter Load (0.000305) SELECT * FROM "counters" WHERE ("counters".owner_id = 168 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000150) UPDATE "counters" SET "count" = 1 WHERE "id" = 293 + Counter Load (0.000538) SELECT * FROM "counters" WHERE ("counters".owner_id = 168 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002070) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001833) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001814) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000352) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000219) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 169, 0, 'CounterSpec::Content') + Counter Create (0.000117) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 169, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000397) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(169, 'first comment', 1) + CounterSpec::Content Load (0.000250) SELECT * FROM "contents" WHERE ("contents"."id" = 169)  + Counter Load (0.000280) SELECT * FROM "counters" WHERE ("counters".owner_id = 169 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000199) UPDATE "counters" SET "count" = 1 WHERE "id" = 294 + Counter Load (0.000283) SELECT * FROM "counters" WHERE ("counters".owner_id = 169 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000124) UPDATE "counters" SET "count" = 1 WHERE "id" = 295 + CounterSpec::Comment Destroy (0.000325)  DELETE FROM "comments" + WHERE "id" = 117 + + Counter Update (0.000159) UPDATE "counters" SET "count" = 0 WHERE "id" = 294 + Counter Update (0.000106) UPDATE "counters" SET "count" = 0 WHERE "id" = 295 + Counter Load (0.000404) SELECT * FROM "counters" WHERE ("counters".owner_id = 169 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000922)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000439)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000486)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003163) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001842) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000802) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000518) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000221) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 170, 0, 'CounterSpec::Content') + Counter Create (0.000123) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 170, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000456) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(170, 'first comment', NULL) + CounterSpec::Content Load (0.000233) SELECT * FROM "contents" WHERE ("contents"."id" = 170)  + Counter Load (0.000369) SELECT * FROM "counters" WHERE ("counters".owner_id = 170 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000283) UPDATE "counters" SET "count" = 1 WHERE "id" = 296 + Counter Load (0.000422) SELECT * FROM "counters" WHERE ("counters".owner_id = 170 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000442) SELECT * FROM "counters" WHERE ("counters".owner_id = 170 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002076) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001983) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001647) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000521) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000221) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 171, 0, 'CounterSpec::Content') + Counter Create (0.000150) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 171, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000492) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(171, 'first comment', NULL) + CounterSpec::Content Load (0.000254) SELECT * FROM "contents" WHERE ("contents"."id" = 171)  + Counter Load (0.000287) SELECT * FROM "counters" WHERE ("counters".owner_id = 171 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000288) UPDATE "counters" SET "count" = 1 WHERE "id" = 298 + Counter Load (0.000339) SELECT * FROM "counters" WHERE ("counters".owner_id = 171 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000410) SELECT * FROM "counters" WHERE ("counters".owner_id = 171 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001829) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001392) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001443) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000611) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000278) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 172, 0, 'CounterSpec::Content') + Counter Create (0.000172) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 172, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000422) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(172, 'first comment', NULL) + CounterSpec::Content Load (0.000302) SELECT * FROM "contents" WHERE ("contents"."id" = 172)  + Counter Load (0.000318) SELECT * FROM "counters" WHERE ("counters".owner_id = 172 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000231) UPDATE "counters" SET "count" = 1 WHERE "id" = 300 + Counter Load (0.000318) SELECT * FROM "counters" WHERE ("counters".owner_id = 172 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000768)  DELETE FROM "comments" + WHERE "id" = 120 + + Counter Update (0.000196) UPDATE "counters" SET "count" = 0 WHERE "id" = 300 + Counter Load (0.000457) SELECT * FROM "counters" WHERE ("counters".owner_id = 172 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002241) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002027) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000763) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000403) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000185) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 173, 0, 'CounterSpec::Content') + Counter Create (0.000126) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 173, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000435) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(173, 'first comment', NULL) + CounterSpec::Content Load (0.000240) SELECT * FROM "contents" WHERE ("contents"."id" = 173)  + Counter Load (0.000312) SELECT * FROM "counters" WHERE ("counters".owner_id = 173 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000197) UPDATE "counters" SET "count" = 1 WHERE "id" = 302 + Counter Load (0.000316) SELECT * FROM "counters" WHERE ("counters".owner_id = 173 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000432) SELECT * FROM "counters" WHERE ("counters".owner_id = 173 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002623) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002822) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001834) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000435) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000198) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 174, 0, 'CounterSpec::Content') + Counter Create (0.000144) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 174, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000492) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(174, 'first comment', 1) + CounterSpec::Content Load (0.000244) SELECT * FROM "contents" WHERE ("contents"."id" = 174)  + Counter Load (0.000312) SELECT * FROM "counters" WHERE ("counters".owner_id = 174 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000419) UPDATE "counters" SET "count" = 1 WHERE "id" = 304 + Counter Load (0.000370) SELECT * FROM "counters" WHERE ("counters".owner_id = 174 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000117) UPDATE "counters" SET "count" = 1 WHERE "id" = 305 + Counter Update (0.000093) UPDATE "counters" SET "count" = 2 WHERE "id" = 305 + Counter Load (0.000532) SELECT * FROM "counters" WHERE ("counters".owner_id = 174 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001997) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001842) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001929) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000468) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000200) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 175, 0, 'CounterSpec::Content') + Counter Create (0.000115) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 175, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.001387) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(175, 'first comment', 1) + CounterSpec::Content Load (0.000308) SELECT * FROM "contents" WHERE ("contents"."id" = 175)  + Counter Load (0.000451) SELECT * FROM "counters" WHERE ("counters".owner_id = 175 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.001745) UPDATE "counters" SET "count" = 1 WHERE "id" = 306 + Counter Load (0.000377) SELECT * FROM "counters" WHERE ("counters".owner_id = 175 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000347) UPDATE "counters" SET "count" = 1 WHERE "id" = 307 + Counter Update (0.000183) UPDATE "counters" SET "count" = 2 WHERE "id" = 307 + CounterSpec::Comment Destroy (0.000556)  DELETE FROM "comments" + WHERE "id" = 123 + + Counter Update (0.000185) UPDATE "counters" SET "count" = 0 WHERE "id" = 306 + Counter Update (0.000181) UPDATE "counters" SET "count" = 1 WHERE "id" = 307 + Counter Load (0.000683) SELECT * FROM "counters" WHERE ("counters".owner_id = 175 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000976)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000494)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000522)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002268) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001823) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000757) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000463) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000286) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 176, 0, 'CounterSpec::Content') + Counter Create (0.000228) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 176, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000469) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(176, 'first comment', NULL) + CounterSpec::Content Load (0.000247) SELECT * FROM "contents" WHERE ("contents"."id" = 176)  + Counter Load (0.000373) SELECT * FROM "counters" WHERE ("counters".owner_id = 176 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000269) UPDATE "counters" SET "count" = 1 WHERE "id" = 308 + Counter Load (0.000368) SELECT * FROM "counters" WHERE ("counters".owner_id = 176 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000468) SELECT * FROM "counters" WHERE ("counters".owner_id = 176 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001875) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001536) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001980) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000508) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000222) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 177, 0, 'CounterSpec::Content') + Counter Create (0.000114) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 177, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000445) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(177, 'first comment', NULL) + CounterSpec::Content Load (0.000242) SELECT * FROM "contents" WHERE ("contents"."id" = 177)  + Counter Load (0.000272) SELECT * FROM "counters" WHERE ("counters".owner_id = 177 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000199) UPDATE "counters" SET "count" = 1 WHERE "id" = 310 + Counter Load (0.000294) SELECT * FROM "counters" WHERE ("counters".owner_id = 177 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000384) SELECT * FROM "counters" WHERE ("counters".owner_id = 177 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002249) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001737) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001773) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000405) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000201) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 178, 0, 'CounterSpec::Content') + Counter Create (0.000326) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 178, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000449) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(178, 'first comment', NULL) + CounterSpec::Content Load (0.000251) SELECT * FROM "contents" WHERE ("contents"."id" = 178)  + Counter Load (0.000348) SELECT * FROM "counters" WHERE ("counters".owner_id = 178 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000237) UPDATE "counters" SET "count" = 1 WHERE "id" = 312 + Counter Load (0.000341) SELECT * FROM "counters" WHERE ("counters".owner_id = 178 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000450)  DELETE FROM "comments" + WHERE "id" = 126 + + Counter Update (0.000233) UPDATE "counters" SET "count" = 0 WHERE "id" = 312 + Counter Load (0.000400) SELECT * FROM "counters" WHERE ("counters".owner_id = 178 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002207) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001885) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000729) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000422) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000224) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 179, 0, 'CounterSpec::Content') + Counter Create (0.000128) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 179, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000488) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(179, 'first comment', NULL) + CounterSpec::Content Load (0.000255) SELECT * FROM "contents" WHERE ("contents"."id" = 179)  + Counter Load (0.000280) SELECT * FROM "counters" WHERE ("counters".owner_id = 179 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000182) UPDATE "counters" SET "count" = 1 WHERE "id" = 314 + Counter Load (0.000286) SELECT * FROM "counters" WHERE ("counters".owner_id = 179 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000471) SELECT * FROM "counters" WHERE ("counters".owner_id = 179 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002232) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001981) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001790) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000455) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000289) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 180, 0, 'CounterSpec::Content') + Counter Create (0.000130) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 180, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000490) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(180, 'first comment', 1) + CounterSpec::Content Load (0.000243) SELECT * FROM "contents" WHERE ("contents"."id" = 180)  + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 180 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000201) UPDATE "counters" SET "count" = 1 WHERE "id" = 316 + Counter Load (0.000284) SELECT * FROM "counters" WHERE ("counters".owner_id = 180 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000117) UPDATE "counters" SET "count" = 1 WHERE "id" = 317 + Counter Load (0.000540) SELECT * FROM "counters" WHERE ("counters".owner_id = 180 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002035) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001949) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001645) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000473) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000263) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 181, 0, 'CounterSpec::Content') + Counter Create (0.000180) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 181, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000411) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(181, 'first comment', 1) + CounterSpec::Content Load (0.000243) SELECT * FROM "contents" WHERE ("contents"."id" = 181)  + Counter Load (0.000280) SELECT * FROM "counters" WHERE ("counters".owner_id = 181 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000195) UPDATE "counters" SET "count" = 1 WHERE "id" = 318 + Counter Load (0.000319) SELECT * FROM "counters" WHERE ("counters".owner_id = 181 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000123) UPDATE "counters" SET "count" = 1 WHERE "id" = 319 + CounterSpec::Comment Destroy (0.000316)  DELETE FROM "comments" + WHERE "id" = 129 + + Counter Update (0.000168) UPDATE "counters" SET "count" = 0 WHERE "id" = 318 + Counter Update (0.000101) UPDATE "counters" SET "count" = 0 WHERE "id" = 319 + Counter Load (0.000441) SELECT * FROM "counters" WHERE ("counters".owner_id = 181 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.001197)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000444)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000515)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.004026) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001916) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000789) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000914) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000282) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 182, 0, 'CounterSpec::Content') + Counter Create (0.000133) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 182, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000465) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(182, 'first comment', NULL) + CounterSpec::Content Load (0.000237) SELECT * FROM "contents" WHERE ("contents"."id" = 182)  + Counter Load (0.000356) SELECT * FROM "counters" WHERE ("counters".owner_id = 182 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000201) UPDATE "counters" SET "count" = 1 WHERE "id" = 320 + Counter Load (0.000332) SELECT * FROM "counters" WHERE ("counters".owner_id = 182 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000413) SELECT * FROM "counters" WHERE ("counters".owner_id = 182 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002061) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001783) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001768) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000385) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000240) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 183, 0, 'CounterSpec::Content') + Counter Create (0.000107) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 183, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000419) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(183, 'first comment', NULL) + CounterSpec::Content Load (0.000233) SELECT * FROM "contents" WHERE ("contents"."id" = 183)  + Counter Load (0.000274) SELECT * FROM "counters" WHERE ("counters".owner_id = 183 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000240) UPDATE "counters" SET "count" = 1 WHERE "id" = 322 + Counter Load (0.000368) SELECT * FROM "counters" WHERE ("counters".owner_id = 183 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000387) SELECT * FROM "counters" WHERE ("counters".owner_id = 183 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002199) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001856) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001817) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000464) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000262) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 184, 0, 'CounterSpec::Content') + Counter Create (0.000174) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 184, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000601) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(184, 'first comment', NULL) + CounterSpec::Content Load (0.000268) SELECT * FROM "contents" WHERE ("contents"."id" = 184)  + Counter Load (0.000273) SELECT * FROM "counters" WHERE ("counters".owner_id = 184 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000178) UPDATE "counters" SET "count" = 1 WHERE "id" = 324 + Counter Load (0.000266) SELECT * FROM "counters" WHERE ("counters".owner_id = 184 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000364)  DELETE FROM "comments" + WHERE "id" = 132 + + Counter Update (0.000166) UPDATE "counters" SET "count" = 0 WHERE "id" = 324 + Counter Load (0.000485) SELECT * FROM "counters" WHERE ("counters".owner_id = 184 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002212) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001908) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000804) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000442) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000170) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 185, 0, 'CounterSpec::Content') + Counter Create (0.000104) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 185, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000446) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(185, 'first comment', NULL) + CounterSpec::Content Load (0.000249) SELECT * FROM "contents" WHERE ("contents"."id" = 185)  + Counter Load (0.000277) SELECT * FROM "counters" WHERE ("counters".owner_id = 185 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000198) UPDATE "counters" SET "count" = 1 WHERE "id" = 326 + Counter Load (0.000353) SELECT * FROM "counters" WHERE ("counters".owner_id = 185 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000417) SELECT * FROM "counters" WHERE ("counters".owner_id = 185 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002356) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001981) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001909) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000451) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000200) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 186, 0, 'CounterSpec::Content') + Counter Create (0.000155) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 186, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000441) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(186, 'first comment', 1) + CounterSpec::Content Load (0.000310) SELECT * FROM "contents" WHERE ("contents"."id" = 186)  + Counter Load (0.000276) SELECT * FROM "counters" WHERE ("counters".owner_id = 186 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000220) UPDATE "counters" SET "count" = 1 WHERE "id" = 328 + Counter Load (0.000303) SELECT * FROM "counters" WHERE ("counters".owner_id = 186 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000163) UPDATE "counters" SET "count" = 1 WHERE "id" = 329 + Counter Load (0.000468) SELECT * FROM "counters" WHERE ("counters".owner_id = 186 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002323) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002100) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002145) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000396) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000164) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 187, 0, 'CounterSpec::Content') + Counter Create (0.000163) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 187, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000402) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(187, 'first comment', 1) + CounterSpec::Content Load (0.000227) SELECT * FROM "contents" WHERE ("contents"."id" = 187)  + Counter Load (0.000272) SELECT * FROM "counters" WHERE ("counters".owner_id = 187 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000186) UPDATE "counters" SET "count" = 1 WHERE "id" = 330 + Counter Load (0.000278) SELECT * FROM "counters" WHERE ("counters".owner_id = 187 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000127) UPDATE "counters" SET "count" = 1 WHERE "id" = 331 + CounterSpec::Comment Destroy (0.000488)  DELETE FROM "comments" + WHERE "id" = 135 + + Counter Update (0.000145) UPDATE "counters" SET "count" = 0 WHERE "id" = 330 + Counter Update (0.000142) UPDATE "counters" SET "count" = 0 WHERE "id" = 331 + Counter Load (0.000428) SELECT * FROM "counters" WHERE ("counters".owner_id = 187 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000966)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000525)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000535)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.099168) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.003708) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001359) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000659) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000241) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 188, 0, 'CounterSpec::Content') + Counter Create (0.000120) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 188, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000483) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(188, 'first comment', NULL) + CounterSpec::Content Load (0.000247) SELECT * FROM "contents" WHERE ("contents"."id" = 188)  + Counter Load (0.000413) SELECT * FROM "counters" WHERE ("counters".owner_id = 188 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000236) UPDATE "counters" SET "count" = 1 WHERE "id" = 332 + Counter Load (0.000333) SELECT * FROM "counters" WHERE ("counters".owner_id = 188 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000428) SELECT * FROM "counters" WHERE ("counters".owner_id = 188 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002846) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002320) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002532) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000414) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000197) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 189, 0, 'CounterSpec::Content') + Counter Create (0.000115) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 189, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000507) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(189, 'first comment', NULL) + CounterSpec::Content Load (0.000291) SELECT * FROM "contents" WHERE ("contents"."id" = 189)  + Counter Load (0.000286) SELECT * FROM "counters" WHERE ("counters".owner_id = 189 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000198) UPDATE "counters" SET "count" = 1 WHERE "id" = 334 + Counter Load (0.000362) SELECT * FROM "counters" WHERE ("counters".owner_id = 189 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000395) SELECT * FROM "counters" WHERE ("counters".owner_id = 189 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002520) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002287) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002521) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000479) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000199) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 190, 0, 'CounterSpec::Content') + Counter Create (0.000140) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 190, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000406) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(190, 'first comment', NULL) + CounterSpec::Content Load (0.000235) SELECT * FROM "contents" WHERE ("contents"."id" = 190)  + Counter Load (0.000380) SELECT * FROM "counters" WHERE ("counters".owner_id = 190 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000274) UPDATE "counters" SET "count" = 1 WHERE "id" = 336 + Counter Load (0.000413) SELECT * FROM "counters" WHERE ("counters".owner_id = 190 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000353)  DELETE FROM "comments" + WHERE "id" = 138 + + Counter Update (0.000165) UPDATE "counters" SET "count" = 0 WHERE "id" = 336 + Counter Load (0.000470) SELECT * FROM "counters" WHERE ("counters".owner_id = 190 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002583) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002414) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001038) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000379) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000175) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 191, 0, 'CounterSpec::Content') + Counter Create (0.000147) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 191, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000413) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(191, 'first comment', NULL) + CounterSpec::Content Load (0.000234) SELECT * FROM "contents" WHERE ("contents"."id" = 191)  + Counter Load (0.000472) SELECT * FROM "counters" WHERE ("counters".owner_id = 191 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000216) UPDATE "counters" SET "count" = 1 WHERE "id" = 338 + Counter Load (0.000298) SELECT * FROM "counters" WHERE ("counters".owner_id = 191 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000516) SELECT * FROM "counters" WHERE ("counters".owner_id = 191 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002473) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002012) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002636) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000396) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000225) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 192, 0, 'CounterSpec::Content') + Counter Create (0.000125) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 192, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000480) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(192, 'first comment', 1) + CounterSpec::Content Load (0.000245) SELECT * FROM "contents" WHERE ("contents"."id" = 192)  + Counter Load (0.000300) SELECT * FROM "counters" WHERE ("counters".owner_id = 192 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000224) UPDATE "counters" SET "count" = 1 WHERE "id" = 340 + Counter Load (0.000297) SELECT * FROM "counters" WHERE ("counters".owner_id = 192 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000123) UPDATE "counters" SET "count" = 1 WHERE "id" = 341 + Counter Load (0.000737) SELECT * FROM "counters" WHERE ("counters".owner_id = 192 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002645) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002253) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002427) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000416) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000224) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 193, 0, 'CounterSpec::Content') + Counter Create (0.000109) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 193, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000381) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(193, 'first comment', 1) + CounterSpec::Content Load (0.000239) SELECT * FROM "contents" WHERE ("contents"."id" = 193)  + Counter Load (0.000332) SELECT * FROM "counters" WHERE ("counters".owner_id = 193 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000203) UPDATE "counters" SET "count" = 1 WHERE "id" = 342 + Counter Load (0.000290) SELECT * FROM "counters" WHERE ("counters".owner_id = 193 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000183) UPDATE "counters" SET "count" = 1 WHERE "id" = 343 + CounterSpec::Comment Destroy (0.000336)  DELETE FROM "comments" + WHERE "id" = 141 + + Counter Update (0.000138) UPDATE "counters" SET "count" = 0 WHERE "id" = 342 + Counter Update (0.000106) UPDATE "counters" SET "count" = 0 WHERE "id" = 343 + Counter Load (0.000481) SELECT * FROM "counters" WHERE ("counters".owner_id = 193 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000971)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000514)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000555)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003087) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001695) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000692) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000438) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000268) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 194, 0, 'CounterSpec::Content') + Counter Create (0.000189) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 194, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000456) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(194, 'first comment', NULL) + CounterSpec::Content Load (0.000239) SELECT * FROM "contents" WHERE ("contents"."id" = 194)  + Counter Load (0.000356) SELECT * FROM "counters" WHERE ("counters".owner_id = 194 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000319) UPDATE "counters" SET "count" = 1 WHERE "id" = 344 + Counter Load (0.000371) SELECT * FROM "counters" WHERE ("counters".owner_id = 194 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002168) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001772) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000722) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000375) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000283) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 195, 0, 'CounterSpec::Content') + Counter Create (0.000151) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 195, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000387) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(195, 'first comment', NULL) + CounterSpec::Content Load (0.000236) SELECT * FROM "contents" WHERE ("contents"."id" = 195)  + Counter Load (0.000282) SELECT * FROM "counters" WHERE ("counters".owner_id = 195 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000178) UPDATE "counters" SET "count" = 1 WHERE "id" = 346 + Counter Load (0.000290) SELECT * FROM "counters" WHERE ("counters".owner_id = 195 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002014) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001848) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000811) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000379) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000214) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 196, 0, 'CounterSpec::Content') + Counter Create (0.000151) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 196, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000499) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(196, 'first comment', NULL) + CounterSpec::Content Load (0.000334) SELECT * FROM "contents" WHERE ("contents"."id" = 196)  + Counter Load (0.000646) SELECT * FROM "counters" WHERE ("counters".owner_id = 196 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000221) UPDATE "counters" SET "count" = 1 WHERE "id" = 348 + Counter Load (0.000331) SELECT * FROM "counters" WHERE ("counters".owner_id = 196 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002007) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001812) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000788) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000375) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000169) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 197, 0, 'CounterSpec::Content') + Counter Create (0.000112) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 197, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000394) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(197, 'first comment', NULL) + CounterSpec::Content Load (0.000243) SELECT * FROM "contents" WHERE ("contents"."id" = 197)  + Counter Load (0.000329) SELECT * FROM "counters" WHERE ("counters".owner_id = 197 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000226) UPDATE "counters" SET "count" = 1 WHERE "id" = 350 + Counter Load (0.000289) SELECT * FROM "counters" WHERE ("counters".owner_id = 197 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001898) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001889) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000891) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000399) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000287) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 198, 0, 'CounterSpec::Content') + Counter Create (0.000166) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 198, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000444) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(198, 'first comment', 1) + CounterSpec::Content Load (0.000239) SELECT * FROM "contents" WHERE ("contents"."id" = 198)  + Counter Load (0.000296) SELECT * FROM "counters" WHERE ("counters".owner_id = 198 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000186) UPDATE "counters" SET "count" = 1 WHERE "id" = 352 + Counter Load (0.000305) SELECT * FROM "counters" WHERE ("counters".owner_id = 198 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002029) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001840) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000773) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000426) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000267) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 199, 0, 'CounterSpec::Content') + Counter Create (0.000120) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 199, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000430) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(199, 'first comment', 1) + CounterSpec::Content Load (0.000322) SELECT * FROM "contents" WHERE ("contents"."id" = 199)  + Counter Load (0.000370) SELECT * FROM "counters" WHERE ("counters".owner_id = 199 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000184) UPDATE "counters" SET "count" = 1 WHERE "id" = 354 + Counter Load (0.000274) SELECT * FROM "counters" WHERE ("counters".owner_id = 199 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000903)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000439)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000464)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003156) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001626) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000810) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000455) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000256) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 200, 0, 'CounterSpec::Content') + Counter Create (0.000124) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 200, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000445) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(200, 'first comment', NULL) + CounterSpec::Content Load (0.000235) SELECT * FROM "contents" WHERE ("contents"."id" = 200)  + Counter Load (0.000356) SELECT * FROM "counters" WHERE ("counters".owner_id = 200 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000783) UPDATE "counters" SET "count" = 1 WHERE "id" = 356 + Counter Load (0.000359) SELECT * FROM "counters" WHERE ("counters".owner_id = 200 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000524) SELECT * FROM "counters" WHERE ("counters".owner_id = 200 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001489) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001303) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001780) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000390) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000224) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 201, 0, 'CounterSpec::Content') + Counter Create (0.000113) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 201, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000405) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(201, 'first comment', NULL) + CounterSpec::Content Load (0.000241) SELECT * FROM "contents" WHERE ("contents"."id" = 201)  + Counter Load (0.000282) SELECT * FROM "counters" WHERE ("counters".owner_id = 201 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000184) UPDATE "counters" SET "count" = 1 WHERE "id" = 358 + Counter Load (0.000292) SELECT * FROM "counters" WHERE ("counters".owner_id = 201 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000396) SELECT * FROM "counters" WHERE ("counters".owner_id = 201 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001957) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001674) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001865) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000399) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000180) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 202, 0, 'CounterSpec::Content') + Counter Create (0.000107) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 202, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000498) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(202, 'first comment', NULL) + CounterSpec::Content Load (0.000279) SELECT * FROM "contents" WHERE ("contents"."id" = 202)  + Counter Load (0.000300) SELECT * FROM "counters" WHERE ("counters".owner_id = 202 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000186) UPDATE "counters" SET "count" = 1 WHERE "id" = 360 + Counter Load (0.000295) SELECT * FROM "counters" WHERE ("counters".owner_id = 202 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000372)  DELETE FROM "comments" + WHERE "id" = 144 + + Counter Update (0.000209) UPDATE "counters" SET "count" = -1 WHERE "id" = 361 + Counter Update (0.000125) UPDATE "counters" SET "count" = 0 WHERE "id" = 360 + Counter Update (0.000097) UPDATE "counters" SET "count" = -2 WHERE "id" = 361 + Counter Load (0.000443) SELECT * FROM "counters" WHERE ("counters".owner_id = 202 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002129) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001696) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000759) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000385) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000169) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 203, 0, 'CounterSpec::Content') + Counter Create (0.000114) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 203, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000455) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(203, 'first comment', NULL) + CounterSpec::Content Load (0.000256) SELECT * FROM "contents" WHERE ("contents"."id" = 203)  + Counter Load (0.000519) SELECT * FROM "counters" WHERE ("counters".owner_id = 203 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000236) UPDATE "counters" SET "count" = 1 WHERE "id" = 362 + Counter Load (0.000304) SELECT * FROM "counters" WHERE ("counters".owner_id = 203 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000386) SELECT * FROM "counters" WHERE ("counters".owner_id = 203 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001972) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001769) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001771) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000501) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000221) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 204, 0, 'CounterSpec::Content') + Counter Create (0.000184) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 204, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000456) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(204, 'first comment', 1) + CounterSpec::Content Load (0.000243) SELECT * FROM "contents" WHERE ("contents"."id" = 204)  + Counter Load (0.000277) SELECT * FROM "counters" WHERE ("counters".owner_id = 204 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000245) UPDATE "counters" SET "count" = 1 WHERE "id" = 364 + Counter Load (0.000340) SELECT * FROM "counters" WHERE ("counters".owner_id = 204 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000143) UPDATE "counters" SET "count" = 1 WHERE "id" = 365 + Counter Load (0.000449) SELECT * FROM "counters" WHERE ("counters".owner_id = 204 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001921) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001700) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001785) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000370) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000213) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 205, 0, 'CounterSpec::Content') + Counter Create (0.000116) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 205, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000417) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(205, 'first comment', 1) + CounterSpec::Content Load (0.000245) SELECT * FROM "contents" WHERE ("contents"."id" = 205)  + Counter Load (0.000286) SELECT * FROM "counters" WHERE ("counters".owner_id = 205 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000169) UPDATE "counters" SET "count" = 1 WHERE "id" = 366 + Counter Load (0.000269) SELECT * FROM "counters" WHERE ("counters".owner_id = 205 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000116) UPDATE "counters" SET "count" = 1 WHERE "id" = 367 + CounterSpec::Comment Destroy (0.000380)  DELETE FROM "comments" + WHERE "id" = 147 + + Counter Update (0.000182) UPDATE "counters" SET "count" = 0 WHERE "id" = 367 + Counter Update (0.000121) UPDATE "counters" SET "count" = 0 WHERE "id" = 366 + Counter Update (0.000100) UPDATE "counters" SET "count" = -1 WHERE "id" = 367 + Counter Load (0.000450) SELECT * FROM "counters" WHERE ("counters".owner_id = 205 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000893)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000427)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000455)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003301) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002018) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000796) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000514) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000272) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 206, 0, 'CounterSpec::Content') + Counter Create (0.000165) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 206, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000479) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(206, 'first comment', NULL) + CounterSpec::Content Load (0.000232) SELECT * FROM "contents" WHERE ("contents"."id" = 206)  + Counter Load (0.000381) SELECT * FROM "counters" WHERE ("counters".owner_id = 206 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000233) UPDATE "counters" SET "count" = 1 WHERE "id" = 368 + Counter Load (0.000336) SELECT * FROM "counters" WHERE ("counters".owner_id = 206 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000472) SELECT * FROM "counters" WHERE ("counters".owner_id = 206 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002339) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002157) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002275) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000484) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000254) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 207, 0, 'CounterSpec::Content') + Counter Create (0.000127) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 207, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000431) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(207, 'first comment', NULL) + CounterSpec::Content Load (0.000250) SELECT * FROM "contents" WHERE ("contents"."id" = 207)  + Counter Load (0.000295) SELECT * FROM "counters" WHERE ("counters".owner_id = 207 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000232) UPDATE "counters" SET "count" = 1 WHERE "id" = 370 + Counter Load (0.000302) SELECT * FROM "counters" WHERE ("counters".owner_id = 207 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000592) SELECT * FROM "counters" WHERE ("counters".owner_id = 207 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002266) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001848) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001991) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000672) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000274) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 208, 0, 'CounterSpec::Content') + Counter Create (0.000156) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 208, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000501) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(208, 'first comment', NULL) + CounterSpec::Content Load (0.000262) SELECT * FROM "contents" WHERE ("contents"."id" = 208)  + Counter Load (0.000413) SELECT * FROM "counters" WHERE ("counters".owner_id = 208 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000242) UPDATE "counters" SET "count" = 1 WHERE "id" = 372 + Counter Load (0.000378) SELECT * FROM "counters" WHERE ("counters".owner_id = 208 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000412)  DELETE FROM "comments" + WHERE "id" = 150 + + Counter Update (0.000180) UPDATE "counters" SET "count" = 0 WHERE "id" = 372 + Counter Update (0.000102) UPDATE "counters" SET "count" = -1 WHERE "id" = 373 + Counter Load (0.000404) SELECT * FROM "counters" WHERE ("counters".owner_id = 208 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002263) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002121) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000841) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000391) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000185) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 209, 0, 'CounterSpec::Content') + Counter Create (0.000118) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 209, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000402) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(209, 'first comment', NULL) + CounterSpec::Content Load (0.000237) SELECT * FROM "contents" WHERE ("contents"."id" = 209)  + Counter Load (0.000277) SELECT * FROM "counters" WHERE ("counters".owner_id = 209 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000186) UPDATE "counters" SET "count" = 1 WHERE "id" = 374 + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 209 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000584) SELECT * FROM "counters" WHERE ("counters".owner_id = 209 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002438) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002447) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002211) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000417) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000204) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 210, 0, 'CounterSpec::Content') + Counter Create (0.000146) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 210, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000470) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(210, 'first comment', 1) + CounterSpec::Content Load (0.000280) SELECT * FROM "contents" WHERE ("contents"."id" = 210)  + Counter Load (0.000357) SELECT * FROM "counters" WHERE ("counters".owner_id = 210 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000197) UPDATE "counters" SET "count" = 1 WHERE "id" = 376 + Counter Load (0.000275) SELECT * FROM "counters" WHERE ("counters".owner_id = 210 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000119) UPDATE "counters" SET "count" = 1 WHERE "id" = 377 + Counter Load (0.000482) SELECT * FROM "counters" WHERE ("counters".owner_id = 210 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002164) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002171) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002214) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000375) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000168) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 211, 0, 'CounterSpec::Content') + Counter Create (0.000202) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 211, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000462) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(211, 'first comment', 1) + CounterSpec::Content Load (0.000254) SELECT * FROM "contents" WHERE ("contents"."id" = 211)  + Counter Load (0.000300) SELECT * FROM "counters" WHERE ("counters".owner_id = 211 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000185) UPDATE "counters" SET "count" = 1 WHERE "id" = 378 + Counter Load (0.000282) SELECT * FROM "counters" WHERE ("counters".owner_id = 211 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000131) UPDATE "counters" SET "count" = 1 WHERE "id" = 379 + CounterSpec::Comment Destroy (0.000379)  DELETE FROM "comments" + WHERE "id" = 153 + + Counter Update (0.000184) UPDATE "counters" SET "count" = 0 WHERE "id" = 379 + Counter Update (0.000118) UPDATE "counters" SET "count" = 0 WHERE "id" = 378 + Counter Update (0.000106) UPDATE "counters" SET "count" = -1 WHERE "id" = 379 + Counter Load (0.000412) SELECT * FROM "counters" WHERE ("counters".owner_id = 211 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000917)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000441)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000450)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003314) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001820) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000824) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000583) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000257) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 212, 0, 'CounterSpec::Content') + Counter Create (0.000159) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 212, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000467) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(212, 'first comment', NULL) + CounterSpec::Content Load (0.000240) SELECT * FROM "contents" WHERE ("contents"."id" = 212)  + Counter Load (0.000496) SELECT * FROM "counters" WHERE ("counters".owner_id = 212 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000288) UPDATE "counters" SET "count" = 1 WHERE "id" = 380 + Counter Load (0.000349) SELECT * FROM "counters" WHERE ("counters".owner_id = 212 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000436) SELECT * FROM "counters" WHERE ("counters".owner_id = 212 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002214) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001855) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001940) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000444) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000253) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 213, 0, 'CounterSpec::Content') + Counter Create (0.000117) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 213, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000405) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(213, 'first comment', NULL) + CounterSpec::Content Load (0.000249) SELECT * FROM "contents" WHERE ("contents"."id" = 213)  + Counter Load (0.000288) SELECT * FROM "counters" WHERE ("counters".owner_id = 213 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000177) UPDATE "counters" SET "count" = 1 WHERE "id" = 382 + Counter Load (0.000398) SELECT * FROM "counters" WHERE ("counters".owner_id = 213 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000409) SELECT * FROM "counters" WHERE ("counters".owner_id = 213 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002192) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001885) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001851) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000500) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000345) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 214, 0, 'CounterSpec::Content') + Counter Create (0.000205) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 214, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000437) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(214, 'first comment', NULL) + CounterSpec::Content Load (0.000272) SELECT * FROM "contents" WHERE ("contents"."id" = 214)  + Counter Load (0.000358) SELECT * FROM "counters" WHERE ("counters".owner_id = 214 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000251) UPDATE "counters" SET "count" = 1 WHERE "id" = 384 + Counter Load (0.000364) SELECT * FROM "counters" WHERE ("counters".owner_id = 214 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000411)  DELETE FROM "comments" + WHERE "id" = 156 + + Counter Update (0.000170) UPDATE "counters" SET "count" = 0 WHERE "id" = 384 + Counter Update (0.000098) UPDATE "counters" SET "count" = -1 WHERE "id" = 385 + Counter Load (0.000399) SELECT * FROM "counters" WHERE ("counters".owner_id = 214 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002136) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001818) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000924) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000367) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000169) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 215, 0, 'CounterSpec::Content') + Counter Create (0.000112) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 215, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000419) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(215, 'first comment', NULL) + CounterSpec::Content Load (0.000243) SELECT * FROM "contents" WHERE ("contents"."id" = 215)  + Counter Load (0.000284) SELECT * FROM "counters" WHERE ("counters".owner_id = 215 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000192) UPDATE "counters" SET "count" = 1 WHERE "id" = 386 + Counter Load (0.000284) SELECT * FROM "counters" WHERE ("counters".owner_id = 215 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000402) SELECT * FROM "counters" WHERE ("counters".owner_id = 215 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002189) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002048) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001732) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000480) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000288) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 216, 0, 'CounterSpec::Content') + Counter Create (0.000235) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 216, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000444) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(216, 'first comment', 1) + CounterSpec::Content Load (0.000282) SELECT * FROM "contents" WHERE ("contents"."id" = 216)  + Counter Load (0.000278) SELECT * FROM "counters" WHERE ("counters".owner_id = 216 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000177) UPDATE "counters" SET "count" = 1 WHERE "id" = 388 + Counter Load (0.000278) SELECT * FROM "counters" WHERE ("counters".owner_id = 216 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000133) UPDATE "counters" SET "count" = 1 WHERE "id" = 389 + Counter Load (0.000458) SELECT * FROM "counters" WHERE ("counters".owner_id = 216 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002149) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001730) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001773) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000390) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000165) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 217, 0, 'CounterSpec::Content') + Counter Create (0.000115) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 217, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000491) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(217, 'first comment', 1) + CounterSpec::Content Load (0.000269) SELECT * FROM "contents" WHERE ("contents"."id" = 217)  + Counter Load (0.000287) SELECT * FROM "counters" WHERE ("counters".owner_id = 217 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000190) UPDATE "counters" SET "count" = 1 WHERE "id" = 390 + Counter Load (0.000283) SELECT * FROM "counters" WHERE ("counters".owner_id = 217 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000128) UPDATE "counters" SET "count" = 1 WHERE "id" = 391 + Counter Load (0.000452) SELECT * FROM "counters" WHERE ("counters".owner_id = 217 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000353)  DELETE FROM "comments" + WHERE "id" = 159 + + Counter Update (0.000137) UPDATE "counters" SET "count" = 0 WHERE "id" = 391 + Counter Update (0.000089) UPDATE "counters" SET "count" = 0 WHERE "id" = 390 + Counter Update (0.000105) UPDATE "counters" SET "count" = -1 WHERE "id" = 391 + SQL (0.000932)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000452)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000592)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003495) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002408) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001089) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000617) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000290) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 218, 0, 'CounterSpec::Content') + Counter Create (0.000139) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 218, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000490) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(218, 'first comment', NULL) + CounterSpec::Content Load (0.000238) SELECT * FROM "contents" WHERE ("contents"."id" = 218)  + Counter Load (0.000356) SELECT * FROM "counters" WHERE ("counters".owner_id = 218 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000218) UPDATE "counters" SET "count" = 1 WHERE "id" = 392 + Counter Load (0.000752) SELECT * FROM "counters" WHERE ("counters".owner_id = 218 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000479) SELECT * FROM "counters" WHERE ("counters".owner_id = 218 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002423) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002079) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002000) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000476) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000229) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 219, 0, 'CounterSpec::Content') + Counter Create (0.000123) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 219, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000445) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(219, 'first comment', NULL) + CounterSpec::Content Load (0.000250) SELECT * FROM "contents" WHERE ("contents"."id" = 219)  + Counter Load (0.000290) SELECT * FROM "counters" WHERE ("counters".owner_id = 219 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000229) UPDATE "counters" SET "count" = 1 WHERE "id" = 394 + Counter Load (0.000307) SELECT * FROM "counters" WHERE ("counters".owner_id = 219 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000444) SELECT * FROM "counters" WHERE ("counters".owner_id = 219 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002292) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002026) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002071) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000820) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000259) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 220, 0, 'CounterSpec::Content') + Counter Create (0.000130) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 220, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000429) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(220, 'first comment', NULL) + CounterSpec::Content Load (0.000249) SELECT * FROM "contents" WHERE ("contents"."id" = 220)  + Counter Load (0.000287) SELECT * FROM "counters" WHERE ("counters".owner_id = 220 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000242) UPDATE "counters" SET "count" = 1 WHERE "id" = 396 + Counter Load (0.000294) SELECT * FROM "counters" WHERE ("counters".owner_id = 220 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000324)  DELETE FROM "comments" + WHERE "id" = 162 + + Counter Update (0.000132) UPDATE "counters" SET "count" = 0 WHERE "id" = 396 + Counter Load (0.000419) SELECT * FROM "counters" WHERE ("counters".owner_id = 220 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002395) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002214) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000900) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000412) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000203) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 221, 0, 'CounterSpec::Content') + Counter Create (0.000225) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 221, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000411) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(221, 'first comment', NULL) + CounterSpec::Content Load (0.000232) SELECT * FROM "contents" WHERE ("contents"."id" = 221)  + Counter Load (0.000269) SELECT * FROM "counters" WHERE ("counters".owner_id = 221 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000175) UPDATE "counters" SET "count" = 1 WHERE "id" = 398 + Counter Load (0.000380) SELECT * FROM "counters" WHERE ("counters".owner_id = 221 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000373) SELECT * FROM "counters" WHERE ("counters".owner_id = 221 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002313) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002013) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001881) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000450) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000184) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 222, 0, 'CounterSpec::Content') + Counter Create (0.000146) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 222, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000519) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(222, 'first comment', 1) + CounterSpec::Content Load (0.000277) SELECT * FROM "contents" WHERE ("contents"."id" = 222)  + Counter Load (0.000305) SELECT * FROM "counters" WHERE ("counters".owner_id = 222 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000189) UPDATE "counters" SET "count" = 1 WHERE "id" = 400 + Counter Load (0.000308) SELECT * FROM "counters" WHERE ("counters".owner_id = 222 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000125) UPDATE "counters" SET "count" = 1 WHERE "id" = 401 + Counter Load (0.000467) SELECT * FROM "counters" WHERE ("counters".owner_id = 222 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002614) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002378) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002843) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000525) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000227) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 223, 0, 'CounterSpec::Content') + Counter Create (0.000118) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 223, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000421) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(223, 'first comment', 1) + CounterSpec::Content Load (0.000379) SELECT * FROM "contents" WHERE ("contents"."id" = 223)  + Counter Load (0.000308) SELECT * FROM "counters" WHERE ("counters".owner_id = 223 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000194) UPDATE "counters" SET "count" = 1 WHERE "id" = 402 + Counter Load (0.000279) SELECT * FROM "counters" WHERE ("counters".owner_id = 223 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000118) UPDATE "counters" SET "count" = 1 WHERE "id" = 403 + Counter Load (0.000413) SELECT * FROM "counters" WHERE ("counters".owner_id = 223 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000327)  DELETE FROM "comments" + WHERE "id" = 165 + + Counter Update (0.000144) UPDATE "counters" SET "count" = 0 WHERE "id" = 403 + Counter Update (0.000154) UPDATE "counters" SET "count" = 0 WHERE "id" = 402 + SQL (0.001088)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000482)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000442)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002623) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001928) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000830) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000443) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000269) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 224, 0, 'CounterSpec::Content') + Counter Create (0.000132) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 224, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000479) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(224, 'first comment', NULL) + CounterSpec::Content Load (0.000266) SELECT * FROM "contents" WHERE ("contents"."id" = 224)  + Counter Load (0.000369) SELECT * FROM "counters" WHERE ("counters".owner_id = 224 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000234) UPDATE "counters" SET "count" = 1 WHERE "id" = 404 + Counter Load (0.000408) SELECT * FROM "counters" WHERE ("counters".owner_id = 224 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000446) SELECT * FROM "counters" WHERE ("counters".owner_id = 224 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002061) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001873) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001480) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000446) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000261) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 225, 0, 'CounterSpec::Content') + Counter Create (0.000144) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 225, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000401) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(225, 'first comment', NULL) + CounterSpec::Content Load (0.000261) SELECT * FROM "contents" WHERE ("contents"."id" = 225)  + Counter Load (0.000284) SELECT * FROM "counters" WHERE ("counters".owner_id = 225 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000179) UPDATE "counters" SET "count" = 1 WHERE "id" = 406 + Counter Load (0.000309) SELECT * FROM "counters" WHERE ("counters".owner_id = 225 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000380) SELECT * FROM "counters" WHERE ("counters".owner_id = 225 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002445) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001911) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001900) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000388) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000211) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 226, 0, 'CounterSpec::Content') + Counter Create (0.000154) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 226, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000438) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(226, 'first comment', NULL) + CounterSpec::Content Load (0.000246) SELECT * FROM "contents" WHERE ("contents"."id" = 226)  + Counter Load (0.000280) SELECT * FROM "counters" WHERE ("counters".owner_id = 226 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000186) UPDATE "counters" SET "count" = 1 WHERE "id" = 408 + Counter Load (0.000325) SELECT * FROM "counters" WHERE ("counters".owner_id = 226 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000367)  DELETE FROM "comments" + WHERE "id" = 168 + + Counter Update (0.000170) UPDATE "counters" SET "count" = 0 WHERE "id" = 408 + Counter Load (0.000425) SELECT * FROM "counters" WHERE ("counters".owner_id = 226 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002197) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002275) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000870) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000454) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000183) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 227, 0, 'CounterSpec::Content') + Counter Create (0.000104) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 227, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000442) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(227, 'first comment', NULL) + CounterSpec::Content Load (0.000250) SELECT * FROM "contents" WHERE ("contents"."id" = 227)  + Counter Load (0.000290) SELECT * FROM "counters" WHERE ("counters".owner_id = 227 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000183) UPDATE "counters" SET "count" = 1 WHERE "id" = 410 + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 227 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000472) SELECT * FROM "counters" WHERE ("counters".owner_id = 227 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002130) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001883) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001908) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000471) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000199) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 228, 0, 'CounterSpec::Content') + Counter Create (0.000114) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 228, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000516) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(228, 'first comment', 1) + CounterSpec::Content Load (0.000283) SELECT * FROM "contents" WHERE ("contents"."id" = 228)  + Counter Load (0.000308) SELECT * FROM "counters" WHERE ("counters".owner_id = 228 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000214) UPDATE "counters" SET "count" = 1 WHERE "id" = 412 + Counter Load (0.000294) SELECT * FROM "counters" WHERE ("counters".owner_id = 228 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000118) UPDATE "counters" SET "count" = 1 WHERE "id" = 413 + Counter Load (0.000452) SELECT * FROM "counters" WHERE ("counters".owner_id = 228 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002059) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001913) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001894) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000382) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000224) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 229, 0, 'CounterSpec::Content') + Counter Create (0.000109) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 229, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000405) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(229, 'first comment', 1) + CounterSpec::Content Load (0.000241) SELECT * FROM "contents" WHERE ("contents"."id" = 229)  + Counter Load (0.000292) SELECT * FROM "counters" WHERE ("counters".owner_id = 229 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000179) UPDATE "counters" SET "count" = 1 WHERE "id" = 414 + Counter Load (0.000275) SELECT * FROM "counters" WHERE ("counters".owner_id = 229 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000128) UPDATE "counters" SET "count" = 1 WHERE "id" = 415 + Counter Load (0.000377) SELECT * FROM "counters" WHERE ("counters".owner_id = 229 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000377)  DELETE FROM "comments" + WHERE "id" = 171 + + Counter Update (0.000154) UPDATE "counters" SET "count" = 0 WHERE "id" = 415 + Counter Update (0.000095) UPDATE "counters" SET "count" = 0 WHERE "id" = 414 + SQL (0.000893)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000419)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000436)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002702) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001561) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000805) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000439) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000288) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 230, 0, 'CounterSpec::Content') + Counter Create (0.000163) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 230, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000478) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(230, 'first comment', NULL) + CounterSpec::Content Load (0.000239) SELECT * FROM "contents" WHERE ("contents"."id" = 230)  + Counter Load (0.000373) SELECT * FROM "counters" WHERE ("counters".owner_id = 230 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000240) UPDATE "counters" SET "count" = 1 WHERE "id" = 416 + Counter Load (0.000337) SELECT * FROM "counters" WHERE ("counters".owner_id = 230 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000452) SELECT * FROM "counters" WHERE ("counters".owner_id = 230 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001975) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001686) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001814) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000369) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000218) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 231, 0, 'CounterSpec::Content') + Counter Create (0.000119) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 231, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000383) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(231, 'first comment', NULL) + CounterSpec::Content Load (0.000233) SELECT * FROM "contents" WHERE ("contents"."id" = 231)  + Counter Load (0.000292) SELECT * FROM "counters" WHERE ("counters".owner_id = 231 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000183) UPDATE "counters" SET "count" = 1 WHERE "id" = 418 + Counter Load (0.000297) SELECT * FROM "counters" WHERE ("counters".owner_id = 231 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000399) SELECT * FROM "counters" WHERE ("counters".owner_id = 231 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002208) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001790) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001777) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000978) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000349) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 232, 0, 'CounterSpec::Content') + Counter Create (0.000149) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 232, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000480) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(232, 'first comment', NULL) + CounterSpec::Content Load (0.000265) SELECT * FROM "contents" WHERE ("contents"."id" = 232)  + Counter Load (0.000310) SELECT * FROM "counters" WHERE ("counters".owner_id = 232 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000224) UPDATE "counters" SET "count" = 1 WHERE "id" = 420 + Counter Load (0.000321) SELECT * FROM "counters" WHERE ("counters".owner_id = 232 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000357)  DELETE FROM "comments" + WHERE "id" = 174 + + Counter Update (0.000210) UPDATE "counters" SET "count" = 0 WHERE "id" = 420 + Counter Load (0.000431) SELECT * FROM "counters" WHERE ("counters".owner_id = 232 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002146) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001849) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000807) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000366) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000173) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 233, 0, 'CounterSpec::Content') + Counter Create (0.000101) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 233, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000442) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(233, 'first comment', NULL) + CounterSpec::Content Load (0.000246) SELECT * FROM "contents" WHERE ("contents"."id" = 233)  + Counter Load (0.000269) SELECT * FROM "counters" WHERE ("counters".owner_id = 233 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000177) UPDATE "counters" SET "count" = 1 WHERE "id" = 422 + Counter Load (0.000274) SELECT * FROM "counters" WHERE ("counters".owner_id = 233 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000746) SELECT * FROM "counters" WHERE ("counters".owner_id = 233 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002095) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001401) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001341) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000471) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000286) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 234, 0, 'CounterSpec::Content') + Counter Create (0.000143) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 234, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000460) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(234, 'first comment', 1) + CounterSpec::Content Load (0.000243) SELECT * FROM "contents" WHERE ("contents"."id" = 234)  + Counter Load (0.000333) SELECT * FROM "counters" WHERE ("counters".owner_id = 234 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000214) UPDATE "counters" SET "count" = 1 WHERE "id" = 424 + Counter Load (0.000302) SELECT * FROM "counters" WHERE ("counters".owner_id = 234 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000180) UPDATE "counters" SET "count" = 1 WHERE "id" = 425 + Counter Load (0.000403) SELECT * FROM "counters" WHERE ("counters".owner_id = 234 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001969) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001652) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001829) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000350) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000209) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 235, 0, 'CounterSpec::Content') + Counter Create (0.000104) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 235, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000490) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(235, 'first comment', 1) + CounterSpec::Content Load (0.000308) SELECT * FROM "contents" WHERE ("contents"."id" = 235)  + Counter Load (0.000307) SELECT * FROM "counters" WHERE ("counters".owner_id = 235 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000185) UPDATE "counters" SET "count" = 1 WHERE "id" = 426 + Counter Load (0.000573) SELECT * FROM "counters" WHERE ("counters".owner_id = 235 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000183) UPDATE "counters" SET "count" = 1 WHERE "id" = 427 + Counter Load (0.000489) SELECT * FROM "counters" WHERE ("counters".owner_id = 235 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000378)  DELETE FROM "comments" + WHERE "id" = 177 + + Counter Update (0.000600) UPDATE "counters" SET "count" = 0 WHERE "id" = 427 + Counter Update (0.000115) UPDATE "counters" SET "count" = 0 WHERE "id" = 426 + SQL (0.000891)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000423)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000432)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003151) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002030) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000790) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000635) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000332) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 236, 0, 'CounterSpec::Content') + Counter Create (0.000174) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 236, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000475) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(236, 'first comment', NULL) + CounterSpec::Content Load (0.000307) SELECT * FROM "contents" WHERE ("contents"."id" = 236)  + Counter Load (0.000363) SELECT * FROM "counters" WHERE ("counters".owner_id = 236 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000239) UPDATE "counters" SET "count" = 1 WHERE "id" = 428 + Counter Load (0.000337) SELECT * FROM "counters" WHERE ("counters".owner_id = 236 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000518) SELECT * FROM "counters" WHERE ("counters".owner_id = 236 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002121) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002181) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002142) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000429) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000192) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 237, 0, 'CounterSpec::Content') + Counter Create (0.000105) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 237, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000440) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(237, 'first comment', NULL) + CounterSpec::Content Load (0.000248) SELECT * FROM "contents" WHERE ("contents"."id" = 237)  + Counter Load (0.000289) SELECT * FROM "counters" WHERE ("counters".owner_id = 237 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000219) UPDATE "counters" SET "count" = 1 WHERE "id" = 430 + Counter Load (0.000349) SELECT * FROM "counters" WHERE ("counters".owner_id = 237 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000421) SELECT * FROM "counters" WHERE ("counters".owner_id = 237 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002069) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001828) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.005648) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000527) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000223) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 238, 0, 'CounterSpec::Content') + Counter Create (0.000140) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 238, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000504) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(238, 'first comment', NULL) + CounterSpec::Content Load (0.000296) SELECT * FROM "contents" WHERE ("contents"."id" = 238)  + Counter Load (0.000313) SELECT * FROM "counters" WHERE ("counters".owner_id = 238 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000197) UPDATE "counters" SET "count" = 1 WHERE "id" = 432 + Counter Load (0.000292) SELECT * FROM "counters" WHERE ("counters".owner_id = 238 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000369)  DELETE FROM "comments" + WHERE "id" = 180 + + Counter Update (0.000203) UPDATE "counters" SET "count" = 0 WHERE "id" = 432 + Counter Load (0.000396) SELECT * FROM "counters" WHERE ("counters".owner_id = 238 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002053) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001906) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000867) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000482) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000183) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 239, 0, 'CounterSpec::Content') + Counter Create (0.000110) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 239, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000417) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(239, 'first comment', NULL) + CounterSpec::Content Load (0.000246) SELECT * FROM "contents" WHERE ("contents"."id" = 239)  + Counter Load (0.000328) SELECT * FROM "counters" WHERE ("counters".owner_id = 239 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000185) UPDATE "counters" SET "count" = 1 WHERE "id" = 434 + Counter Load (0.000291) SELECT * FROM "counters" WHERE ("counters".owner_id = 239 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000525) SELECT * FROM "counters" WHERE ("counters".owner_id = 239 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002962) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001777) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002079) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000417) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000213) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 240, 0, 'CounterSpec::Content') + Counter Create (0.000148) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 240, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000425) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(240, 'first comment', 1) + CounterSpec::Content Load (0.000227) SELECT * FROM "contents" WHERE ("contents"."id" = 240)  + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 240 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000188) UPDATE "counters" SET "count" = 1 WHERE "id" = 436 + Counter Load (0.000286) SELECT * FROM "counters" WHERE ("counters".owner_id = 240 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000146) UPDATE "counters" SET "count" = 1 WHERE "id" = 437 + Counter Load (0.000500) SELECT * FROM "counters" WHERE ("counters".owner_id = 240 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002124) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001789) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002047) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000565) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000485) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 241, 0, 'CounterSpec::Content') + Counter Create (0.000142) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 241, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000452) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(241, 'first comment', 1) + CounterSpec::Content Load (0.000256) SELECT * FROM "contents" WHERE ("contents"."id" = 241)  + Counter Load (0.000353) SELECT * FROM "counters" WHERE ("counters".owner_id = 241 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000232) UPDATE "counters" SET "count" = 1 WHERE "id" = 438 + Counter Load (0.000305) SELECT * FROM "counters" WHERE ("counters".owner_id = 241 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000175) UPDATE "counters" SET "count" = 1 WHERE "id" = 439 + Counter Load (0.000469) SELECT * FROM "counters" WHERE ("counters".owner_id = 241 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000364)  DELETE FROM "comments" + WHERE "id" = 183 + + Counter Update (0.000176) UPDATE "counters" SET "count" = 0 WHERE "id" = 439 + Counter Update (0.000099) UPDATE "counters" SET "count" = 0 WHERE "id" = 438 + SQL (0.000989)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000558)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000561)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002000) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001591) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000744) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000513) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000295) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 242, 0, 'CounterSpec::Content') + Counter Create (0.000180) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 242, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.083632) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(242, 'first comment', NULL) + CounterSpec::Content Load (0.000315) SELECT * FROM "contents" WHERE ("contents"."id" = 242)  + Counter Load (0.000422) SELECT * FROM "counters" WHERE ("counters".owner_id = 242 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000248) UPDATE "counters" SET "count" = 1 WHERE "id" = 440 + Counter Load (0.000407) SELECT * FROM "counters" WHERE ("counters".owner_id = 242 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000643) SELECT * FROM "counters" WHERE ("counters".owner_id = 242 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002728) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001764) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001625) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000479) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000257) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 243, 0, 'CounterSpec::Content') + Counter Create (0.000149) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 243, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000474) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(243, 'first comment', NULL) + CounterSpec::Content Load (0.000279) SELECT * FROM "contents" WHERE ("contents"."id" = 243)  + Counter Load (0.000321) SELECT * FROM "counters" WHERE ("counters".owner_id = 243 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000230) UPDATE "counters" SET "count" = 1 WHERE "id" = 442 + Counter Load (0.000324) SELECT * FROM "counters" WHERE ("counters".owner_id = 243 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000546) SELECT * FROM "counters" WHERE ("counters".owner_id = 243 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.006071) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001694) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001805) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000539) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000237) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 244, 0, 'CounterSpec::Content') + Counter Create (0.000151) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 244, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000499) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(244, 'first comment', NULL) + CounterSpec::Content Load (0.000305) SELECT * FROM "contents" WHERE ("contents"."id" = 244)  + Counter Load (0.000329) SELECT * FROM "counters" WHERE ("counters".owner_id = 244 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000256) UPDATE "counters" SET "count" = 1 WHERE "id" = 444 + Counter Load (0.000340) SELECT * FROM "counters" WHERE ("counters".owner_id = 244 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000469)  DELETE FROM "comments" + WHERE "id" = 186 + + Counter Update (0.000224) UPDATE "counters" SET "count" = 0 WHERE "id" = 444 + Counter Load (0.000518) SELECT * FROM "counters" WHERE ("counters".owner_id = 244 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001794) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001829) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000796) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000471) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000236) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 245, 0, 'CounterSpec::Content') + Counter Create (0.000204) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 245, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000603) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(245, 'first comment', NULL) + CounterSpec::Content Load (0.000388) SELECT * FROM "contents" WHERE ("contents"."id" = 245)  + Counter Load (0.000343) SELECT * FROM "counters" WHERE ("counters".owner_id = 245 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000232) UPDATE "counters" SET "count" = 1 WHERE "id" = 446 + Counter Load (0.000740) SELECT * FROM "counters" WHERE ("counters".owner_id = 245 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000491) SELECT * FROM "counters" WHERE ("counters".owner_id = 245 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.004518) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001620) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001633) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.002516) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000235) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 246, 0, 'CounterSpec::Content') + Counter Create (0.000303) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 246, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000503) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(246, 'first comment', 1) + CounterSpec::Content Load (0.000290) SELECT * FROM "contents" WHERE ("contents"."id" = 246)  + Counter Load (0.000445) SELECT * FROM "counters" WHERE ("counters".owner_id = 246 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000243) UPDATE "counters" SET "count" = 1 WHERE "id" = 448 + Counter Load (0.000391) SELECT * FROM "counters" WHERE ("counters".owner_id = 246 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000184) UPDATE "counters" SET "count" = 1 WHERE "id" = 449 + Counter Load (0.000507) SELECT * FROM "counters" WHERE ("counters".owner_id = 246 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001604) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001620) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001393) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000514) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000240) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 247, 0, 'CounterSpec::Content') + Counter Create (0.000273) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 247, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000517) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(247, 'first comment', 1) + CounterSpec::Content Load (0.000336) SELECT * FROM "contents" WHERE ("contents"."id" = 247)  + Counter Load (0.000342) SELECT * FROM "counters" WHERE ("counters".owner_id = 247 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000342) UPDATE "counters" SET "count" = 1 WHERE "id" = 450 + Counter Load (0.000379) SELECT * FROM "counters" WHERE ("counters".owner_id = 247 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000227) UPDATE "counters" SET "count" = 1 WHERE "id" = 451 + Counter Load (0.000517) SELECT * FROM "counters" WHERE ("counters".owner_id = 247 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000416)  DELETE FROM "comments" + WHERE "id" = 189 + + Counter Update (0.000200) UPDATE "counters" SET "count" = 0 WHERE "id" = 451 + Counter Update (0.000181) UPDATE "counters" SET "count" = 0 WHERE "id" = 450 + SQL (0.001374)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000535)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000549)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.061542) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001501) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000887) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000506) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000280) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 248, 0, 'CounterSpec::Content') + Counter Create (0.000181) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 248, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000450) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(248, 'first comment', NULL) + CounterSpec::Content Load (0.000286) SELECT * FROM "contents" WHERE ("contents"."id" = 248)  + Counter Load (0.000353) SELECT * FROM "counters" WHERE ("counters".owner_id = 248 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000244) UPDATE "counters" SET "count" = 1 WHERE "id" = 452 + Counter Load (0.000366) SELECT * FROM "counters" WHERE ("counters".owner_id = 248 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.005074) SELECT * FROM "counters" WHERE ("counters".owner_id = 248 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001857) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001671) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001501) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000475) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000245) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 249, 0, 'CounterSpec::Content') + Counter Create (0.000165) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 249, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000505) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(249, 'first comment', NULL) + CounterSpec::Content Load (0.000292) SELECT * FROM "contents" WHERE ("contents"."id" = 249)  + Counter Load (0.002782) SELECT * FROM "counters" WHERE ("counters".owner_id = 249 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000350) UPDATE "counters" SET "count" = 1 WHERE "id" = 454 + Counter Load (0.000368) SELECT * FROM "counters" WHERE ("counters".owner_id = 249 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000508) SELECT * FROM "counters" WHERE ("counters".owner_id = 249 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001635) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001652) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001892) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000519) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000242) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 250, 0, 'CounterSpec::Content') + Counter Create (0.000167) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 250, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000497) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(250, 'first comment', NULL) + CounterSpec::Content Load (0.000292) SELECT * FROM "contents" WHERE ("contents"."id" = 250)  + Counter Load (0.000501) SELECT * FROM "counters" WHERE ("counters".owner_id = 250 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000360) UPDATE "counters" SET "count" = 1 WHERE "id" = 456 + Counter Load (0.000388) SELECT * FROM "counters" WHERE ("counters".owner_id = 250 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000413)  DELETE FROM "comments" + WHERE "id" = 192 + + Counter Update (0.000203) UPDATE "counters" SET "count" = 0 WHERE "id" = 456 + Counter Load (0.008907) SELECT * FROM "counters" WHERE ("counters".owner_id = 250 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002294) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001461) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000788) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000455) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000282) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 251, 0, 'CounterSpec::Content') + Counter Create (0.000153) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 251, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000440) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(251, 'first comment', NULL) + CounterSpec::Content Load (0.000235) SELECT * FROM "contents" WHERE ("contents"."id" = 251)  + Counter Load (0.000303) SELECT * FROM "counters" WHERE ("counters".owner_id = 251 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000189) UPDATE "counters" SET "count" = 1 WHERE "id" = 458 + Counter Load (0.000381) SELECT * FROM "counters" WHERE ("counters".owner_id = 251 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000524) SELECT * FROM "counters" WHERE ("counters".owner_id = 251 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001599) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001466) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002814) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000482) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000240) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 252, 0, 'CounterSpec::Content') + Counter Create (0.000160) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 252, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000479) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(252, 'first comment', 1) + CounterSpec::Content Load (0.000281) SELECT * FROM "contents" WHERE ("contents"."id" = 252)  + Counter Load (0.000343) SELECT * FROM "counters" WHERE ("counters".owner_id = 252 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000259) UPDATE "counters" SET "count" = 1 WHERE "id" = 460 + Counter Load (0.000364) SELECT * FROM "counters" WHERE ("counters".owner_id = 252 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000176) UPDATE "counters" SET "count" = 1 WHERE "id" = 461 + Counter Load (0.000474) SELECT * FROM "counters" WHERE ("counters".owner_id = 252 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001725) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001488) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001673) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000569) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000271) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 253, 0, 'CounterSpec::Content') + Counter Create (0.000150) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 253, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000557) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(253, 'first comment', 1) + CounterSpec::Content Load (0.000286) SELECT * FROM "contents" WHERE ("contents"."id" = 253)  + Counter Load (0.000343) SELECT * FROM "counters" WHERE ("counters".owner_id = 253 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000299) UPDATE "counters" SET "count" = 1 WHERE "id" = 462 + Counter Load (0.000320) SELECT * FROM "counters" WHERE ("counters".owner_id = 253 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000187) UPDATE "counters" SET "count" = 1 WHERE "id" = 463 + Counter Load (0.000531) SELECT * FROM "counters" WHERE ("counters".owner_id = 253 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000436)  DELETE FROM "comments" + WHERE "id" = 195 + + Counter Update (0.000598) UPDATE "counters" SET "count" = 0 WHERE "id" = 463 + Counter Update (0.000171) UPDATE "counters" SET "count" = 0 WHERE "id" = 462 + SQL (0.000890)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000762)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000637)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.256450) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.756133) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001198) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000567) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.001671) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 254, 0, 'CounterSpec::Content') + Counter Create (0.000195) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 254, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000515) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(254, 'first comment', NULL) + CounterSpec::Content Load (0.000499) SELECT * FROM "contents" WHERE ("contents"."id" = 254)  + Counter Load (0.000403) SELECT * FROM "counters" WHERE ("counters".owner_id = 254 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.185183) UPDATE "counters" SET "count" = 1 WHERE "id" = 464 + Counter Load (0.000403) SELECT * FROM "counters" WHERE ("counters".owner_id = 254 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000443) SELECT * FROM "counters" WHERE ("counters".owner_id = 254 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.300607) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.284430) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.047048) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000541) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000185) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 255, 0, 'CounterSpec::Content') + Counter Create (0.000112) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 255, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000501) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(255, 'first comment', NULL) + CounterSpec::Content Load (0.000255) SELECT * FROM "contents" WHERE ("contents"."id" = 255)  + Counter Load (0.000301) SELECT * FROM "counters" WHERE ("counters".owner_id = 255 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000211) UPDATE "counters" SET "count" = 1 WHERE "id" = 466 + Counter Load (0.000301) SELECT * FROM "counters" WHERE ("counters".owner_id = 255 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000552) SELECT * FROM "counters" WHERE ("counters".owner_id = 255 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.003087) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001793) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001850) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000779) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000314) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 256, 0, 'CounterSpec::Content') + Counter Create (0.000200) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 256, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000601) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(256, 'first comment', NULL) + CounterSpec::Content Load (0.000342) SELECT * FROM "contents" WHERE ("contents"."id" = 256)  + Counter Load (0.000429) SELECT * FROM "counters" WHERE ("counters".owner_id = 256 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000321) UPDATE "counters" SET "count" = 1 WHERE "id" = 468 + Counter Load (0.000411) SELECT * FROM "counters" WHERE ("counters".owner_id = 256 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000399)  DELETE FROM "comments" + WHERE "id" = 198 + + Counter Update (0.000366) UPDATE "counters" SET "count" = 0 WHERE "id" = 468 + Counter Load (0.000480) SELECT * FROM "counters" WHERE ("counters".owner_id = 256 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001903) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001490) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000633) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000392) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000191) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 257, 0, 'CounterSpec::Content') + Counter Create (0.000165) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 257, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000415) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(257, 'first comment', NULL) + CounterSpec::Content Load (0.000245) SELECT * FROM "contents" WHERE ("contents"."id" = 257)  + Counter Load (0.000379) SELECT * FROM "counters" WHERE ("counters".owner_id = 257 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000245) UPDATE "counters" SET "count" = 1 WHERE "id" = 470 + Counter Load (0.000299) SELECT * FROM "counters" WHERE ("counters".owner_id = 257 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000563) SELECT * FROM "counters" WHERE ("counters".owner_id = 257 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001860) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001269) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001947) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000423) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000224) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 258, 0, 'CounterSpec::Content') + Counter Create (0.000119) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 258, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000458) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(258, 'first comment', 1) + CounterSpec::Content Load (0.000250) SELECT * FROM "contents" WHERE ("contents"."id" = 258)  + Counter Load (0.000331) SELECT * FROM "counters" WHERE ("counters".owner_id = 258 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000241) UPDATE "counters" SET "count" = 1 WHERE "id" = 472 + Counter Load (0.000305) SELECT * FROM "counters" WHERE ("counters".owner_id = 258 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000174) UPDATE "counters" SET "count" = 1 WHERE "id" = 473 + Counter Load (0.000492) SELECT * FROM "counters" WHERE ("counters".owner_id = 258 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001946) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.003120) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.006655) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000432) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000185) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 259, 0, 'CounterSpec::Content') + Counter Create (0.000134) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 259, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000495) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(259, 'first comment', 1) + CounterSpec::Content Load (0.000291) SELECT * FROM "contents" WHERE ("contents"."id" = 259)  + Counter Load (0.000380) SELECT * FROM "counters" WHERE ("counters".owner_id = 259 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000210) UPDATE "counters" SET "count" = 1 WHERE "id" = 474 + Counter Load (0.000300) SELECT * FROM "counters" WHERE ("counters".owner_id = 259 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000207) UPDATE "counters" SET "count" = 1 WHERE "id" = 475 + Counter Load (0.000543) SELECT * FROM "counters" WHERE ("counters".owner_id = 259 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000482)  DELETE FROM "comments" + WHERE "id" = 201 + + Counter Update (0.000193) UPDATE "counters" SET "count" = 0 WHERE "id" = 475 + Counter Update (0.000145) UPDATE "counters" SET "count" = 0 WHERE "id" = 474 + SQL (0.000988)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000546)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000543)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.070667) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.021234) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.010425) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000493) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000307) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 260, 0, 'CounterSpec::Content') + Counter Create (0.000177) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 260, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000477) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(260, 'first comment', NULL) + CounterSpec::Content Load (0.000264) SELECT * FROM "contents" WHERE ("contents"."id" = 260)  + Counter Load (0.000368) SELECT * FROM "counters" WHERE ("counters".owner_id = 260 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000231) UPDATE "counters" SET "count" = 1 WHERE "id" = 476 + Counter Load (0.000345) SELECT * FROM "counters" WHERE ("counters".owner_id = 260 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000499) SELECT * FROM "counters" WHERE ("counters".owner_id = 260 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.024001) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.112292) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.019069) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000608) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000218) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 261, 0, 'CounterSpec::Content') + Counter Create (0.000118) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 261, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000421) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(261, 'first comment', NULL) + CounterSpec::Content Load (0.000262) SELECT * FROM "contents" WHERE ("contents"."id" = 261)  + Counter Load (0.000287) SELECT * FROM "counters" WHERE ("counters".owner_id = 261 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000219) UPDATE "counters" SET "count" = 1 WHERE "id" = 478 + Counter Load (0.000335) SELECT * FROM "counters" WHERE ("counters".owner_id = 261 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000791) SELECT * FROM "counters" WHERE ("counters".owner_id = 261 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.015421) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.009981) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.016544) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000441) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000183) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 262, 0, 'CounterSpec::Content') + Counter Create (0.000111) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 262, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000454) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(262, 'first comment', NULL) + CounterSpec::Content Load (0.000255) SELECT * FROM "contents" WHERE ("contents"."id" = 262)  + Counter Load (0.000386) SELECT * FROM "counters" WHERE ("counters".owner_id = 262 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000182) UPDATE "counters" SET "count" = 1 WHERE "id" = 480 + Counter Load (0.000296) SELECT * FROM "counters" WHERE ("counters".owner_id = 262 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000373)  DELETE FROM "comments" + WHERE "id" = 204 + + Counter Update (0.000180) UPDATE "counters" SET "count" = 0 WHERE "id" = 480 + Counter Load (0.000503) SELECT * FROM "counters" WHERE ("counters".owner_id = 262 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.020854) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.015244) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.004417) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000556) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000200) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 263, 0, 'CounterSpec::Content') + Counter Create (0.000121) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 263, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000459) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(263, 'first comment', NULL) + CounterSpec::Content Load (0.000246) SELECT * FROM "contents" WHERE ("contents"."id" = 263)  + Counter Load (0.000334) SELECT * FROM "counters" WHERE ("counters".owner_id = 263 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000249) UPDATE "counters" SET "count" = 1 WHERE "id" = 482 + Counter Load (0.000379) SELECT * FROM "counters" WHERE ("counters".owner_id = 263 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000473) SELECT * FROM "counters" WHERE ("counters".owner_id = 263 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.013023) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.014779) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.013019) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000490) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000235) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 264, 0, 'CounterSpec::Content') + Counter Create (0.000113) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 264, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000466) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(264, 'first comment', 1) + CounterSpec::Content Load (0.000243) SELECT * FROM "contents" WHERE ("contents"."id" = 264)  + Counter Load (0.000273) SELECT * FROM "counters" WHERE ("counters".owner_id = 264 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000193) UPDATE "counters" SET "count" = 1 WHERE "id" = 484 + Counter Load (0.000294) SELECT * FROM "counters" WHERE ("counters".owner_id = 264 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000139) UPDATE "counters" SET "count" = 1 WHERE "id" = 485 + Counter Load (0.000461) SELECT * FROM "counters" WHERE ("counters".owner_id = 264 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.009757) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.036579) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.017564) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000577) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000184) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 265, 0, 'CounterSpec::Content') + Counter Create (0.000111) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 265, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000459) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(265, 'first comment', 1) + CounterSpec::Content Load (0.000243) SELECT * FROM "contents" WHERE ("contents"."id" = 265)  + Counter Load (0.000271) SELECT * FROM "counters" WHERE ("counters".owner_id = 265 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000177) UPDATE "counters" SET "count" = 1 WHERE "id" = 486 + Counter Load (0.000320) SELECT * FROM "counters" WHERE ("counters".owner_id = 265 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000180) UPDATE "counters" SET "count" = 1 WHERE "id" = 487 + Counter Load (0.000503) SELECT * FROM "counters" WHERE ("counters".owner_id = 265 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000427)  DELETE FROM "comments" + WHERE "id" = 207 + + Counter Update (0.000172) UPDATE "counters" SET "count" = 0 WHERE "id" = 487 + Counter Update (0.000116) UPDATE "counters" SET "count" = 0 WHERE "id" = 486 + SQL (0.000878)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000421)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000461)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003055) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001540) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000758) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000456) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000283) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 266, 0, 'CounterSpec::Content') + Counter Create (0.000243) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 266, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000450) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(266, 'first comment', NULL) + CounterSpec::Content Load (0.000230) SELECT * FROM "contents" WHERE ("contents"."id" = 266)  + Counter Load (0.000381) SELECT * FROM "counters" WHERE ("counters".owner_id = 266 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000236) UPDATE "counters" SET "count" = 1 WHERE "id" = 488 + Counter Load (0.000341) SELECT * FROM "counters" WHERE ("counters".owner_id = 266 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000380) SELECT * FROM "counters" WHERE ("counters".owner_id = 266 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000506) SELECT * FROM "counters" WHERE ("counters".owner_id = 266 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001985) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001915) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001948) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000568) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000246) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 267, 0, 'CounterSpec::Content') + Counter Create (0.000135) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 267, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000386) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(267, 'first comment', NULL) + CounterSpec::Content Load (0.000229) SELECT * FROM "contents" WHERE ("contents"."id" = 267)  + Counter Load (0.000275) SELECT * FROM "counters" WHERE ("counters".owner_id = 267 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000217) UPDATE "counters" SET "count" = 1 WHERE "id" = 490 + Counter Load (0.000289) SELECT * FROM "counters" WHERE ("counters".owner_id = 267 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000330) SELECT * FROM "counters" WHERE ("counters".owner_id = 267 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000399) SELECT * FROM "counters" WHERE ("counters".owner_id = 267 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002148) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.003358) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001859) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000505) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000256) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 268, 0, 'CounterSpec::Content') + Counter Create (0.000146) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 268, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000463) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(268, 'first comment', NULL) + CounterSpec::Content Load (0.000260) SELECT * FROM "contents" WHERE ("contents"."id" = 268)  + Counter Load (0.000357) SELECT * FROM "counters" WHERE ("counters".owner_id = 268 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000354) UPDATE "counters" SET "count" = 1 WHERE "id" = 492 + Counter Load (0.000304) SELECT * FROM "counters" WHERE ("counters".owner_id = 268 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000313) SELECT * FROM "counters" WHERE ("counters".owner_id = 268 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000383)  DELETE FROM "comments" + WHERE "id" = 210 + + Counter Load (0.000359) SELECT * FROM "counters" WHERE ("counters".owner_id = 268 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000168) UPDATE "counters" SET "count" = 0 WHERE "id" = 492 + Counter Load (0.000394) SELECT * FROM "counters" WHERE ("counters".owner_id = 268 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002108) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001798) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000676) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000378) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000173) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 269, 0, 'CounterSpec::Content') + Counter Create (0.000116) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 269, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000400) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(269, 'first comment', NULL) + CounterSpec::Content Load (0.000286) SELECT * FROM "contents" WHERE ("contents"."id" = 269)  + Counter Load (0.000279) SELECT * FROM "counters" WHERE ("counters".owner_id = 269 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000172) UPDATE "counters" SET "count" = 1 WHERE "id" = 494 + Counter Load (0.000269) SELECT * FROM "counters" WHERE ("counters".owner_id = 269 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.001015) SELECT * FROM "counters" WHERE ("counters".owner_id = 269 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000521) SELECT * FROM "counters" WHERE ("counters".owner_id = 269 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002064) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001724) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001859) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000391) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000219) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 270, 0, 'CounterSpec::Content') + Counter Create (0.000174) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 270, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000482) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(270, 'first comment', 1) + CounterSpec::Content Load (0.000291) SELECT * FROM "contents" WHERE ("contents"."id" = 270)  + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 270 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000181) UPDATE "counters" SET "count" = 1 WHERE "id" = 496 + Counter Load (0.000292) SELECT * FROM "counters" WHERE ("counters".owner_id = 270 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000135) UPDATE "counters" SET "count" = 1 WHERE "id" = 497 + Counter Load (0.000274) SELECT * FROM "counters" WHERE ("counters".owner_id = 270 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000461) SELECT * FROM "counters" WHERE ("counters".owner_id = 270 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001953) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001583) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001917) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000563) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000241) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 271, 0, 'CounterSpec::Content') + Counter Create (0.000144) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 271, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000462) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(271, 'first comment', 1) + CounterSpec::Content Load (0.000257) SELECT * FROM "contents" WHERE ("contents"."id" = 271)  + Counter Load (0.000331) SELECT * FROM "counters" WHERE ("counters".owner_id = 271 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000271) UPDATE "counters" SET "count" = 1 WHERE "id" = 498 + Counter Load (0.000322) SELECT * FROM "counters" WHERE ("counters".owner_id = 271 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000131) UPDATE "counters" SET "count" = 1 WHERE "id" = 499 + Counter Load (0.000270) SELECT * FROM "counters" WHERE ("counters".owner_id = 271 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000414) SELECT * FROM "counters" WHERE ("counters".owner_id = 271 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000356)  DELETE FROM "comments" + WHERE "id" = 213 + + Counter Update (0.000160) UPDATE "counters" SET "count" = 0 WHERE "id" = 499 + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 271 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000150) UPDATE "counters" SET "count" = 0 WHERE "id" = 498 + SQL (0.000897)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000445)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000442)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003386) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001911) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000840) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000678) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000263) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 272, 0, 'CounterSpec::Content') + Counter Create (0.000117) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 272, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000454) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(272, 'first comment', NULL) + CounterSpec::Content Load (0.000241) SELECT * FROM "contents" WHERE ("contents"."id" = 272)  + Counter Load (0.000405) SELECT * FROM "counters" WHERE ("counters".owner_id = 272 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000263) UPDATE "counters" SET "count" = 1 WHERE "id" = 500 + Counter Load (0.000347) SELECT * FROM "counters" WHERE ("counters".owner_id = 272 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000329) SELECT * FROM "counters" WHERE ("counters".owner_id = 272 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000438) SELECT * FROM "counters" WHERE ("counters".owner_id = 272 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002110) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002044) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002057) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000505) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000214) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 273, 0, 'CounterSpec::Content') + Counter Create (0.000107) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 273, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000460) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(273, 'first comment', NULL) + CounterSpec::Content Load (0.000244) SELECT * FROM "contents" WHERE ("contents"."id" = 273)  + Counter Load (0.000282) SELECT * FROM "counters" WHERE ("counters".owner_id = 273 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000220) UPDATE "counters" SET "count" = 1 WHERE "id" = 502 + Counter Load (0.000311) SELECT * FROM "counters" WHERE ("counters".owner_id = 273 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000316) SELECT * FROM "counters" WHERE ("counters".owner_id = 273 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000585) SELECT * FROM "counters" WHERE ("counters".owner_id = 273 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002244) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001955) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001780) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000453) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000256) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 274, 0, 'CounterSpec::Content') + Counter Create (0.000129) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 274, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000456) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(274, 'first comment', NULL) + CounterSpec::Content Load (0.000286) SELECT * FROM "contents" WHERE ("contents"."id" = 274)  + Counter Load (0.000310) SELECT * FROM "counters" WHERE ("counters".owner_id = 274 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000256) UPDATE "counters" SET "count" = 1 WHERE "id" = 504 + Counter Load (0.000387) SELECT * FROM "counters" WHERE ("counters".owner_id = 274 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000333) SELECT * FROM "counters" WHERE ("counters".owner_id = 274 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000343)  DELETE FROM "comments" + WHERE "id" = 216 + + Counter Load (0.000360) SELECT * FROM "counters" WHERE ("counters".owner_id = 274 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000207) UPDATE "counters" SET "count" = 0 WHERE "id" = 504 + Counter Load (0.000438) SELECT * FROM "counters" WHERE ("counters".owner_id = 274 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002124) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002088) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001731) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000518) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000249) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 275, 0, 'CounterSpec::Content') + Counter Create (0.000134) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 275, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000469) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(275, 'first comment', NULL) + CounterSpec::Content Load (0.000519) SELECT * FROM "contents" WHERE ("contents"."id" = 275)  + Counter Load (0.000323) SELECT * FROM "counters" WHERE ("counters".owner_id = 275 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000222) UPDATE "counters" SET "count" = 1 WHERE "id" = 506 + Counter Load (0.000325) SELECT * FROM "counters" WHERE ("counters".owner_id = 275 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000514) SELECT * FROM "counters" WHERE ("counters".owner_id = 275 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000479) SELECT * FROM "counters" WHERE ("counters".owner_id = 275 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002377) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002058) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001945) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000575) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000196) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 276, 0, 'CounterSpec::Content') + Counter Create (0.000115) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 276, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000413) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(276, 'first comment', 1) + CounterSpec::Content Load (0.000248) SELECT * FROM "contents" WHERE ("contents"."id" = 276)  + Counter Load (0.000294) SELECT * FROM "counters" WHERE ("counters".owner_id = 276 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000240) UPDATE "counters" SET "count" = 1 WHERE "id" = 508 + Counter Load (0.000329) SELECT * FROM "counters" WHERE ("counters".owner_id = 276 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000140) UPDATE "counters" SET "count" = 1 WHERE "id" = 509 + Counter Load (0.000324) SELECT * FROM "counters" WHERE ("counters".owner_id = 276 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000493) SELECT * FROM "counters" WHERE ("counters".owner_id = 276 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002351) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002174) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001862) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000430) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000193) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 277, 0, 'CounterSpec::Content') + Counter Create (0.000166) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 277, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000452) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(277, 'first comment', 1) + CounterSpec::Content Load (0.000242) SELECT * FROM "contents" WHERE ("contents"."id" = 277)  + Counter Load (0.000294) SELECT * FROM "counters" WHERE ("counters".owner_id = 277 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000203) UPDATE "counters" SET "count" = 1 WHERE "id" = 510 + Counter Load (0.000318) SELECT * FROM "counters" WHERE ("counters".owner_id = 277 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000174) UPDATE "counters" SET "count" = 1 WHERE "id" = 511 + Counter Load (0.000297) SELECT * FROM "counters" WHERE ("counters".owner_id = 277 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000448) SELECT * FROM "counters" WHERE ("counters".owner_id = 277 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000332)  DELETE FROM "comments" + WHERE "id" = 219 + + Counter Update (0.000160) UPDATE "counters" SET "count" = 0 WHERE "id" = 511 + Counter Load (0.000296) SELECT * FROM "counters" WHERE ("counters".owner_id = 277 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000134) UPDATE "counters" SET "count" = 0 WHERE "id" = 510 + SQL (0.000897)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000432)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000447)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003356) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002393) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001005) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000544) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000250) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 278, 0, 'CounterSpec::Content') + Counter Create (0.000156) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 278, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000496) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(278, 'first comment', NULL) + CounterSpec::Content Load (0.000240) SELECT * FROM "contents" WHERE ("contents"."id" = 278)  + Counter Load (0.000348) SELECT * FROM "counters" WHERE ("counters".owner_id = 278 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000227) UPDATE "counters" SET "count" = 1 WHERE "id" = 512 + Counter Load (0.000336) SELECT * FROM "counters" WHERE ("counters".owner_id = 278 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000328) SELECT * FROM "counters" WHERE ("counters".owner_id = 278 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000542) SELECT * FROM "counters" WHERE ("counters".owner_id = 278 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002657) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002646) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002390) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000418) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000185) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 279, 0, 'CounterSpec::Content') + Counter Create (0.000105) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 279, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.001165) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(279, 'first comment', NULL) + CounterSpec::Content Load (0.000268) SELECT * FROM "contents" WHERE ("contents"."id" = 279)  + Counter Load (0.000305) SELECT * FROM "counters" WHERE ("counters".owner_id = 279 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000239) UPDATE "counters" SET "count" = 1 WHERE "id" = 514 + Counter Load (0.000373) SELECT * FROM "counters" WHERE ("counters".owner_id = 279 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000512) SELECT * FROM "counters" WHERE ("counters".owner_id = 279 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000461) SELECT * FROM "counters" WHERE ("counters".owner_id = 279 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.007471) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002805) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002218) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000562) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000267) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 280, 0, 'CounterSpec::Content') + Counter Create (0.000155) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 280, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000440) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(280, 'first comment', NULL) + CounterSpec::Content Load (0.000254) SELECT * FROM "contents" WHERE ("contents"."id" = 280)  + Counter Load (0.000324) SELECT * FROM "counters" WHERE ("counters".owner_id = 280 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000215) UPDATE "counters" SET "count" = 1 WHERE "id" = 516 + Counter Load (0.000371) SELECT * FROM "counters" WHERE ("counters".owner_id = 280 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000446) SELECT * FROM "counters" WHERE ("counters".owner_id = 280 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000350)  DELETE FROM "comments" + WHERE "id" = 222 + + Counter Load (0.000411) SELECT * FROM "counters" WHERE ("counters".owner_id = 280 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000228) UPDATE "counters" SET "count" = 0 WHERE "id" = 516 + Counter Load (0.000485) SELECT * FROM "counters" WHERE ("counters".owner_id = 280 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002908) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002383) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000941) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000412) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000166) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 281, 0, 'CounterSpec::Content') + Counter Create (0.001687) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 281, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000525) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(281, 'first comment', NULL) + CounterSpec::Content Load (0.000321) SELECT * FROM "contents" WHERE ("contents"."id" = 281)  + Counter Load (0.000423) SELECT * FROM "counters" WHERE ("counters".owner_id = 281 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000236) UPDATE "counters" SET "count" = 1 WHERE "id" = 518 + Counter Load (0.000319) SELECT * FROM "counters" WHERE ("counters".owner_id = 281 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000415) SELECT * FROM "counters" WHERE ("counters".owner_id = 281 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000496) SELECT * FROM "counters" WHERE ("counters".owner_id = 281 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002720) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002385) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002554) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000406) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000177) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 282, 0, 'CounterSpec::Content') + Counter Create (0.000099) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 282, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000424) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(282, 'first comment', 1) + CounterSpec::Content Load (0.000378) SELECT * FROM "contents" WHERE ("contents"."id" = 282)  + Counter Load (0.000349) SELECT * FROM "counters" WHERE ("counters".owner_id = 282 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000239) UPDATE "counters" SET "count" = 1 WHERE "id" = 520 + Counter Load (0.000293) SELECT * FROM "counters" WHERE ("counters".owner_id = 282 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000142) UPDATE "counters" SET "count" = 1 WHERE "id" = 521 + Counter Load (0.000276) SELECT * FROM "counters" WHERE ("counters".owner_id = 282 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000776) SELECT * FROM "counters" WHERE ("counters".owner_id = 282 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002519) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002190) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002081) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000526) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000259) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 283, 0, 'CounterSpec::Content') + Counter Create (0.000180) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 283, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000786) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(283, 'first comment', 1) + CounterSpec::Content Load (0.000266) SELECT * FROM "contents" WHERE ("contents"."id" = 283)  + Counter Load (0.000278) SELECT * FROM "counters" WHERE ("counters".owner_id = 283 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000265) UPDATE "counters" SET "count" = 1 WHERE "id" = 522 + Counter Load (0.000322) SELECT * FROM "counters" WHERE ("counters".owner_id = 283 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000147) UPDATE "counters" SET "count" = 1 WHERE "id" = 523 + Counter Load (0.000289) SELECT * FROM "counters" WHERE ("counters".owner_id = 283 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000420) SELECT * FROM "counters" WHERE ("counters".owner_id = 283 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000326)  DELETE FROM "comments" + WHERE "id" = 225 + + Counter Update (0.000175) UPDATE "counters" SET "count" = 0 WHERE "id" = 523 + Counter Load (0.000299) SELECT * FROM "counters" WHERE ("counters".owner_id = 283 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000140) UPDATE "counters" SET "count" = 0 WHERE "id" = 522 + SQL (0.000935)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000459)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000449)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003151) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001736) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000769) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000618) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000300) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 284, 0, 'CounterSpec::Content') + Counter Create (0.000170) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 284, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000485) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(284, 'first comment', NULL) + CounterSpec::Content Load (0.000263) SELECT * FROM "contents" WHERE ("contents"."id" = 284)  + Counter Load (0.000407) SELECT * FROM "counters" WHERE ("counters".owner_id = 284 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000393) SELECT * FROM "counters" WHERE ("counters".owner_id = 284 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000504) SELECT * FROM "counters" WHERE ("counters".owner_id = 284 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001994) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001544) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002115) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000468) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000194) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 285, 0, 'CounterSpec::Content') + Counter Create (0.000119) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 285, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000410) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(285, 'first comment', NULL) + CounterSpec::Content Load (0.000254) SELECT * FROM "contents" WHERE ("contents"."id" = 285)  + Counter Load (0.000410) SELECT * FROM "counters" WHERE ("counters".owner_id = 285 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000350) SELECT * FROM "counters" WHERE ("counters".owner_id = 285 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000437) SELECT * FROM "counters" WHERE ("counters".owner_id = 285 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002905) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001302) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002187) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000462) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000224) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 286, 0, 'CounterSpec::Content') + Counter Create (0.000178) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 286, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000417) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(286, 'first comment', NULL) + CounterSpec::Content Load (0.000414) SELECT * FROM "contents" WHERE ("contents"."id" = 286)  + Counter Load (0.000408) SELECT * FROM "counters" WHERE ("counters".owner_id = 286 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000330) SELECT * FROM "counters" WHERE ("counters".owner_id = 286 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000363)  DELETE FROM "comments" + WHERE "id" = 228 + + Counter Load (0.000358) SELECT * FROM "counters" WHERE ("counters".owner_id = 286 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000486) SELECT * FROM "counters" WHERE ("counters".owner_id = 286 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.001707) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001837) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000760) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000398) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000205) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 287, 0, 'CounterSpec::Content') + Counter Create (0.000119) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 287, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000992) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(287, 'first comment', NULL) + CounterSpec::Content Load (0.000357) SELECT * FROM "contents" WHERE ("contents"."id" = 287)  + Counter Load (0.000346) SELECT * FROM "counters" WHERE ("counters".owner_id = 287 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000435) SELECT * FROM "counters" WHERE ("counters".owner_id = 287 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000449) SELECT * FROM "counters" WHERE ("counters".owner_id = 287 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001910) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001859) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001571) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000480) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000226) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 288, 0, 'CounterSpec::Content') + Counter Create (0.000116) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 288, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000395) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(288, 'first comment', 1) + CounterSpec::Content Load (0.000273) SELECT * FROM "contents" WHERE ("contents"."id" = 288)  + Counter Load (0.000336) SELECT * FROM "counters" WHERE ("counters".owner_id = 288 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000243) UPDATE "counters" SET "count" = 1 WHERE "id" = 533 + Counter Load (0.000316) SELECT * FROM "counters" WHERE ("counters".owner_id = 288 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000420) SELECT * FROM "counters" WHERE ("counters".owner_id = 288 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.001837) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001737) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.003583) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000525) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000260) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 289, 0, 'CounterSpec::Content') + Counter Create (0.000189) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 289, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000435) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(289, 'first comment', 1) + CounterSpec::Content Load (0.000267) SELECT * FROM "contents" WHERE ("contents"."id" = 289)  + Counter Load (0.000418) SELECT * FROM "counters" WHERE ("counters".owner_id = 289 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000270) UPDATE "counters" SET "count" = 1 WHERE "id" = 535 + Counter Load (0.000314) SELECT * FROM "counters" WHERE ("counters".owner_id = 289 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000481) SELECT * FROM "counters" WHERE ("counters".owner_id = 289 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000367)  DELETE FROM "comments" + WHERE "id" = 231 + + Counter Update (0.000201) UPDATE "counters" SET "count" = 0 WHERE "id" = 535 + Counter Load (0.000311) SELECT * FROM "counters" WHERE ("counters".owner_id = 289 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000938)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000532)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000476)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003352) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001802) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000778) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000522) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000267) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 290, 0, 'CounterSpec::Content') + Counter Create (0.000171) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 290, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000510) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(290, 'first comment', 1) + CounterSpec::Content Load (0.000296) SELECT * FROM "contents" WHERE ("contents"."id" = 290)  + Counter Load (0.000372) SELECT * FROM "counters" WHERE ("counters".owner_id = 290 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000242) UPDATE "counters" SET "count" = 1 WHERE "id" = 536 + Counter Load (0.000350) SELECT * FROM "counters" WHERE ("counters".owner_id = 290 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000157) UPDATE "counters" SET "count" = 1 WHERE "id" = 537 + Counter Load (0.000296) SELECT * FROM "counters" WHERE ("counters".owner_id = 290 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000448) SELECT * FROM "counters" WHERE ("counters".owner_id = 290 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002258) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001936) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002399) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000454) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000198) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 291, 0, 'CounterSpec::Content') + Counter Create (0.000112) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 291, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000653) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(291, 'first comment', 1) + CounterSpec::Content Load (0.000311) SELECT * FROM "contents" WHERE ("contents"."id" = 291)  + Counter Load (0.000291) SELECT * FROM "counters" WHERE ("counters".owner_id = 291 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000231) UPDATE "counters" SET "count" = 1 WHERE "id" = 538 + Counter Load (0.000315) SELECT * FROM "counters" WHERE ("counters".owner_id = 291 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000149) UPDATE "counters" SET "count" = 1 WHERE "id" = 539 + Counter Load (0.000281) SELECT * FROM "counters" WHERE ("counters".owner_id = 291 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000455) SELECT * FROM "counters" WHERE ("counters".owner_id = 291 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000430)  DELETE FROM "comments" + WHERE "id" = 233 + + Counter Update (0.000259) UPDATE "counters" SET "count" = 0 WHERE "id" = 539 + Counter Load (0.000394) SELECT * FROM "counters" WHERE ("counters".owner_id = 291 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000180) UPDATE "counters" SET "count" = 0 WHERE "id" = 538 + SQL (0.000878)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000419)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000443)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.002986) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001845) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000863) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000551) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000241) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 292, 0, 'CounterSpec::Content') + Counter Create (0.000117) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 292, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000440) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(292, 'first comment', 1) + CounterSpec::Content Load (0.000228) SELECT * FROM "contents" WHERE ("contents"."id" = 292)  + Counter Load (0.000356) SELECT * FROM "counters" WHERE ("counters".owner_id = 292 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000198) UPDATE "counters" SET "count" = 1 WHERE "id" = 540 + Counter Load (0.000353) SELECT * FROM "counters" WHERE ("counters".owner_id = 292 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000147) UPDATE "counters" SET "count" = 1 WHERE "id" = 541 + Counter Load (0.000286) SELECT * FROM "counters" WHERE ("counters".owner_id = 292 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000439) SELECT * FROM "counters" WHERE ("counters".owner_id = 292 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000324)  DELETE FROM "comments" + WHERE "id" = 234 + + Counter Update (0.000181) UPDATE "counters" SET "count" = 0 WHERE "id" = 541 + Counter Load (0.000298) SELECT * FROM "counters" WHERE ("counters".owner_id = 292 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000174) UPDATE "counters" SET "count" = 0 WHERE "id" = 540 + SQL (0.000894)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000442)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000466)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003601) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002319) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001058) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000499) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000233) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 293, 0, 'CounterSpec::Content') + Counter Create (0.000120) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 293, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000468) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(293, 'first comment', 1) + CounterSpec::Content Load (0.000230) SELECT * FROM "contents" WHERE ("contents"."id" = 293)  + Counter Load (0.000350) SELECT * FROM "counters" WHERE ("counters".owner_id = 293 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000197) UPDATE "counters" SET "count" = 1 WHERE "id" = 542 + Counter Load (0.000372) SELECT * FROM "counters" WHERE ("counters".owner_id = 293 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000150) UPDATE "counters" SET "count" = 1 WHERE "id" = 543 + Counter Load (0.000282) SELECT * FROM "counters" WHERE ("counters".owner_id = 293 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000436) SELECT * FROM "counters" WHERE ("counters".owner_id = 293 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000377)  DELETE FROM "comments" + WHERE "id" = 235 + + Counter Update (0.000157) UPDATE "counters" SET "count" = 0 WHERE "id" = 543 + Counter Load (0.000382) SELECT * FROM "counters" WHERE ("counters".owner_id = 293 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000140) UPDATE "counters" SET "count" = 0 WHERE "id" = 542 + Counter Load (0.000605) SELECT * FROM "counters"  + SQL (0.000954)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000425)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000445)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003719) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001822) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000839) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000540) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000295) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 294, 0, 'CounterSpec::Content') + Counter Create (0.000156) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 294, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000499) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(294, 'first comment', 1) + CounterSpec::Content Load (0.000242) SELECT * FROM "contents" WHERE ("contents"."id" = 294)  + Counter Load (0.000360) SELECT * FROM "counters" WHERE ("counters".owner_id = 294 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000192) UPDATE "counters" SET "count" = 1 WHERE "id" = 544 + Counter Load (0.000407) SELECT * FROM "counters" WHERE ("counters".owner_id = 294 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000162) UPDATE "counters" SET "count" = 1 WHERE "id" = 545 + Counter Load (0.000302) SELECT * FROM "counters" WHERE ("counters".owner_id = 294 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000522) SELECT * FROM "counters" WHERE ("counters".owner_id = 294 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000342)  DELETE FROM "comments" + WHERE "id" = 236 + + Counter Update (0.000216) UPDATE "counters" SET "count" = 0 WHERE "id" = 545 + Counter Load (0.000290) SELECT * FROM "counters" WHERE ("counters".owner_id = 294 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000147) UPDATE "counters" SET "count" = 0 WHERE "id" = 544 + Counter Load (0.000527) SELECT * FROM "counters"  + Counter Load (0.000424) SELECT * FROM "counters" WHERE ("counters".owner_id = 294 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.001117)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000460)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000465)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003412) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002505) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001085) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.001051) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000221) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 295, 0, 'CounterSpec::Content') + Counter Create (0.000176) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 295, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000477) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(295, 'first comment', 1) + CounterSpec::Content Load (0.000262) SELECT * FROM "contents" WHERE ("contents"."id" = 295)  + Counter Load (0.000377) SELECT * FROM "counters" WHERE ("counters".owner_id = 295 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000209) UPDATE "counters" SET "count" = 1 WHERE "id" = 546 + Counter Load (0.000360) SELECT * FROM "counters" WHERE ("counters".owner_id = 295 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000189) UPDATE "counters" SET "count" = 1 WHERE "id" = 547 + Counter Load (0.000314) SELECT * FROM "counters" WHERE ("counters".owner_id = 295 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000467) SELECT * FROM "counters" WHERE ("counters".owner_id = 295 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000342)  DELETE FROM "comments" + WHERE "id" = 237 + + Counter Update (0.000192) UPDATE "counters" SET "count" = 0 WHERE "id" = 547 + Counter Load (0.000309) SELECT * FROM "counters" WHERE ("counters".owner_id = 295 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000138) UPDATE "counters" SET "count" = 0 WHERE "id" = 546 + Counter Load (0.000602) SELECT * FROM "counters"  + Counter Load (0.000477) SELECT * FROM "counters" WHERE ("counters".owner_id = 295 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000886)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000449)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000558)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003368) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002066) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000835) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000719) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000267) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 296, 0, 'CounterSpec::Content') + Counter Create (0.000159) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 296, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000530) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(296, 'first comment', 1) + CounterSpec::Content Load (0.000296) SELECT * FROM "contents" WHERE ("contents"."id" = 296)  + Counter Load (0.000359) SELECT * FROM "counters" WHERE ("counters".owner_id = 296 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000207) UPDATE "counters" SET "count" = 1 WHERE "id" = 548 + Counter Load (0.000335) SELECT * FROM "counters" WHERE ("counters".owner_id = 296 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000163) UPDATE "counters" SET "count" = 1 WHERE "id" = 549 + Counter Load (0.000296) SELECT * FROM "counters" WHERE ("counters".owner_id = 296 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000451) SELECT * FROM "counters" WHERE ("counters".owner_id = 296 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000335)  DELETE FROM "comments" + WHERE "id" = 238 + + Counter Update (0.000207) UPDATE "counters" SET "count" = 0 WHERE "id" = 549 + Counter Load (0.000305) SELECT * FROM "counters" WHERE ("counters".owner_id = 296 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000148) UPDATE "counters" SET "count" = 0 WHERE "id" = 548 + CounterSpec::Content Load (0.000309) SELECT * FROM "contents" WHERE ("contents"."id" = 296)  + Counter Load (0.000455) SELECT * FROM "counters" WHERE ("counters".owner_id = 296 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000464) SELECT * FROM "counters"  + Counter Load (0.000366) SELECT * FROM "counters" WHERE ("counters".owner_id = 296 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000895)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000440)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000456)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003498) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001833) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000930) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000645) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000266) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 297, 0, 'CounterSpec::Content') + Counter Create (0.000191) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 297, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000479) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(297, 'first comment', NULL) + CounterSpec::Content Load (0.000235) SELECT * FROM "contents" WHERE ("contents"."id" = 297)  + Counter Load (0.000349) SELECT * FROM "counters" WHERE ("counters".owner_id = 297 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000201) UPDATE "counters" SET "count" = 1 WHERE "id" = 550 + Counter Load (0.000332) SELECT * FROM "counters" WHERE ("counters".owner_id = 297 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000474) SELECT * FROM "counters" WHERE ("counters".owner_id = 297 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002687) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002290) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002513) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000524) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000226) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 298, 0, 'CounterSpec::Content') + Counter Create (0.000148) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 298, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000529) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(298, 'first comment', NULL) + CounterSpec::Content Load (0.000264) SELECT * FROM "contents" WHERE ("contents"."id" = 298)  + Counter Load (0.000318) SELECT * FROM "counters" WHERE ("counters".owner_id = 298 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000208) UPDATE "counters" SET "count" = 1 WHERE "id" = 552 + Counter Load (0.000288) SELECT * FROM "counters" WHERE ("counters".owner_id = 298 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000406) SELECT * FROM "counters" WHERE ("counters".owner_id = 298 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002547) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002310) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002315) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000514) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000235) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 299, 0, 'CounterSpec::Content') + Counter Create (0.000186) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 299, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000431) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(299, 'first comment', NULL) + CounterSpec::Content Load (0.000241) SELECT * FROM "contents" WHERE ("contents"."id" = 299)  + Counter Load (0.000272) SELECT * FROM "counters" WHERE ("counters".owner_id = 299 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000177) UPDATE "counters" SET "count" = 1 WHERE "id" = 554 + Counter Load (0.000293) SELECT * FROM "counters" WHERE ("counters".owner_id = 299 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000381)  DELETE FROM "comments" + WHERE "id" = 241 + + Counter Update (0.000300) UPDATE "counters" SET "count" = 0 WHERE "id" = 554 + Counter Load (0.000439) SELECT * FROM "counters" WHERE ("counters".owner_id = 299 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002912) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002205) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001005) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000381) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000203) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 300, 0, 'CounterSpec::Content') + Counter Create (0.000142) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 300, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000475) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(300, 'first comment', NULL) + CounterSpec::Content Load (0.000259) SELECT * FROM "contents" WHERE ("contents"."id" = 300)  + Counter Load (0.000278) SELECT * FROM "counters" WHERE ("counters".owner_id = 300 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000198) UPDATE "counters" SET "count" = 1 WHERE "id" = 556 + Counter Load (0.000274) SELECT * FROM "counters" WHERE ("counters".owner_id = 300 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000399) SELECT * FROM "counters" WHERE ("counters".owner_id = 300 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002613) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002350) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002735) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000733) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000312) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 301, 0, 'CounterSpec::Content') + Counter Create (0.000191) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 301, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000565) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(301, 'first comment', 1) + CounterSpec::Content Load (0.000411) SELECT * FROM "contents" WHERE ("contents"."id" = 301)  + Counter Load (0.000315) SELECT * FROM "counters" WHERE ("counters".owner_id = 301 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000189) UPDATE "counters" SET "count" = 1 WHERE "id" = 558 + Counter Load (0.000276) SELECT * FROM "counters" WHERE ("counters".owner_id = 301 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000130) UPDATE "counters" SET "count" = 1 WHERE "id" = 559 + Counter Load (0.000421) SELECT * FROM "counters" WHERE ("counters".owner_id = 301 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002306) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002217) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002257) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000444) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000186) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 302, 0, 'CounterSpec::Content') + Counter Create (0.000118) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 302, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000398) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(302, 'first comment', 1) + CounterSpec::Content Load (0.000274) SELECT * FROM "contents" WHERE ("contents"."id" = 302)  + Counter Load (0.000307) SELECT * FROM "counters" WHERE ("counters".owner_id = 302 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000231) UPDATE "counters" SET "count" = 1 WHERE "id" = 560 + Counter Load (0.000299) SELECT * FROM "counters" WHERE ("counters".owner_id = 302 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000131) UPDATE "counters" SET "count" = 1 WHERE "id" = 561 + Counter Load (0.000406) SELECT * FROM "counters" WHERE ("counters".owner_id = 302 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000324)  DELETE FROM "comments" + WHERE "id" = 244 + + Counter Update (0.000141) UPDATE "counters" SET "count" = 0 WHERE "id" = 561 + Counter Update (0.000092) UPDATE "counters" SET "count" = 0 WHERE "id" = 560 + CounterSpec::Content Load (0.000336) SELECT * FROM "contents" WHERE ("contents"."id" = 302)  + Counter Load (0.000364) SELECT * FROM "counters" WHERE ("counters".owner_id = 302 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + SQL (0.000895)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000523)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000512)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + Counter Delete all (0.003363) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002096) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001013) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000543) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000258) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 303, 0, 'CounterSpec::Content') + Counter Create (0.000193) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 303, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000467) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(303, 'first comment', NULL) + CounterSpec::Content Load (0.000234) SELECT * FROM "contents" WHERE ("contents"."id" = 303)  + Counter Load (0.000355) SELECT * FROM "counters" WHERE ("counters".owner_id = 303 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000201) UPDATE "counters" SET "count" = 1 WHERE "id" = 562 + Counter Load (0.000423) SELECT * FROM "counters" WHERE ("counters".owner_id = 303 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000504) SELECT * FROM "counters" WHERE ("counters".owner_id = 303 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002306) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002096) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002250) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000447) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000196) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 304, 0, 'CounterSpec::Content') + Counter Create (0.000115) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 304, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000428) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(304, 'first comment', NULL) + CounterSpec::Content Load (0.000237) SELECT * FROM "contents" WHERE ("contents"."id" = 304)  + Counter Load (0.000277) SELECT * FROM "counters" WHERE ("counters".owner_id = 304 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000253) UPDATE "counters" SET "count" = 1 WHERE "id" = 564 + Counter Load (0.000418) SELECT * FROM "counters" WHERE ("counters".owner_id = 304 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000469) SELECT * FROM "counters" WHERE ("counters".owner_id = 304 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002168) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002019) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002165) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000476) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000283) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 305, 0, 'CounterSpec::Content') + Counter Create (0.000151) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 305, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000477) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(305, 'first comment', NULL) + CounterSpec::Content Load (0.000252) SELECT * FROM "contents" WHERE ("contents"."id" = 305)  + Counter Load (0.000287) SELECT * FROM "counters" WHERE ("counters".owner_id = 305 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000229) UPDATE "counters" SET "count" = 1 WHERE "id" = 566 + Counter Load (0.000314) SELECT * FROM "counters" WHERE ("counters".owner_id = 305 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000354)  DELETE FROM "comments" + WHERE "id" = 247 + + Counter Update (0.000158) UPDATE "counters" SET "count" = 0 WHERE "id" = 566 + Counter Load (0.000459) SELECT * FROM "counters" WHERE ("counters".owner_id = 305 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Delete all (0.002426) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002111) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.000878) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000367) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000221) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 306, 0, 'CounterSpec::Content') + Counter Create (0.000151) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 306, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000472) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(306, 'first comment', NULL) + CounterSpec::Content Load (0.000241) SELECT * FROM "contents" WHERE ("contents"."id" = 306)  + Counter Load (0.000286) SELECT * FROM "counters" WHERE ("counters".owner_id = 306 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000176) UPDATE "counters" SET "count" = 1 WHERE "id" = 568 + Counter Load (0.000277) SELECT * FROM "counters" WHERE ("counters".owner_id = 306 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Load (0.000442) SELECT * FROM "counters" WHERE ("counters".owner_id = 306 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002537) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.001794) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.001895) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000402) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000191) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 307, 0, 'CounterSpec::Content') + Counter Create (0.000153) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 307, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000465) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(307, 'first comment', 1) + CounterSpec::Content Load (0.000240) SELECT * FROM "contents" WHERE ("contents"."id" = 307)  + Counter Load (0.000275) SELECT * FROM "counters" WHERE ("counters".owner_id = 307 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000164) UPDATE "counters" SET "count" = 1 WHERE "id" = 570 + Counter Load (0.000275) SELECT * FROM "counters" WHERE ("counters".owner_id = 307 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000144) UPDATE "counters" SET "count" = 1 WHERE "id" = 571 + Counter Load (0.000499) SELECT * FROM "counters" WHERE ("counters".owner_id = 307 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Delete all (0.002285) DELETE FROM "counters" WHERE 1=1 + CounterSpec::Content Delete all (0.002316) DELETE FROM "contents" WHERE 1=1 + CounterSpec::Comment Delete all (0.002136) DELETE FROM "comments" WHERE 1=1 + CounterSpec::Content Create (0.000368) INSERT INTO "contents" ("title") VALUES('first content') + Counter Create (0.000214) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('comments', 308, 0, 'CounterSpec::Content') + Counter Create (0.000151) INSERT INTO "counters" ("name", "owner_id", "count", "owner_type") VALUES('approved_comments', 308, 0, 'CounterSpec::Content') + CounterSpec::Comment Create (0.000443) INSERT INTO "comments" ("content_id", "text", "approved") VALUES(308, 'first comment', 1) + CounterSpec::Content Load (0.000248) SELECT * FROM "contents" WHERE ("contents"."id" = 308)  + Counter Load (0.000280) SELECT * FROM "counters" WHERE ("counters".owner_id = 308 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'comments')) LIMIT 1 + Counter Update (0.000185) UPDATE "counters" SET "count" = 1 WHERE "id" = 572 + Counter Load (0.000296) SELECT * FROM "counters" WHERE ("counters".owner_id = 308 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + Counter Update (0.000128) UPDATE "counters" SET "count" = 1 WHERE "id" = 573 + Counter Load (0.000458) SELECT * FROM "counters" WHERE ("counters".owner_id = 308 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 + CounterSpec::Comment Destroy (0.000360)  DELETE FROM "comments" + WHERE "id" = 250 + + Counter Update (0.000131) UPDATE "counters" SET "count" = 0 WHERE "id" = 573 + Counter Update (0.000091) UPDATE "counters" SET "count" = 0 WHERE "id" = 572 + CounterSpec::Content Load (0.000367) SELECT * FROM "contents" WHERE ("contents"."id" = 308)  + Counter Load (0.000341) SELECT * FROM "counters" WHERE ("counters".owner_id = 308 AND "counters".owner_type = 'CounterSpec::Content' AND (name = 'approved_comments')) LIMIT 1 diff --git a/vendor/plugins/has_counter/spec/has_counter.sqlite3.db b/vendor/plugins/has_counter/spec/has_counter.sqlite3.db new file mode 100644 index 0000000000000000000000000000000000000000..27c4fab59fa36b52e48fe7f32096dc7ab824fb18 GIT binary patch literal 10240 zcmeI2Pfy!06u|w5v>Q?dJ9U>%R-}nWpcOWHL94V5vZ-2Wp|sLCRUtJHsYyzbGB}Me zzQR7kKF~C2=bd)hVONl**-6^94P_FOCZM*`Bz}I+@%yFkxw5;pSvEXMc5TPhJn{@o z0SLhhLI99Hg5i>2RX89TydMz9ZzXPsFL=Xrc!}!>i69^d{BHvHr4)N4#6JK#L=gl8 zfxAp#_H-G8xn09?J)+x|M=g)XKgOQ{{)T_DiztGCAaDx_WRPx~CJSg6q%a<+ou^<> z4WiwJ%PAC8yR7cGs1VNo7eM?jzlASd3|SDkJ^>8T%+fTohxi<@Lli+k5SSPO5}tue zkk9{Y(N7dXKoFQf0=@Xh-zU&{;j$nwIRqX8GzZ~wZ}~4+EePg+gg*iNm7PQp1O$Pb zNZ`p?ApuZ6$KrR@4%Y6rI#gd-Sq)e5wNA&e4{58}Uj%%7_M97J#u)VV`1~)y697-p zEZRX|aPua*e|N{^r(iOj$w1%qw4FAMc4ge&6|L6PVqGQm;>)s1wQcf7-6q9Gy;`a;yLGivCzUGuG|J@#B726{rZPFy9DQGNviU`Ytf{Yx zjdG|Fs3{vLk)EH2+renugEsqfNYkYUU25rcq>6{eHqw~2G?OkcOXUD3)43eQ;`mbKeiy+BGx&RJYK zpc(5aCXk{>H!7vghRW!!sc(rq&Rizd3b}fGivLJrBPl??8hGDnclQh{K9X_r#1M;d zT4b8^OEyyC`1`M#(^()9v>~a&;~$|cKw0$b?nasL>|Y7^TZte~ogPPdD%@=9%_GU7 zFDlDZVe_@}RFveJJi!@kn`)0b@kGV*89nl3!q1mB_vXYaI#K-h$-t`*n~_)HwwNAH zvF^Q5ufpbQd1b$|sPk8!LM`vOGmxl*+!o8!3;>Vu!4!B&K4)5iGjRxuVZQ$j9JIE4 literal 0 HcmV?d00001 diff --git a/vendor/plugins/has_counter/spec/has_counter_spec.rb b/vendor/plugins/has_counter/spec/has_counter_spec.rb new file mode 100644 index 000000000..f259f141e --- /dev/null +++ b/vendor/plugins/has_counter/spec/has_counter_spec.rb @@ -0,0 +1,55 @@ +require File.expand_path(File.dirname(__FILE__) + "/spec_helper.rb") + +describe "has_counter:", "using default after_create and after_destroy callbacks" do + before :each do + Counter.delete_all + CounterSpec::Content.delete_all + CounterSpec::Comment.delete_all + + @content = CounterSpec::Content.create! :title => 'first content' + end + + it "instantiates a counter" do + @content.comments.create! :text => 'first comment' + @content.comments_counter.should_not be_nil + end + + it "increments the counter on creation" do + @content.comments.create! :text => 'first comment' + @content.comments_count.should == 1 + end + + it "decrements the counter on deletion" do + @comment = @content.comments.create! :text => 'first comment' + @comment.destroy + @content.comments_count.should == 0 + end +end + +describe "has_counter:", "using a method name as after_create and after_destroy callbacks" do + before :each do + Counter.delete_all + CounterSpec::Content.delete_all + CounterSpec::Comment.delete_all + + @content = CounterSpec::Content.create! :title => 'first content' + end + + it "instantiates a counter" do + @content.comments.create! :text => 'first comment' + @content.approved_comments_counter.should_not be_nil + end + + it "increments the counter on creation" do + @content.comments.create! :text => 'first comment', :approved => 1 + @content.approved_comments_count.should == 1 + end + + it "decrements the counter on deletion" do + @comment = @content.comments.create! :text => 'first comment', :approved => 1 + @content.approved_comments_count.should == 1 + @comment.destroy + @content.reload + @content.approved_comments_count.should == 0 + end +end \ No newline at end of file diff --git a/vendor/plugins/has_counter/spec/spec_helper.rb b/vendor/plugins/has_counter/spec/spec_helper.rb new file mode 100644 index 000000000..1d686572f --- /dev/null +++ b/vendor/plugins/has_counter/spec/spec_helper.rb @@ -0,0 +1,117 @@ +$LOAD_PATH << File.dirname(__FILE__) + '/../lib/' + +ENV["RAILS_ENV"] = "test" + +require 'rubygems' +require 'active_record' + +ActiveRecord::Base.class_eval do + class << self + # no peeping toms (aka observers) wanted here + alias_method :dont_instantiate_observers, :instantiate_observers + def instantiate_observers; end + end +end + +require File.expand_path(File.dirname(__FILE__) + "/../../../../config/environment") +require 'spec' +require 'spec/rails' + +config = {'adapter' => 'sqlite3', 'dbfile' => File.dirname(__FILE__) + '/has_counter.sqlite3.db'} +ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + '/has_counter.spec.log') +ActiveRecord::Base.establish_connection(config) + +require 'counter' +unless Counter.table_exists? + ActiveRecord::Migration.verbose = false + ActiveRecord::Schema.define(:version => 1) do + create_table :counters, :force => true do |t| + t.references :owner, :polymorphic => true + t.string :name, :limit => 25 + t.integer :count, :default => 0 + end + end +end + +module CounterSpec + class Comment < ActiveRecord::Base + set_table_name 'comments' + + belongs_to :content + after_save :update_commentable + after_destroy :update_commentable + + unless table_exists? + ActiveRecord::Migration.verbose = false + ActiveRecord::Schema.define(:version => 1) do + create_table :comments, :force => true do |t| + t.references :content + t.text :text + t.integer :approved + end + end + end + + def unapproved? + !approved? + end + + def just_approved? + approved? && approved_changed? + end + + def just_unapproved? + !approved? && approved_changed? + end + + def update_commentable + content.after_comment_update(self) + end + end + + class Content < ActiveRecord::Base + set_table_name 'contents' + + has_many :comments + + has_counter :comments, + :class_name => 'CounterSpec::Comment' + + has_counter :approved_comments, + :class_name => 'CounterSpec::Comment', + :after_create => false, + :after_destroy => false + # :after_destroy => lambda{|record| + # :decrement! if record.approved? + # }, + # :after_save => lambda{|record| + # record.just_approved? && :increment! or + # record.just_unapproved? && :decrement! + # } + + def after_comment_update(comment) + method = if comment.frozen? && comment.approved? + :decrement! + elsif comment.just_approved? + :increment! + elsif comment.just_unapproved? + :decrement! + end + approved_comments_counter.send method if method + end + + unless table_exists? + ActiveRecord::Migration.verbose = false + ActiveRecord::Schema.define(:version => 1) do + create_table :contents, :force => true do |t| + t.string :title, :limit => 50 + end + end + end + end +end + + + + +