SQL (0.3ms)  select sqlite_version(*)
  SQL (0.4ms)  CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) 
  SQL (0.1ms)  CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer) 
  SQL (0.1ms)   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  SQL (0.1ms)  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  SQL (0.0ms)  PRAGMA index_list("schema_migrations")
  SQL (0.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  SQL (0.1ms)   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  SQL (0.0ms)  SELECT version FROM "schema_migrations"
  SQL (0.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('1')
  SQL (0.2ms)   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'

  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"id"=>1}
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 1.8ms)
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"id"=>1}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.3ms)
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"id"=>"unknown"}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
Redirected to http://test.host/posts
Completed 302 Found in 1ms
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"id"=>"unknown"}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
Redirected to http://test.host/posts
Completed 302 Found in 1ms
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"id"=>"unknown"}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
Redirected to http://test.host/posts
Completed 302 Found in 1ms
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as JS
  Parameters: {"id"=>"unknown"}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 1.1ms)
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"post_id"=>1, "id"=>1}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.3ms)
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"post_id"=>1, "validate"=>"validate_method", "id"=>1}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.3ms)
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"post_id"=>1, "validate"=>"validate_method", "id"=>1}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1
Redirected to http://test.host/comments
Completed 302 Found in 2ms
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"post_id"=>1, "id"=>1}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1
Redirected to http://test.host/comments
Completed 302 Found in 2ms
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.4ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"post_id"=>1, "id"=>1}
  Post Load (0.2ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1
Redirected to http://test.host/comments
Completed 302 Found in 3ms
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"post_id"=>1, "id"=>1}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1
Redirected to http://test.host/comments
Completed 302 Found in 2ms
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as JS
  Parameters: {"post_id"=>1, "id"=>1}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 2.1ms)
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"id"=>1}
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.2ms)
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"find_by"=>:find_by_mock, "id"=>1}
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.2ms)
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"param_id"=>:test_post_id, "test_post_id"=>1}
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.2ms)
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"id"=>1}
Redirected to http://test.host/posts
Completed 302 Found in 1ms
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"id"=>"unknown"}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
Redirected to http://test.host/posts
Completed 302 Found in 1ms
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"id"=>"unknown", "redirect_path"=>:mock_redirect_path}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
Redirected to http://test.host/mock_redirect_path/
Completed 302 Found in 1ms
  SQL (0.1ms)  INSERT INTO "posts" VALUES(NULL)
  SQL (0.1ms)  INSERT INTO "comments" ("post_id") VALUES (1)
  Processing by StubResourcesController#index as HTML
  Parameters: {"post_id"=>1, "id"=>"unknown", "redirect_path"=>:mock_redirect_path}
  Post Load (0.1ms)  SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1
  Comment Load (0.1ms)  SELECT "comments".* FROM "comments" WHERE ("comments"."id" = 0) LIMIT 1
Redirected to http://test.host/mock_redirect_path/1
Completed 302 Found in 3ms