fastly-rails 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1341f356aab912800b0e0898c11e6b4427b4455
4
- data.tar.gz: 31233d8c36f272493f625630131171d89c50a249
3
+ metadata.gz: 070f77c971009cf049b253a6b2aeffc99966956f
4
+ data.tar.gz: 8c349160847adb26fbb39957f673bc66a7af1e11
5
5
  SHA512:
6
- metadata.gz: b462f2fcb9e5b89c0ae24274c6e7532fbe56c454d6db265fecd7bb1b8b68430e4a8315c4e243a038a7f59e685a74298650684fd89d4e5755038b1bb4ebc130bd
7
- data.tar.gz: 964a2af61358129576c0e41363ba0cffdf9a51d83010691e6aee65480bef2ca8b63ba8aee4af8da7b58115253ab9df2bf3c1f8f0991fcf8045064b349e8a6b5c
6
+ metadata.gz: 55c648804a677804219debb52099311d69851606adedd33a2411956c4f0539bace2868bec49157ed0b40e188f2a35657fde02d7c749415b8a6f0df8fffcd98cb
7
+ data.tar.gz: bffd081dc0879fd7c7825638b48582911bef6d69a9f20ac9694250f3e4d5db417419ff20405dce6bff06304c73cde9444f07194249ced89dbe0fc41d4fcf1fc3
data/lib/fastly-rails.rb CHANGED
@@ -7,23 +7,22 @@ module FastlyRails
7
7
 
8
8
  attr_reader :client, :configuration
9
9
 
10
- def configuration
10
+ def self.configuration
11
11
  @configuration ||= Configuration.new
12
12
  end
13
13
 
14
- def configure
14
+ def self.configure
15
15
  yield configuration if block_given?
16
16
  end
17
17
 
18
- def client
19
- raise NoAuthCredentialsProvidedError unless configuration.authenticatable?
20
- @client ||= Client.new(
21
- :api_key => configuration.api_key,
22
- :user => configuration.user,
23
- :password => configuration.password,
24
- )
25
- end
18
+ def self.client
19
+ raise NoAuthCredentialsProvidedError unless configuration.authenticatable?
26
20
 
27
- extend self
21
+ @client ||= Client.new(
22
+ :api_key => configuration.api_key,
23
+ :user => configuration.user,
24
+ :password => configuration.password,
25
+ )
26
+ end
28
27
 
29
28
  end
@@ -2,10 +2,6 @@ module FastlyRails
2
2
  module CacheControlHeaders
3
3
  extend ActiveSupport::Concern
4
4
 
5
- included do
6
- before_filter :set_cache_control_headers, only: [:index, :show]
7
- end
8
-
9
5
  # Sets Cache-Control and Surrogate-Control headers
10
6
  # Surrogate-Control is stripped at the cache, Cache-Control persists (in case of other caches in front of fastly)
11
7
  # Defaults are:
@@ -1,15 +1,10 @@
1
1
  module FastlyRails
2
2
  module SurrogateControlHeaders
3
- extend ActiveSupport::Concern
4
-
5
- included do
6
- end
7
-
8
3
  # Sets Surrogate-Control header
9
4
  # Defaults are:
10
5
  # Cache-Control: 'public, no-cache, s-maxage: 30 days'
11
6
  # Surrogate-Control: 'max-age: 30 days
12
- # custom config example:
7
+ # custom config example:
13
8
  # {cache_control: 'blah, blah, blah', surrogate_control: 'max-age: blah'}
14
9
  def set_surrogate_key_header(surrogate_key)
15
10
  request.session_options[:skip] = true # no cookies
@@ -1,12 +1,8 @@
1
- # adds surrogate key instance methods to the models that inherit from activerecord
1
+ # Adds surrogate key methods to ActiveRecord models
2
2
  module FastlyRails
3
3
  module SurrogateKey
4
4
  extend ActiveSupport::Concern
5
5
 
6
- included do
7
- include InstanceMethods
8
- end
9
-
10
6
  module ClassMethods
11
7
 
12
8
  def purge_all
@@ -19,24 +15,20 @@ module FastlyRails
19
15
 
20
16
  end
21
17
 
22
- module InstanceMethods
23
-
24
- def record_key
25
- "#{table_key}/#{id}"
26
- end
27
-
28
- def table_key
29
- self.class.table_key
30
- end
18
+ def record_key
19
+ "#{table_key}/#{id}"
20
+ end
31
21
 
32
- def purge
33
- FastlyRails.client.purge(record_key)
34
- end
22
+ def table_key
23
+ self.class.table_key
24
+ end
35
25
 
36
- def purge_all
37
- self.class.purge_all
38
- end
26
+ def purge
27
+ FastlyRails.client.purge(record_key)
28
+ end
39
29
 
30
+ def purge_all
31
+ self.class.purge_all
40
32
  end
41
33
 
42
34
  end
@@ -1,17 +1,10 @@
1
1
  require 'fastly'
2
2
 
3
3
  module FastlyRails
4
-
5
- ### For all intents and purposes
6
- ### This is a wrapper around the
7
- ### Fastly-ruby client
8
-
4
+ # A simple wrapper around the fastly-ruby client.
9
5
  class Client < DelegateClass(Fastly)
10
-
11
6
  def initialize(opts={})
12
7
  super(Fastly.new(opts))
13
8
  end
14
-
15
9
  end
16
-
17
10
  end
@@ -1,47 +1,26 @@
1
1
  module FastlyRails
2
-
3
2
  class Configuration
4
-
5
- attr_reader :api_key, :user, :password, :max_age
6
-
3
+ # 30 days
7
4
  MAX_AGE_DEFAULT = '2592000'
8
5
 
9
- class << self
10
-
11
- def max_age_default
12
- MAX_AGE_DEFAULT
13
- end
6
+ attr_accessor :api_key, :user, :password, :max_age
14
7
 
8
+ def self.max_age_default
9
+ MAX_AGE_DEFAULT
15
10
  end
16
11
 
17
12
  def initialize
18
- @api_key = nil
19
- @user = nil
20
- @password = nil
21
- @max_age = self.class.max_age_default
22
- end
23
-
24
- def api_key=(val)
25
- @api_key = val
26
- end
27
-
28
- def user=(val)
29
- @user = val
13
+ @max_age = MAX_AGE_DEFAULT
30
14
  end
31
15
 
32
- def password=(val)
33
- @password = val
16
+ def authenticatable?
17
+ !!(api_key || has_credentials?)
34
18
  end
35
19
 
36
- def max_age=(val)
37
- @max_age = val
38
- end
20
+ private
39
21
 
40
- def authenticatable?
41
- !api_key.nil? || (!user.nil? && !password.nil?)
22
+ def has_credentials?
23
+ user && password
42
24
  end
43
-
44
25
  end
45
-
46
26
  end
47
-
@@ -1,3 +1,3 @@
1
1
  module FastlyRails
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,5 +1,6 @@
1
1
  class BooksController < ApplicationController
2
2
 
3
+ before_filter :set_cache_control_headers, only: [:index, :show]
3
4
  before_filter :find_book, :only => [:show, :edit, :update, :destroy]
4
5
 
5
6
  def index
@@ -1,12 +1,2 @@
1
1
  class Book < ActiveRecord::Base
2
- after_destroy :do_something, :do_more
3
-
4
- def do_something
5
- puts "oh hai something"
6
- end
7
-
8
- def do_more
9
- puts "oh hai more"
10
- end
11
-
12
2
  end
Binary file
@@ -0,0 +1,1419 @@
1
+ Connecting to database specified by database.yml
2
+  (0.1ms) select sqlite_version(*)
3
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
+ Migrating to CreateBooks (20140407202136)
7
+  (0.0ms) begin transaction
8
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
9
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140407202136')
10
+  (0.4ms) commit transaction
11
+  (0.1ms) begin transaction
12
+  (0.0ms) commit transaction
13
+  (0.0ms) begin transaction
14
+  (0.1ms) SAVEPOINT active_record_1
15
+ SQL (4.1ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["id", 1], ["name", "Day of the Gypsy"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
16
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17
+  (0.2ms) rollback transaction
18
+  (0.0ms) begin transaction
19
+  (0.0ms) commit transaction
20
+  (0.0ms) begin transaction
21
+  (0.0ms) SAVEPOINT active_record_1
22
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["id", 1], ["name", "Killer Fly"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
23
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24
+  (0.2ms) rollback transaction
25
+  (0.0ms) begin transaction
26
+  (0.0ms) commit transaction
27
+  (0.0ms) begin transaction
28
+  (0.0ms) SAVEPOINT active_record_1
29
+ SQL (0.4ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["id", 1], ["name", "Codename: Wolf"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
30
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31
+  (0.3ms) rollback transaction
32
+  (0.0ms) begin transaction
33
+  (0.0ms) commit transaction
34
+  (0.0ms) begin transaction
35
+  (0.1ms) SAVEPOINT active_record_1
36
+ SQL (0.4ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["id", 1], ["name", "Christmas on Maggio Heights"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
37
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38
+  (0.3ms) rollback transaction
39
+  (0.0ms) begin transaction
40
+  (0.0ms) commit transaction
41
+  (0.0ms) begin transaction
42
+  (0.0ms) rollback transaction
43
+  (0.0ms) begin transaction
44
+  (0.0ms) SAVEPOINT active_record_1
45
+ SQL (0.4ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "Rise of the Killer Ninja"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
46
+  (0.0ms) RELEASE SAVEPOINT active_record_1
47
+  (0.0ms) SAVEPOINT active_record_1
48
+ SQL (0.8ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "Flying Friday"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
49
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50
+  (0.0ms) SAVEPOINT active_record_1
51
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "The Beast from 12769 Leagues"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
52
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53
+  (0.0ms) SAVEPOINT active_record_1
54
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "When Doris Met Ellsworth"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
55
+  (0.0ms) RELEASE SAVEPOINT active_record_1
56
+  (0.0ms) SAVEPOINT active_record_1
57
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "Electric Hills"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
58
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59
+  (0.0ms) SELECT COUNT(*) FROM "books" 
60
+ Processing by BooksController#create as HTML
61
+ Parameters: {"book"=>{"name"=>"newly-created-book"}}
62
+  (0.1ms) SAVEPOINT active_record_1
63
+ SQL (0.2ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "newly-created-book"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
64
+  (0.0ms) RELEASE SAVEPOINT active_record_1
65
+ Redirected to http://test.host/books
66
+ Completed 302 Found in 2.1ms (ActiveRecord: 0.2ms)
67
+  (0.1ms) SELECT COUNT(*) FROM "books" 
68
+  (0.5ms) rollback transaction
69
+  (0.0ms) begin transaction
70
+  (0.0ms) SAVEPOINT active_record_1
71
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "Green World"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
72
+  (0.0ms) RELEASE SAVEPOINT active_record_1
73
+  (0.0ms) SAVEPOINT active_record_1
74
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "Nuclear Diaries"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
75
+  (0.0ms) RELEASE SAVEPOINT active_record_1
76
+  (0.0ms) SAVEPOINT active_record_1
77
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "Rise of the Danger Jungle"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
78
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79
+  (0.0ms) SAVEPOINT active_record_1
80
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "Curse of the Wolf"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
81
+  (0.0ms) RELEASE SAVEPOINT active_record_1
82
+  (0.0ms) SAVEPOINT active_record_1
83
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "When Donavon Met Eden"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
84
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85
+ Processing by BooksController#index as HTML
86
+ Book Load (0.1ms) SELECT "books".* FROM "books" 
87
+ Completed 200 OK in 9.8ms (Views: 8.7ms | ActiveRecord: 0.1ms)
88
+  (0.4ms) rollback transaction
89
+  (0.0ms) begin transaction
90
+  (0.0ms) SAVEPOINT active_record_1
91
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "Rise of the Dangerous Thief"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
92
+  (0.0ms) RELEASE SAVEPOINT active_record_1
93
+  (0.0ms) SAVEPOINT active_record_1
94
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "The Brains from North East Irwindale"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
95
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96
+  (0.0ms) SAVEPOINT active_record_1
97
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "The Man Who Fell to Earth"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
98
+  (0.0ms) RELEASE SAVEPOINT active_record_1
99
+  (0.0ms) SAVEPOINT active_record_1
100
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "Forbidden Wizard"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
101
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102
+  (0.0ms) SAVEPOINT active_record_1
103
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "Case of the Missing Tears"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
105
+ Processing by BooksController#show as HTML
106
+ Parameters: {"id"=>"1"}
107
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
108
+ Completed 200 OK in 4.0ms (Views: 2.0ms | ActiveRecord: 0.1ms)
109
+  (0.3ms) rollback transaction
110
+  (0.0ms) begin transaction
111
+  (0.0ms) SAVEPOINT active_record_1
112
+ SQL (0.4ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["id", 1], ["name", "Blue Pickpocket"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
113
+  (0.0ms) RELEASE SAVEPOINT active_record_1
114
+ Started GET "/books/1" for 127.0.0.1 at 2014-04-27 17:15:52 -0700
115
+ Processing by BooksController#show as HTML
116
+ Parameters: {"id"=>"1"}
117
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
118
+ Completed 200 OK in 2.0ms (Views: 1.0ms | ActiveRecord: 0.1ms)
119
+  (0.4ms) rollback transaction
120
+  (0.0ms) begin transaction
121
+ Started GET "/books" for 127.0.0.1 at 2014-04-27 17:15:52 -0700
122
+ Processing by BooksController#index as HTML
123
+ Book Load (0.1ms) SELECT "books".* FROM "books"
124
+ Completed 200 OK in 1.5ms (Views: 0.9ms | ActiveRecord: 0.1ms)
125
+  (0.0ms) rollback transaction
126
+  (0.0ms) begin transaction
127
+  (0.1ms) SAVEPOINT active_record_1
128
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["id", 1], ["name", "Flying Jungle"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
130
+ Started DELETE "/books/1" for 127.0.0.1 at 2014-04-27 17:15:52 -0700
131
+ Processing by BooksController#destroy as HTML
132
+ Parameters: {"id"=>"1"}
133
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
134
+  (0.0ms) SAVEPOINT active_record_1
135
+ SQL (0.4ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
136
+  (0.0ms) RELEASE SAVEPOINT active_record_1
137
+ Redirected to http://www.example.com/books
138
+ Completed 302 Found in 2.3ms (ActiveRecord: 0.5ms)
139
+  (0.1ms) SELECT COUNT(*) FROM "books" WHERE "books"."id" = 1
140
+  (0.4ms) rollback transaction
141
+  (0.0ms) begin transaction
142
+  (0.1ms) SELECT COUNT(*) FROM "books" 
143
+ Started POST "/books" for 127.0.0.1 at 2014-04-27 17:15:52 -0700
144
+ Processing by BooksController#create as HTML
145
+ Parameters: {"book"=>{"name"=>"some new book"}}
146
+  (0.1ms) SAVEPOINT active_record_1
147
+ SQL (0.4ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149
+ Redirected to http://www.example.com/books
150
+ Completed 302 Found in 1.8ms (ActiveRecord: 0.5ms)
151
+  (0.1ms) SELECT COUNT(*) FROM "books" 
152
+  (0.3ms) rollback transaction
153
+  (0.0ms) begin transaction
154
+  (0.0ms) SAVEPOINT active_record_1
155
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00], ["id", 1], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:15:52 UTC +00:00]]
156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
157
+ Started PUT "/books/1" for 127.0.0.1 at 2014-04-27 17:15:52 -0700
158
+ Processing by BooksController#update as HTML
159
+ Parameters: {"id"=>"1", "book"=>{"name"=>"changed book"}}
160
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
161
+  (0.0ms) SAVEPOINT active_record_1
162
+  (0.3ms) UPDATE "books" SET "name" = 'changed book', "updated_at" = '2014-04-28 00:15:52.830994' WHERE "books"."id" = 1
163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
164
+ Redirected to http://www.example.com/books/1
165
+ Completed 302 Found in 3.2ms (ActiveRecord: 0.4ms)
166
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", 1]]
167
+  (0.4ms) rollback transaction
168
+  (0.1ms) begin transaction
169
+  (0.0ms) commit transaction
170
+  (0.0ms) begin transaction
171
+  (0.0ms) rollback transaction
172
+  (0.0ms) begin transaction
173
+  (0.0ms) rollback transaction
174
+  (0.0ms) begin transaction
175
+  (0.0ms) commit transaction
176
+  (0.0ms) begin transaction
177
+  (0.1ms) rollback transaction
178
+  (0.0ms) begin transaction
179
+  (0.0ms) commit transaction
180
+  (0.0ms) begin transaction
181
+  (0.0ms) rollback transaction
182
+  (0.0ms) begin transaction
183
+  (0.1ms) commit transaction
184
+  (0.0ms) begin transaction
185
+  (0.0ms) rollback transaction
186
+  (0.0ms) begin transaction
187
+  (0.0ms) commit transaction
188
+  (0.0ms) begin transaction
189
+  (0.0ms) rollback transaction
190
+  (0.0ms) begin transaction
191
+  (0.0ms) commit transaction
192
+  (0.0ms) begin transaction
193
+  (0.0ms) rollback transaction
194
+  (0.0ms) begin transaction
195
+  (0.0ms) commit transaction
196
+  (0.0ms) begin transaction
197
+  (0.0ms) rollback transaction
198
+  (0.0ms) begin transaction
199
+  (0.1ms) commit transaction
200
+  (0.0ms) begin transaction
201
+  (0.0ms) rollback transaction
202
+  (0.0ms) begin transaction
203
+  (0.0ms) commit transaction
204
+  (0.0ms) begin transaction
205
+  (0.0ms) rollback transaction
206
+  (0.0ms) begin transaction
207
+  (0.0ms) commit transaction
208
+  (0.0ms) begin transaction
209
+  (0.0ms) rollback transaction
210
+  (0.0ms) begin transaction
211
+  (0.0ms) commit transaction
212
+  (0.0ms) begin transaction
213
+  (0.0ms) rollback transaction
214
+  (0.0ms) begin transaction
215
+  (0.0ms) commit transaction
216
+  (0.0ms) begin transaction
217
+  (0.0ms) rollback transaction
218
+  (0.0ms) begin transaction
219
+  (0.0ms) commit transaction
220
+  (0.0ms) begin transaction
221
+  (0.0ms) rollback transaction
222
+  (0.0ms) begin transaction
223
+  (0.0ms) commit transaction
224
+  (0.1ms) begin transaction
225
+  (0.0ms) rollback transaction
226
+  (0.0ms) begin transaction
227
+  (0.0ms) commit transaction
228
+  (0.0ms) begin transaction
229
+  (0.0ms) rollback transaction
230
+  (0.0ms) begin transaction
231
+  (0.0ms) commit transaction
232
+  (0.0ms) begin transaction
233
+  (0.0ms) rollback transaction
234
+  (0.0ms) begin transaction
235
+  (0.0ms) commit transaction
236
+  (0.0ms) begin transaction
237
+  (0.0ms) rollback transaction
238
+ Connecting to database specified by database.yml
239
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
240
+ Migrating to CreateBooks (20140407202136)
241
+  (0.1ms) begin transaction
242
+  (0.0ms) commit transaction
243
+  (0.0ms) begin transaction
244
+  (0.0ms) SAVEPOINT active_record_1
245
+ SQL (2.4ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["id", 1], ["name", "Action Clash"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247
+  (6.2ms) rollback transaction
248
+  (0.1ms) begin transaction
249
+  (0.0ms) commit transaction
250
+  (0.0ms) begin transaction
251
+  (0.0ms) rollback transaction
252
+  (0.0ms) begin transaction
253
+  (0.0ms) commit transaction
254
+  (0.0ms) begin transaction
255
+  (0.0ms) SAVEPOINT active_record_1
256
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["id", 1], ["name", "Hungry City"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
258
+  (0.3ms) rollback transaction
259
+  (0.0ms) begin transaction
260
+  (0.0ms) commit transaction
261
+  (0.0ms) begin transaction
262
+  (0.0ms) SAVEPOINT active_record_1
263
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["id", 1], ["name", "The Tokyo Cousins with a Thousand Faces"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
265
+  (0.2ms) rollback transaction
266
+  (0.0ms) begin transaction
267
+  (0.0ms) commit transaction
268
+  (0.0ms) begin transaction
269
+  (0.0ms) SAVEPOINT active_record_1
270
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["id", 1], ["name", "Christmas on Norma Centers"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
272
+  (0.2ms) rollback transaction
273
+  (0.0ms) begin transaction
274
+  (0.0ms) SAVEPOINT active_record_1
275
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "The Dreams"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
277
+  (0.0ms) SAVEPOINT active_record_1
278
+ SQL (0.8ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "Killer Hills"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
279
+  (0.0ms) RELEASE SAVEPOINT active_record_1
280
+  (0.0ms) SAVEPOINT active_record_1
281
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "Danger Clash"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
283
+  (0.0ms) SAVEPOINT active_record_1
284
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "When Caesar Met Ernie"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
285
+  (0.0ms) RELEASE SAVEPOINT active_record_1
286
+  (0.0ms) SAVEPOINT active_record_1
287
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "Time of the Dangerous Wolves"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
288
+  (0.0ms) RELEASE SAVEPOINT active_record_1
289
+  (0.0ms) SELECT COUNT(*) FROM "books"
290
+ Processing by BooksController#create as HTML
291
+ Parameters: {"book"=>{"name"=>"newly-created-book"}}
292
+  (0.0ms) SAVEPOINT active_record_1
293
+ SQL (0.2ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "newly-created-book"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
295
+ Redirected to http://test.host/books
296
+ Completed 302 Found in 1.8ms (ActiveRecord: 0.2ms)
297
+  (0.0ms) SELECT COUNT(*) FROM "books"
298
+  (0.4ms) rollback transaction
299
+  (0.0ms) begin transaction
300
+  (0.0ms) SAVEPOINT active_record_1
301
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "Demon 2: Electric Boogaloo"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
303
+  (0.0ms) SAVEPOINT active_record_1
304
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "The Blue Cousins from Mars"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
306
+  (0.0ms) SAVEPOINT active_record_1
307
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "The White Rose of Scotland"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
309
+  (0.0ms) SAVEPOINT active_record_1
310
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "Flying Demon 2: Son of Flying Demon"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
311
+  (0.0ms) RELEASE SAVEPOINT active_record_1
312
+  (0.0ms) SAVEPOINT active_record_1
313
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "The Champagne Witch with a Thousand Faces"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
314
+  (0.0ms) RELEASE SAVEPOINT active_record_1
315
+ Processing by BooksController#index as HTML
316
+ Book Load (0.1ms) SELECT "books".* FROM "books"
317
+ Completed 200 OK in 6.8ms (Views: 5.8ms | ActiveRecord: 0.1ms)
318
+  (0.4ms) rollback transaction
319
+  (0.0ms) begin transaction
320
+  (0.0ms) SAVEPOINT active_record_1
321
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "The Flying Ninjas"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
322
+  (0.0ms) RELEASE SAVEPOINT active_record_1
323
+  (0.0ms) SAVEPOINT active_record_1
324
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "American Women"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
326
+  (0.0ms) SAVEPOINT active_record_1
327
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "The Clash from Across the Ocean"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
329
+  (0.0ms) SAVEPOINT active_record_1
330
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "The Identity from Hell"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
332
+  (0.0ms) SAVEPOINT active_record_1
333
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "The Tokyo Pickpocket from Outer Space"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
334
+  (0.0ms) RELEASE SAVEPOINT active_record_1
335
+ Processing by BooksController#show as HTML
336
+ Parameters: {"id"=>"1"}
337
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
338
+ Completed 200 OK in 2.8ms (Views: 1.4ms | ActiveRecord: 0.1ms)
339
+  (0.4ms) rollback transaction
340
+  (0.0ms) begin transaction
341
+  (0.0ms) SAVEPOINT active_record_1
342
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["id", 1], ["name", "Return of the Fake Friday"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
344
+ Started GET "/books/1" for 127.0.0.1 at 2014-04-27 17:16:04 -0700
345
+ Processing by BooksController#show as HTML
346
+ Parameters: {"id"=>"1"}
347
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
348
+ Completed 200 OK in 1.6ms (Views: 0.9ms | ActiveRecord: 0.0ms)
349
+  (0.4ms) rollback transaction
350
+  (0.0ms) begin transaction
351
+ Started GET "/books" for 127.0.0.1 at 2014-04-27 17:16:04 -0700
352
+ Processing by BooksController#index as HTML
353
+ Book Load (0.1ms) SELECT "books".* FROM "books" 
354
+ Completed 200 OK in 1.4ms (Views: 0.9ms | ActiveRecord: 0.1ms)
355
+  (0.0ms) rollback transaction
356
+  (0.0ms) begin transaction
357
+  (0.0ms) SAVEPOINT active_record_1
358
+ SQL (0.4ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["id", 1], ["name", "Tokyo Women"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
360
+ Started DELETE "/books/1" for 127.0.0.1 at 2014-04-27 17:16:04 -0700
361
+ Processing by BooksController#destroy as HTML
362
+ Parameters: {"id"=>"1"}
363
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
364
+  (0.1ms) SAVEPOINT active_record_1
365
+ SQL (0.4ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
367
+ Redirected to http://www.example.com/books
368
+ Completed 302 Found in 2.9ms (ActiveRecord: 0.6ms)
369
+  (0.1ms) SELECT COUNT(*) FROM "books" WHERE "books"."id" = 1
370
+  (0.4ms) rollback transaction
371
+  (0.0ms) begin transaction
372
+  (0.1ms) SELECT COUNT(*) FROM "books"
373
+ Started POST "/books" for 127.0.0.1 at 2014-04-27 17:16:04 -0700
374
+ Processing by BooksController#create as HTML
375
+ Parameters: {"book"=>{"name"=>"some new book"}}
376
+  (0.0ms) SAVEPOINT active_record_1
377
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
379
+ Redirected to http://www.example.com/books
380
+ Completed 302 Found in 1.8ms (ActiveRecord: 0.4ms)
381
+  (0.0ms) SELECT COUNT(*) FROM "books"
382
+  (0.3ms) rollback transaction
383
+  (0.0ms) begin transaction
384
+  (0.0ms) SAVEPOINT active_record_1
385
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00], ["id", 1], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:16:04 UTC +00:00]]
386
+  (0.0ms) RELEASE SAVEPOINT active_record_1
387
+ Started PUT "/books/1" for 127.0.0.1 at 2014-04-27 17:16:04 -0700
388
+ Processing by BooksController#update as HTML
389
+ Parameters: {"id"=>"1", "book"=>{"name"=>"changed book"}}
390
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
391
+  (0.0ms) SAVEPOINT active_record_1
392
+  (0.3ms) UPDATE "books" SET "name" = 'changed book', "updated_at" = '2014-04-28 00:16:04.739229' WHERE "books"."id" = 1
393
+  (0.0ms) RELEASE SAVEPOINT active_record_1
394
+ Redirected to http://www.example.com/books/1
395
+ Completed 302 Found in 3.4ms (ActiveRecord: 0.4ms)
396
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", 1]]
397
+  (0.3ms) rollback transaction
398
+  (0.0ms) begin transaction
399
+  (0.0ms) commit transaction
400
+  (0.0ms) begin transaction
401
+  (0.0ms) rollback transaction
402
+  (0.0ms) begin transaction
403
+  (0.0ms) rollback transaction
404
+  (0.0ms) begin transaction
405
+  (0.0ms) commit transaction
406
+  (0.0ms) begin transaction
407
+  (0.0ms) rollback transaction
408
+  (0.0ms) begin transaction
409
+  (0.0ms) commit transaction
410
+  (0.0ms) begin transaction
411
+  (0.0ms) rollback transaction
412
+  (0.0ms) begin transaction
413
+  (0.0ms) commit transaction
414
+  (0.1ms) begin transaction
415
+  (0.0ms) rollback transaction
416
+  (0.0ms) begin transaction
417
+  (0.0ms) commit transaction
418
+  (0.0ms) begin transaction
419
+  (0.0ms) rollback transaction
420
+  (0.0ms) begin transaction
421
+  (0.0ms) commit transaction
422
+  (0.0ms) begin transaction
423
+  (0.0ms) rollback transaction
424
+  (0.0ms) begin transaction
425
+  (0.0ms) commit transaction
426
+  (0.0ms) begin transaction
427
+  (0.0ms) rollback transaction
428
+  (0.0ms) begin transaction
429
+  (0.0ms) commit transaction
430
+  (0.0ms) begin transaction
431
+  (0.0ms) rollback transaction
432
+  (0.0ms) begin transaction
433
+  (0.0ms) commit transaction
434
+  (0.0ms) begin transaction
435
+  (0.0ms) rollback transaction
436
+  (0.0ms) begin transaction
437
+  (0.0ms) commit transaction
438
+  (0.0ms) begin transaction
439
+  (0.0ms) rollback transaction
440
+  (0.0ms) begin transaction
441
+  (0.0ms) commit transaction
442
+  (0.0ms) begin transaction
443
+  (0.0ms) rollback transaction
444
+  (0.0ms) begin transaction
445
+  (0.0ms) commit transaction
446
+  (0.0ms) begin transaction
447
+  (0.0ms) rollback transaction
448
+  (0.0ms) begin transaction
449
+  (0.0ms) commit transaction
450
+  (0.0ms) begin transaction
451
+  (0.0ms) rollback transaction
452
+  (0.0ms) begin transaction
453
+  (0.0ms) commit transaction
454
+  (0.0ms) begin transaction
455
+  (0.0ms) rollback transaction
456
+  (0.0ms) begin transaction
457
+  (0.0ms) commit transaction
458
+  (0.0ms) begin transaction
459
+  (0.0ms) rollback transaction
460
+  (0.0ms) begin transaction
461
+  (0.0ms) commit transaction
462
+  (0.0ms) begin transaction
463
+  (0.1ms) rollback transaction
464
+  (0.0ms) begin transaction
465
+  (0.0ms) commit transaction
466
+  (0.0ms) begin transaction
467
+  (0.0ms) rollback transaction
468
+ Connecting to database specified by database.yml
469
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
470
+ Migrating to CreateBooks (20140407202136)
471
+  (0.1ms) begin transaction
472
+  (0.0ms) commit transaction
473
+  (0.0ms) begin transaction
474
+  (0.0ms) SAVEPOINT active_record_1
475
+ SQL (2.5ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["id", 1], ["name", "The Yellow Rose of Northern Ireland"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
477
+  (6.2ms) rollback transaction
478
+  (0.0ms) begin transaction
479
+  (0.0ms) commit transaction
480
+  (0.0ms) begin transaction
481
+  (0.0ms) rollback transaction
482
+  (0.0ms) begin transaction
483
+  (0.0ms) commit transaction
484
+  (0.0ms) begin transaction
485
+  (0.0ms) SAVEPOINT active_record_1
486
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["id", 1], ["name", "Forbidden Witch"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
488
+  (0.2ms) rollback transaction
489
+  (0.0ms) begin transaction
490
+  (0.0ms) commit transaction
491
+  (0.0ms) begin transaction
492
+  (0.0ms) SAVEPOINT active_record_1
493
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["id", 1], ["name", "The Action Friday with a Thousand Faces"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
495
+  (0.3ms) rollback transaction
496
+  (0.0ms) begin transaction
497
+  (0.0ms) commit transaction
498
+  (0.0ms) begin transaction
499
+  (0.0ms) SAVEPOINT active_record_1
500
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["id", 1], ["name", "Green Mutant"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
502
+  (0.3ms) rollback transaction
503
+  (0.0ms) begin transaction
504
+  (0.0ms) SAVEPOINT active_record_1
505
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "Flying Cousins"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
507
+  (0.0ms) SAVEPOINT active_record_1
508
+ SQL (0.8ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "The Thief Without a Brain"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
510
+  (0.1ms) SAVEPOINT active_record_1
511
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "Codename: Demon"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
513
+  (0.0ms) SAVEPOINT active_record_1
514
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "Season of the Ultra Diaries"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
516
+  (0.0ms) SAVEPOINT active_record_1
517
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "Christmas on Tomas Harbor"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
518
+  (0.0ms) RELEASE SAVEPOINT active_record_1
519
+  (0.1ms) SELECT COUNT(*) FROM "books"
520
+ Processing by BooksController#create as HTML
521
+ Parameters: {"book"=>{"name"=>"newly-created-book"}}
522
+  (0.0ms) SAVEPOINT active_record_1
523
+ SQL (0.2ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "newly-created-book"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
525
+ Redirected to http://test.host/books
526
+ Completed 302 Found in 2.0ms (ActiveRecord: 0.2ms)
527
+  (0.1ms) SELECT COUNT(*) FROM "books"
528
+  (0.4ms) rollback transaction
529
+  (0.0ms) begin transaction
530
+  (0.0ms) SAVEPOINT active_record_1
531
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "The Death Monster with a Thousand Faces"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
533
+  (0.0ms) SAVEPOINT active_record_1
534
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "A Fistful of Ultra Mutant"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
535
+  (0.0ms) RELEASE SAVEPOINT active_record_1
536
+  (0.0ms) SAVEPOINT active_record_1
537
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "1979 A.D."], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
539
+  (0.0ms) SAVEPOINT active_record_1
540
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "Fake Women"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
542
+  (0.0ms) SAVEPOINT active_record_1
543
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "Day of the Nuclear Women"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
544
+  (0.0ms) RELEASE SAVEPOINT active_record_1
545
+ Processing by BooksController#index as HTML
546
+ Book Load (0.1ms) SELECT "books".* FROM "books"
547
+ Completed 200 OK in 7.4ms (Views: 6.2ms | ActiveRecord: 0.1ms)
548
+  (0.5ms) rollback transaction
549
+  (0.0ms) begin transaction
550
+  (0.0ms) SAVEPOINT active_record_1
551
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "Hard Boiled Dreams"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
553
+  (0.0ms) SAVEPOINT active_record_1
554
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "The Cousins from Cipriani"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
556
+  (0.0ms) SAVEPOINT active_record_1
557
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "The Tokyo Friday from Outer Space"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
559
+  (0.0ms) SAVEPOINT active_record_1
560
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "The Woman"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
562
+  (0.0ms) SAVEPOINT active_record_1
563
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "The Beast Without a Men"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
564
+  (0.0ms) RELEASE SAVEPOINT active_record_1
565
+ Processing by BooksController#show as HTML
566
+ Parameters: {"id"=>"1"}
567
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
568
+ Completed 200 OK in 2.8ms (Views: 1.4ms | ActiveRecord: 0.1ms)
569
+  (0.4ms) rollback transaction
570
+  (0.0ms) begin transaction
571
+  (0.0ms) SAVEPOINT active_record_1
572
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["id", 1], ["name", "Danger Fly"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
574
+ Started GET "/books/1" for 127.0.0.1 at 2014-04-27 17:17:04 -0700
575
+ Processing by BooksController#show as HTML
576
+ Parameters: {"id"=>"1"}
577
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
578
+ Completed 200 OK in 1.7ms (Views: 0.9ms | ActiveRecord: 0.0ms)
579
+  (0.3ms) rollback transaction
580
+  (0.1ms) begin transaction
581
+ Started GET "/books" for 127.0.0.1 at 2014-04-27 17:17:04 -0700
582
+ Processing by BooksController#index as HTML
583
+ Book Load (0.2ms) SELECT "books".* FROM "books" 
584
+ Completed 200 OK in 1.5ms (Views: 0.9ms | ActiveRecord: 0.2ms)
585
+  (0.0ms) rollback transaction
586
+  (0.0ms) begin transaction
587
+  (0.0ms) SAVEPOINT active_record_1
588
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["id", 1], ["name", "Codename: Cat"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
590
+ Started DELETE "/books/1" for 127.0.0.1 at 2014-04-27 17:17:04 -0700
591
+ Processing by BooksController#destroy as HTML
592
+ Parameters: {"id"=>"1"}
593
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
594
+  (0.0ms) SAVEPOINT active_record_1
595
+ SQL (0.3ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
596
+  (0.0ms) RELEASE SAVEPOINT active_record_1
597
+ Redirected to http://www.example.com/books
598
+ Completed 302 Found in 2.2ms (ActiveRecord: 0.4ms)
599
+  (0.1ms) SELECT COUNT(*) FROM "books" WHERE "books"."id" = 1
600
+  (0.4ms) rollback transaction
601
+  (0.0ms) begin transaction
602
+  (0.1ms) SELECT COUNT(*) FROM "books"
603
+ Started POST "/books" for 127.0.0.1 at 2014-04-27 17:17:04 -0700
604
+ Processing by BooksController#create as HTML
605
+ Parameters: {"book"=>{"name"=>"some new book"}}
606
+  (0.0ms) SAVEPOINT active_record_1
607
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
609
+ Redirected to http://www.example.com/books
610
+ Completed 302 Found in 1.6ms (ActiveRecord: 0.3ms)
611
+  (0.0ms) SELECT COUNT(*) FROM "books"
612
+  (0.3ms) rollback transaction
613
+  (0.0ms) begin transaction
614
+  (0.0ms) SAVEPOINT active_record_1
615
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00], ["id", 1], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:17:04 UTC +00:00]]
616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
617
+ Started PUT "/books/1" for 127.0.0.1 at 2014-04-27 17:17:04 -0700
618
+ Processing by BooksController#update as HTML
619
+ Parameters: {"id"=>"1", "book"=>{"name"=>"changed book"}}
620
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
621
+  (0.0ms) SAVEPOINT active_record_1
622
+  (0.3ms) UPDATE "books" SET "name" = 'changed book', "updated_at" = '2014-04-28 00:17:04.703277' WHERE "books"."id" = 1
623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
624
+ Redirected to http://www.example.com/books/1
625
+ Completed 302 Found in 3.0ms (ActiveRecord: 0.4ms)
626
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", 1]]
627
+  (0.4ms) rollback transaction
628
+  (0.0ms) begin transaction
629
+  (0.0ms) commit transaction
630
+  (0.0ms) begin transaction
631
+  (0.0ms) rollback transaction
632
+  (0.0ms) begin transaction
633
+  (0.0ms) rollback transaction
634
+  (0.0ms) begin transaction
635
+  (0.0ms) commit transaction
636
+  (0.0ms) begin transaction
637
+  (0.0ms) rollback transaction
638
+  (0.0ms) begin transaction
639
+  (0.0ms) commit transaction
640
+  (0.0ms) begin transaction
641
+  (0.0ms) rollback transaction
642
+  (0.0ms) begin transaction
643
+  (0.0ms) commit transaction
644
+  (0.0ms) begin transaction
645
+  (0.0ms) rollback transaction
646
+  (0.1ms) begin transaction
647
+  (0.0ms) commit transaction
648
+  (0.0ms) begin transaction
649
+  (0.0ms) rollback transaction
650
+  (0.0ms) begin transaction
651
+  (0.0ms) commit transaction
652
+  (0.0ms) begin transaction
653
+  (0.0ms) rollback transaction
654
+  (0.0ms) begin transaction
655
+  (0.0ms) commit transaction
656
+  (0.0ms) begin transaction
657
+  (0.0ms) rollback transaction
658
+  (0.0ms) begin transaction
659
+  (0.0ms) commit transaction
660
+  (0.0ms) begin transaction
661
+  (0.0ms) rollback transaction
662
+  (0.0ms) begin transaction
663
+  (0.0ms) commit transaction
664
+  (0.0ms) begin transaction
665
+  (0.0ms) rollback transaction
666
+  (0.0ms) begin transaction
667
+  (0.0ms) commit transaction
668
+  (0.0ms) begin transaction
669
+  (0.0ms) rollback transaction
670
+  (0.0ms) begin transaction
671
+  (0.0ms) commit transaction
672
+  (0.0ms) begin transaction
673
+  (0.0ms) rollback transaction
674
+  (0.0ms) begin transaction
675
+  (0.0ms) commit transaction
676
+  (0.0ms) begin transaction
677
+  (0.0ms) rollback transaction
678
+  (0.0ms) begin transaction
679
+  (0.0ms) commit transaction
680
+  (0.0ms) begin transaction
681
+  (0.0ms) rollback transaction
682
+  (0.0ms) begin transaction
683
+  (0.0ms) commit transaction
684
+  (0.0ms) begin transaction
685
+  (0.0ms) rollback transaction
686
+  (0.0ms) begin transaction
687
+  (0.0ms) commit transaction
688
+  (0.0ms) begin transaction
689
+  (0.0ms) rollback transaction
690
+  (0.0ms) begin transaction
691
+  (0.0ms) commit transaction
692
+  (0.0ms) begin transaction
693
+  (0.0ms) rollback transaction
694
+  (0.0ms) begin transaction
695
+  (0.0ms) commit transaction
696
+  (0.0ms) begin transaction
697
+  (0.0ms) rollback transaction
698
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
699
+  (0.1ms) begin transaction
700
+  (0.0ms) commit transaction
701
+  (0.0ms) begin transaction
702
+ SQL (2.8ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["id", 1], ["name", "War of the Blonde Wizard"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
703
+  (0.2ms) rollback transaction
704
+  (0.0ms) begin transaction
705
+  (0.0ms) commit transaction
706
+  (0.0ms) begin transaction
707
+  (0.0ms) rollback transaction
708
+  (0.0ms) begin transaction
709
+  (0.0ms) commit transaction
710
+  (0.0ms) begin transaction
711
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["id", 1], ["name", "The Cat from Across the Ocean"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
712
+  (0.3ms) rollback transaction
713
+  (0.0ms) begin transaction
714
+  (0.0ms) commit transaction
715
+  (0.0ms) begin transaction
716
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["id", 1], ["name", "Codename: American Brains"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
717
+  (0.3ms) rollback transaction
718
+  (0.0ms) begin transaction
719
+  (0.0ms) commit transaction
720
+  (0.0ms) begin transaction
721
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["id", 1], ["name", "The Ninja Who Fell to Earth"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
722
+  (0.2ms) rollback transaction
723
+  (0.0ms) begin transaction
724
+ --------------------------------
725
+ BooksControllerTest: test_create
726
+ --------------------------------
727
+  (0.1ms) SAVEPOINT active_record_1
728
+ SQL (0.4ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "Codename: American Brain"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
730
+  (0.0ms) SAVEPOINT active_record_1
731
+ SQL (0.9ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "When Tania Met Deron"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
733
+  (0.1ms) SAVEPOINT active_record_1
734
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "Ultra Witch"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
735
+  (0.0ms) RELEASE SAVEPOINT active_record_1
736
+  (0.0ms) SAVEPOINT active_record_1
737
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "Green World"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
738
+  (0.0ms) RELEASE SAVEPOINT active_record_1
739
+  (0.0ms) SAVEPOINT active_record_1
740
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "The Electric Mutant"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
742
+  (0.1ms) SELECT COUNT(*) FROM "books"
743
+ Processing by BooksController#create as HTML
744
+ Parameters: {"book"=>{"name"=>"newly-created-book"}}
745
+  (0.1ms) SAVEPOINT active_record_1
746
+ SQL (0.2ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "newly-created-book"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
748
+ Redirected to http://test.host/books
749
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
750
+  (0.1ms) SELECT COUNT(*) FROM "books"
751
+  (0.4ms) rollback transaction
752
+  (0.0ms) begin transaction
753
+ -------------------------------
754
+ BooksControllerTest: test_index
755
+ -------------------------------
756
+  (0.0ms) SAVEPOINT active_record_1
757
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "The Hungry Tears from Across the Ocean"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
758
+  (0.0ms) RELEASE SAVEPOINT active_record_1
759
+  (0.0ms) SAVEPOINT active_record_1
760
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "The Clash Who Fell to Earth"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
762
+  (0.0ms) SAVEPOINT active_record_1
763
+ SQL (0.2ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "Dr. Rain"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
765
+  (0.0ms) SAVEPOINT active_record_1
766
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "Bloody Ninja"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
768
+  (0.0ms) SAVEPOINT active_record_1
769
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "The Bloody Witch That Came to Dinner"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
771
+ Processing by BooksController#index as HTML
772
+ Completed 200 OK in 15ms (Views: 14.9ms | ActiveRecord: 0.0ms)
773
+  (0.1ms) SELECT COUNT(*) FROM "books"
774
+  (0.3ms) rollback transaction
775
+  (0.1ms) begin transaction
776
+ ------------------------------
777
+ BooksControllerTest: test_show
778
+ ------------------------------
779
+  (0.0ms) SAVEPOINT active_record_1
780
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "Rise of the Jungle"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
782
+  (0.0ms) SAVEPOINT active_record_1
783
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "Case of the Missing American City"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
785
+  (0.0ms) SAVEPOINT active_record_1
786
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "Green Cousins"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
788
+  (0.0ms) SAVEPOINT active_record_1
789
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "Curse of the Pickpocket"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
791
+  (0.0ms) SAVEPOINT active_record_1
792
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "The Mutant Without a Pickpocket"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
794
+ Processing by BooksController#show as HTML
795
+ Parameters: {"id"=>"1"}
796
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
797
+ Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)
798
+  (0.4ms) rollback transaction
799
+  (0.0ms) begin transaction
800
+ -----------------------------------------------------------------------
801
+ FastlyHeadersTest: test_/books/:id_show_page_should_have_fastly_headers
802
+ -----------------------------------------------------------------------
803
+  (0.0ms) SAVEPOINT active_record_1
804
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["id", 1], ["name", "Champagne Man"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
806
+ Started GET "/books/1" for 127.0.0.1 at 2014-04-27 17:17:07 -0700
807
+ Processing by BooksController#show as HTML
808
+ Parameters: {"id"=>"1"}
809
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
810
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
811
+  (0.4ms) rollback transaction
812
+  (0.0ms) begin transaction
813
+ --------------------------------------------------------------------
814
+ FastlyHeadersTest: test_/books_index_page_should_have_fastly_headers
815
+ --------------------------------------------------------------------
816
+ Started GET "/books" for 127.0.0.1 at 2014-04-27 17:17:07 -0700
817
+ Processing by BooksController#index as HTML
818
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
819
+  (0.1ms) rollback transaction
820
+  (0.0ms) begin transaction
821
+ ----------------------------------------------------------------------------------------------
822
+ FastlyHeadersTest: test_DELETE_/books/:id_should_not_have_fastly_headers/_fastly_header_values
823
+ ----------------------------------------------------------------------------------------------
824
+  (0.0ms) SAVEPOINT active_record_1
825
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["id", 1], ["name", "2808 A.D."], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
827
+ Started DELETE "/books/1" for 127.0.0.1 at 2014-04-27 17:17:07 -0700
828
+ Processing by BooksController#destroy as HTML
829
+ Parameters: {"id"=>"1"}
830
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
831
+  (0.0ms) SAVEPOINT active_record_1
832
+ SQL (0.3ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
833
+  (0.0ms) RELEASE SAVEPOINT active_record_1
834
+ Redirected to http://www.example.com/books
835
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
836
+  (0.1ms) SELECT COUNT(*) FROM "books" WHERE "books"."id" = 1
837
+  (0.5ms) rollback transaction
838
+  (0.0ms) begin transaction
839
+ ----------------------------------------------------------------------------------------
840
+ FastlyHeadersTest: test_POST_/books_should_not_have_fastly_headers/_fastly_header_values
841
+ ----------------------------------------------------------------------------------------
842
+  (0.1ms) SELECT COUNT(*) FROM "books"
843
+ Started POST "/books" for 127.0.0.1 at 2014-04-27 17:17:07 -0700
844
+ Processing by BooksController#create as HTML
845
+ Parameters: {"book"=>{"name"=>"some new book"}}
846
+  (0.1ms) SAVEPOINT active_record_1
847
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
848
+  (0.0ms) RELEASE SAVEPOINT active_record_1
849
+ Redirected to http://www.example.com/books
850
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
851
+  (0.1ms) SELECT COUNT(*) FROM "books"
852
+  (0.3ms) rollback transaction
853
+  (0.1ms) begin transaction
854
+ -------------------------------------------------------------------------------------------
855
+ FastlyHeadersTest: test_PUT_/books/:id_should_not_have_fastly_headers/_fastly_header_values
856
+ -------------------------------------------------------------------------------------------
857
+  (0.0ms) SAVEPOINT active_record_1
858
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00], ["id", 1], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
860
+ Started PUT "/books/1" for 127.0.0.1 at 2014-04-27 17:17:07 -0700
861
+ Processing by BooksController#update as HTML
862
+ Parameters: {"id"=>"1", "book"=>{"name"=>"changed book"}}
863
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
864
+  (0.0ms) SAVEPOINT active_record_1
865
+ SQL (0.4ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = 1 [["name", "changed book"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
867
+ Redirected to http://www.example.com/books/1
868
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
869
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", 1]]
870
+  (0.3ms) rollback transaction
871
+  (0.0ms) begin transaction
872
+  (0.0ms) commit transaction
873
+  (0.0ms) begin transaction
874
+  (0.0ms) rollback transaction
875
+  (0.0ms) begin transaction
876
+ -------------------------------------------------------------------------------------------------
877
+ FastlyRails::CacheControlHeadersTest: test_sets_cache_control_headers_on_actioncontroller_request
878
+ -------------------------------------------------------------------------------------------------
879
+  (0.0ms) rollback transaction
880
+  (0.0ms) begin transaction
881
+  (0.0ms) commit transaction
882
+  (0.0ms) begin transaction
883
+  (0.1ms) rollback transaction
884
+  (0.0ms) begin transaction
885
+  (0.0ms) commit transaction
886
+  (0.0ms) begin transaction
887
+  (0.0ms) rollback transaction
888
+  (0.0ms) begin transaction
889
+  (0.0ms) commit transaction
890
+  (0.0ms) begin transaction
891
+  (0.0ms) rollback transaction
892
+  (0.1ms) begin transaction
893
+  (0.0ms) commit transaction
894
+  (0.0ms) begin transaction
895
+  (0.0ms) rollback transaction
896
+  (0.0ms) begin transaction
897
+  (0.0ms) commit transaction
898
+  (0.0ms) begin transaction
899
+  (0.0ms) rollback transaction
900
+  (0.0ms) begin transaction
901
+  (0.0ms) commit transaction
902
+  (0.0ms) begin transaction
903
+  (0.0ms) rollback transaction
904
+  (0.1ms) begin transaction
905
+  (0.0ms) commit transaction
906
+  (0.0ms) begin transaction
907
+  (0.0ms) rollback transaction
908
+  (0.0ms) begin transaction
909
+  (0.0ms) commit transaction
910
+  (0.0ms) begin transaction
911
+  (0.0ms) rollback transaction
912
+  (0.0ms) begin transaction
913
+  (0.0ms) commit transaction
914
+  (0.1ms) begin transaction
915
+  (0.0ms) rollback transaction
916
+  (0.0ms) begin transaction
917
+  (0.0ms) commit transaction
918
+  (0.0ms) begin transaction
919
+  (0.0ms) rollback transaction
920
+  (0.0ms) begin transaction
921
+  (0.1ms) commit transaction
922
+  (0.0ms) begin transaction
923
+  (0.0ms) rollback transaction
924
+  (0.0ms) begin transaction
925
+  (0.0ms) commit transaction
926
+  (0.0ms) begin transaction
927
+  (0.0ms) rollback transaction
928
+  (0.0ms) begin transaction
929
+  (0.0ms) commit transaction
930
+  (0.0ms) begin transaction
931
+  (0.1ms) rollback transaction
932
+  (0.0ms) begin transaction
933
+  (0.0ms) commit transaction
934
+  (0.0ms) begin transaction
935
+  (0.0ms) rollback transaction
936
+  (0.0ms) begin transaction
937
+  (0.0ms) commit transaction
938
+  (0.0ms) begin transaction
939
+  (0.0ms) rollback transaction
940
+  (0.0ms) begin transaction
941
+  (0.0ms) commit transaction
942
+  (0.0ms) begin transaction
943
+  (0.0ms) rollback transaction
944
+ Connecting to database specified by database.yml
945
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
946
+ Migrating to CreateBooks (20140407202136)
947
+  (0.1ms) begin transaction
948
+  (0.0ms) commit transaction
949
+  (0.0ms) begin transaction
950
+  (0.0ms) rollback transaction
951
+  (0.0ms) begin transaction
952
+  (0.0ms) commit transaction
953
+  (0.0ms) begin transaction
954
+  (0.0ms) SAVEPOINT active_record_1
955
+ SQL (2.5ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["id", 1], ["name", "The Tentacle with a Thousand Faces"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
956
+  (0.0ms) RELEASE SAVEPOINT active_record_1
957
+  (6.2ms) rollback transaction
958
+  (0.0ms) begin transaction
959
+  (0.0ms) commit transaction
960
+  (0.0ms) begin transaction
961
+  (0.0ms) SAVEPOINT active_record_1
962
+ SQL (0.4ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["id", 1], ["name", "The Blonde Dreams from Hell"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
964
+  (0.3ms) rollback transaction
965
+  (0.0ms) begin transaction
966
+  (0.0ms) commit transaction
967
+  (0.0ms) begin transaction
968
+  (0.0ms) SAVEPOINT active_record_1
969
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["id", 1], ["name", "The Fly Who Fell to Earth"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
971
+  (0.3ms) rollback transaction
972
+  (0.0ms) begin transaction
973
+  (0.0ms) commit transaction
974
+  (0.0ms) begin transaction
975
+  (0.0ms) SAVEPOINT active_record_1
976
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["id", 1], ["name", "The Tokyo Beast from Mars"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
978
+  (0.2ms) rollback transaction
979
+  (0.0ms) begin transaction
980
+  (0.0ms) SAVEPOINT active_record_1
981
+ SQL (0.4ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "Legend of Brains"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
982
+  (0.0ms) RELEASE SAVEPOINT active_record_1
983
+  (0.0ms) SAVEPOINT active_record_1
984
+ SQL (0.9ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "The Ultra Brain from Mars"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
986
+  (0.0ms) SAVEPOINT active_record_1
987
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "Action Cousins"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
989
+  (0.0ms) SAVEPOINT active_record_1
990
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "The Green Friday from Across the Ocean"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
992
+  (0.0ms) SAVEPOINT active_record_1
993
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "Demon 2: Electric Boogaloo"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
995
+  (0.0ms) SELECT COUNT(*) FROM "books"
996
+ Processing by BooksController#create as HTML
997
+ Parameters: {"book"=>{"name"=>"newly-created-book"}}
998
+  (0.0ms) SAVEPOINT active_record_1
999
+ SQL (0.2ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "newly-created-book"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1001
+ Redirected to http://test.host/books
1002
+ Completed 302 Found in 2.1ms (ActiveRecord: 0.3ms)
1003
+  (0.0ms) SELECT COUNT(*) FROM "books"
1004
+  (0.4ms) rollback transaction
1005
+  (0.1ms) begin transaction
1006
+  (0.0ms) SAVEPOINT active_record_1
1007
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "Danger Wolf"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1009
+  (0.0ms) SAVEPOINT active_record_1
1010
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "The Men from Outer Space"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1011
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1012
+  (0.0ms) SAVEPOINT active_record_1
1013
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "Curse of the Wolf"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1015
+  (0.0ms) SAVEPOINT active_record_1
1016
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "The Blue Mutant from Mars"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1018
+  (0.0ms) SAVEPOINT active_record_1
1019
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "Red Dreams"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1021
+ Processing by BooksController#index as HTML
1022
+ Book Load (0.1ms) SELECT "books".* FROM "books"
1023
+ Completed 200 OK in 7.1ms (Views: 5.9ms | ActiveRecord: 0.1ms)
1024
+  (0.4ms) rollback transaction
1025
+  (0.0ms) begin transaction
1026
+  (0.0ms) SAVEPOINT active_record_1
1027
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "Killer Man"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1028
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1029
+  (0.0ms) SAVEPOINT active_record_1
1030
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "Green Cat"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1032
+  (0.0ms) SAVEPOINT active_record_1
1033
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "A Fistful of Wizard"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1035
+  (0.0ms) SAVEPOINT active_record_1
1036
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "Day of the Tentacle"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1038
+  (0.0ms) SAVEPOINT active_record_1
1039
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "Dangerous Man"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1040
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1041
+ Processing by BooksController#show as HTML
1042
+ Parameters: {"id"=>"1"}
1043
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
1044
+ Completed 200 OK in 3.8ms (Views: 1.6ms | ActiveRecord: 0.2ms)
1045
+  (0.4ms) rollback transaction
1046
+  (0.0ms) begin transaction
1047
+  (0.0ms) SAVEPOINT active_record_1
1048
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["id", 1], ["name", "The Mutant Who Fell to Earth"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1049
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1050
+ Started GET "/books/1" for 127.0.0.1 at 2014-04-27 17:17:16 -0700
1051
+ Processing by BooksController#show as HTML
1052
+ Parameters: {"id"=>"1"}
1053
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
1054
+ Completed 200 OK in 1.7ms (Views: 0.9ms | ActiveRecord: 0.1ms)
1055
+  (0.3ms) rollback transaction
1056
+  (0.0ms) begin transaction
1057
+ Started GET "/books" for 127.0.0.1 at 2014-04-27 17:17:16 -0700
1058
+ Processing by BooksController#index as HTML
1059
+ Book Load (0.1ms) SELECT "books".* FROM "books" 
1060
+ Completed 200 OK in 1.8ms (Views: 1.0ms | ActiveRecord: 0.1ms)
1061
+  (0.0ms) rollback transaction
1062
+  (0.0ms) begin transaction
1063
+  (0.1ms) SAVEPOINT active_record_1
1064
+ SQL (0.4ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["id", 1], ["name", "Flying Ninja"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1066
+ Started DELETE "/books/1" for 127.0.0.1 at 2014-04-27 17:17:16 -0700
1067
+ Processing by BooksController#destroy as HTML
1068
+ Parameters: {"id"=>"1"}
1069
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
1070
+  (0.0ms) SAVEPOINT active_record_1
1071
+ SQL (0.3ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
1072
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1073
+ Redirected to http://www.example.com/books
1074
+ Completed 302 Found in 2.4ms (ActiveRecord: 0.5ms)
1075
+  (0.1ms) SELECT COUNT(*) FROM "books" WHERE "books"."id" = 1
1076
+  (0.3ms) rollback transaction
1077
+  (0.0ms) begin transaction
1078
+  (0.1ms) SELECT COUNT(*) FROM "books"
1079
+ Started POST "/books" for 127.0.0.1 at 2014-04-27 17:17:16 -0700
1080
+ Processing by BooksController#create as HTML
1081
+ Parameters: {"book"=>{"name"=>"some new book"}}
1082
+  (0.0ms) SAVEPOINT active_record_1
1083
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1084
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1085
+ Redirected to http://www.example.com/books
1086
+ Completed 302 Found in 1.8ms (ActiveRecord: 0.4ms)
1087
+  (0.0ms) SELECT COUNT(*) FROM "books"
1088
+  (0.3ms) rollback transaction
1089
+  (0.0ms) begin transaction
1090
+  (0.0ms) SAVEPOINT active_record_1
1091
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00], ["id", 1], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:17:16 UTC +00:00]]
1092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1093
+ Started PUT "/books/1" for 127.0.0.1 at 2014-04-27 17:17:16 -0700
1094
+ Processing by BooksController#update as HTML
1095
+ Parameters: {"id"=>"1", "book"=>{"name"=>"changed book"}}
1096
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
1097
+  (0.0ms) SAVEPOINT active_record_1
1098
+  (0.3ms) UPDATE "books" SET "name" = 'changed book', "updated_at" = '2014-04-28 00:17:16.923590' WHERE "books"."id" = 1
1099
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1100
+ Redirected to http://www.example.com/books/1
1101
+ Completed 302 Found in 3.0ms (ActiveRecord: 0.4ms)
1102
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", 1]]
1103
+  (0.3ms) rollback transaction
1104
+  (0.0ms) begin transaction
1105
+  (0.0ms) commit transaction
1106
+  (0.0ms) begin transaction
1107
+  (0.0ms) rollback transaction
1108
+  (0.0ms) begin transaction
1109
+  (0.0ms) rollback transaction
1110
+  (0.0ms) begin transaction
1111
+  (0.0ms) commit transaction
1112
+  (0.0ms) begin transaction
1113
+  (0.1ms) rollback transaction
1114
+  (0.0ms) begin transaction
1115
+  (0.0ms) commit transaction
1116
+  (0.0ms) begin transaction
1117
+  (0.0ms) rollback transaction
1118
+  (0.0ms) begin transaction
1119
+  (0.1ms) commit transaction
1120
+  (0.0ms) begin transaction
1121
+  (0.0ms) rollback transaction
1122
+  (0.0ms) begin transaction
1123
+  (0.0ms) commit transaction
1124
+  (0.0ms) begin transaction
1125
+  (0.0ms) rollback transaction
1126
+  (0.0ms) begin transaction
1127
+  (0.0ms) commit transaction
1128
+  (0.0ms) begin transaction
1129
+  (0.0ms) rollback transaction
1130
+  (0.0ms) begin transaction
1131
+  (0.0ms) commit transaction
1132
+  (0.0ms) begin transaction
1133
+  (0.0ms) rollback transaction
1134
+  (0.0ms) begin transaction
1135
+  (0.0ms) commit transaction
1136
+  (0.0ms) begin transaction
1137
+  (0.0ms) rollback transaction
1138
+  (0.0ms) begin transaction
1139
+  (0.0ms) commit transaction
1140
+  (0.0ms) begin transaction
1141
+  (0.0ms) rollback transaction
1142
+  (0.0ms) begin transaction
1143
+  (0.0ms) commit transaction
1144
+  (0.0ms) begin transaction
1145
+  (0.0ms) rollback transaction
1146
+  (0.0ms) begin transaction
1147
+  (0.0ms) commit transaction
1148
+  (0.0ms) begin transaction
1149
+  (0.0ms) rollback transaction
1150
+  (0.0ms) begin transaction
1151
+  (0.0ms) commit transaction
1152
+  (0.0ms) begin transaction
1153
+  (0.0ms) rollback transaction
1154
+  (0.0ms) begin transaction
1155
+  (0.0ms) commit transaction
1156
+  (0.0ms) begin transaction
1157
+  (0.0ms) rollback transaction
1158
+  (0.0ms) begin transaction
1159
+  (0.0ms) commit transaction
1160
+  (0.0ms) begin transaction
1161
+  (0.0ms) rollback transaction
1162
+  (0.0ms) begin transaction
1163
+  (0.0ms) commit transaction
1164
+  (0.0ms) begin transaction
1165
+  (0.0ms) rollback transaction
1166
+  (0.0ms) begin transaction
1167
+  (0.0ms) commit transaction
1168
+  (0.0ms) begin transaction
1169
+  (0.0ms) rollback transaction
1170
+  (0.0ms) begin transaction
1171
+  (0.0ms) commit transaction
1172
+  (0.0ms) begin transaction
1173
+  (0.0ms) rollback transaction
1174
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1175
+  (0.1ms) begin transaction
1176
+  (0.0ms) commit transaction
1177
+  (0.0ms) begin transaction
1178
+  (0.0ms) rollback transaction
1179
+  (0.0ms) begin transaction
1180
+  (0.0ms) commit transaction
1181
+  (0.0ms) begin transaction
1182
+ SQL (2.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["id", 1], ["name", "1160 A.D."], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1183
+  (0.3ms) rollback transaction
1184
+  (0.0ms) begin transaction
1185
+  (0.0ms) commit transaction
1186
+  (0.0ms) begin transaction
1187
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["id", 1], ["name", "Blonde Ninjas"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1188
+  (0.3ms) rollback transaction
1189
+  (0.0ms) begin transaction
1190
+  (0.0ms) commit transaction
1191
+  (0.0ms) begin transaction
1192
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["id", 1], ["name", "Planet of the Ninja"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1193
+  (0.2ms) rollback transaction
1194
+  (0.0ms) begin transaction
1195
+  (0.0ms) commit transaction
1196
+  (0.0ms) begin transaction
1197
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["id", 1], ["name", "Ultra Diaries"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1198
+  (0.2ms) rollback transaction
1199
+  (0.0ms) begin transaction
1200
+ --------------------------------
1201
+ BooksControllerTest: test_create
1202
+ --------------------------------
1203
+  (0.1ms) SAVEPOINT active_record_1
1204
+ SQL (0.4ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "The Friday That Came to Dinner"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1206
+  (0.0ms) SAVEPOINT active_record_1
1207
+ SQL (0.8ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "The World from Mars"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1209
+  (0.0ms) SAVEPOINT active_record_1
1210
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "The Nuclear Witch from Mars"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1212
+  (0.0ms) SAVEPOINT active_record_1
1213
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "The Brains That Came to Dinner"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1215
+  (0.0ms) SAVEPOINT active_record_1
1216
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "A Fistful of Pickpocket"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1217
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1218
+  (0.1ms) SELECT COUNT(*) FROM "books"
1219
+ Processing by BooksController#create as HTML
1220
+ Parameters: {"book"=>{"name"=>"newly-created-book"}}
1221
+  (0.1ms) SAVEPOINT active_record_1
1222
+ SQL (0.2ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "newly-created-book"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1224
+ Redirected to http://test.host/books
1225
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
1226
+  (0.1ms) SELECT COUNT(*) FROM "books"
1227
+  (0.4ms) rollback transaction
1228
+  (0.0ms) begin transaction
1229
+ -------------------------------
1230
+ BooksControllerTest: test_index
1231
+ -------------------------------
1232
+  (0.0ms) SAVEPOINT active_record_1
1233
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "The American Wolves from Across the Ocean"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1235
+  (0.0ms) SAVEPOINT active_record_1
1236
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "Rise of the Cousins"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1238
+  (0.0ms) SAVEPOINT active_record_1
1239
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "Electric World"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1241
+  (0.0ms) SAVEPOINT active_record_1
1242
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "Christmas on Olga Ports"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1243
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1244
+  (0.0ms) SAVEPOINT active_record_1
1245
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "The Green Mutant Who Fell to Earth"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1247
+ Processing by BooksController#index as HTML
1248
+ Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms)
1249
+  (0.1ms) SELECT COUNT(*) FROM "books"
1250
+  (0.4ms) rollback transaction
1251
+  (0.0ms) begin transaction
1252
+ ------------------------------
1253
+ BooksControllerTest: test_show
1254
+ ------------------------------
1255
+  (0.0ms) SAVEPOINT active_record_1
1256
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "Green Monster"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1258
+  (0.0ms) SAVEPOINT active_record_1
1259
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "The Rain Who Fell to Earth"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1260
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1261
+  (0.0ms) SAVEPOINT active_record_1
1262
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "Blonde Diaries"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1264
+  (0.0ms) SAVEPOINT active_record_1
1265
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "Hungry Identity"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1267
+  (0.0ms) SAVEPOINT active_record_1
1268
+ SQL (0.1ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "Journey of the Dreams"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1269
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1270
+ Processing by BooksController#show as HTML
1271
+ Parameters: {"id"=>"1"}
1272
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
1273
+ Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)
1274
+  (0.5ms) rollback transaction
1275
+  (0.0ms) begin transaction
1276
+ -----------------------------------------------------------------------
1277
+ FastlyHeadersTest: test_/books/:id_show_page_should_have_fastly_headers
1278
+ -----------------------------------------------------------------------
1279
+  (0.0ms) SAVEPOINT active_record_1
1280
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["id", 1], ["name", "Flying Friday"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1282
+ Started GET "/books/1" for 127.0.0.1 at 2014-04-27 17:17:19 -0700
1283
+ Processing by BooksController#show as HTML
1284
+ Parameters: {"id"=>"1"}
1285
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
1286
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
1287
+  (0.5ms) rollback transaction
1288
+  (0.0ms) begin transaction
1289
+ --------------------------------------------------------------------
1290
+ FastlyHeadersTest: test_/books_index_page_should_have_fastly_headers
1291
+ --------------------------------------------------------------------
1292
+ Started GET "/books" for 127.0.0.1 at 2014-04-27 17:17:19 -0700
1293
+ Processing by BooksController#index as HTML
1294
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1295
+  (0.1ms) rollback transaction
1296
+  (0.0ms) begin transaction
1297
+ ----------------------------------------------------------------------------------------------
1298
+ FastlyHeadersTest: test_DELETE_/books/:id_should_not_have_fastly_headers/_fastly_header_values
1299
+ ----------------------------------------------------------------------------------------------
1300
+  (0.0ms) SAVEPOINT active_record_1
1301
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["id", 1], ["name", "When Mattie Met Jacky"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1303
+ Started DELETE "/books/1" for 127.0.0.1 at 2014-04-27 17:17:19 -0700
1304
+ Processing by BooksController#destroy as HTML
1305
+ Parameters: {"id"=>"1"}
1306
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
1307
+  (0.0ms) SAVEPOINT active_record_1
1308
+ SQL (0.3ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
1309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1310
+ Redirected to http://www.example.com/books
1311
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
1312
+  (0.1ms) SELECT COUNT(*) FROM "books" WHERE "books"."id" = 1
1313
+  (0.3ms) rollback transaction
1314
+  (0.0ms) begin transaction
1315
+ ----------------------------------------------------------------------------------------
1316
+ FastlyHeadersTest: test_POST_/books_should_not_have_fastly_headers/_fastly_header_values
1317
+ ----------------------------------------------------------------------------------------
1318
+  (0.1ms) SELECT COUNT(*) FROM "books"
1319
+ Started POST "/books" for 127.0.0.1 at 2014-04-27 17:17:19 -0700
1320
+ Processing by BooksController#create as HTML
1321
+ Parameters: {"book"=>{"name"=>"some new book"}}
1322
+  (0.0ms) SAVEPOINT active_record_1
1323
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1325
+ Redirected to http://www.example.com/books
1326
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
1327
+  (0.1ms) SELECT COUNT(*) FROM "books"
1328
+  (0.3ms) rollback transaction
1329
+  (0.0ms) begin transaction
1330
+ -------------------------------------------------------------------------------------------
1331
+ FastlyHeadersTest: test_PUT_/books/:id_should_not_have_fastly_headers/_fastly_header_values
1332
+ -------------------------------------------------------------------------------------------
1333
+  (0.1ms) SAVEPOINT active_record_1
1334
+ SQL (0.3ms) INSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00], ["id", 1], ["name", "some new book"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1336
+ Started PUT "/books/1" for 127.0.0.1 at 2014-04-27 17:17:19 -0700
1337
+ Processing by BooksController#update as HTML
1338
+ Parameters: {"id"=>"1", "book"=>{"name"=>"changed book"}}
1339
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
1340
+  (0.0ms) SAVEPOINT active_record_1
1341
+ SQL (0.4ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = 1 [["name", "changed book"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
1342
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1343
+ Redirected to http://www.example.com/books/1
1344
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
1345
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", 1]]
1346
+  (0.4ms) rollback transaction
1347
+  (0.0ms) begin transaction
1348
+  (0.0ms) commit transaction
1349
+  (0.0ms) begin transaction
1350
+  (0.0ms) rollback transaction
1351
+  (0.0ms) begin transaction
1352
+ -------------------------------------------------------------------------------------------------
1353
+ FastlyRails::CacheControlHeadersTest: test_sets_cache_control_headers_on_actioncontroller_request
1354
+ -------------------------------------------------------------------------------------------------
1355
+  (0.1ms) rollback transaction
1356
+  (0.0ms) begin transaction
1357
+  (0.0ms) commit transaction
1358
+  (0.0ms) begin transaction
1359
+  (0.1ms) rollback transaction
1360
+  (0.0ms) begin transaction
1361
+  (0.0ms) commit transaction
1362
+  (0.0ms) begin transaction
1363
+  (0.0ms) rollback transaction
1364
+  (0.0ms) begin transaction
1365
+  (0.0ms) commit transaction
1366
+  (0.0ms) begin transaction
1367
+  (0.0ms) rollback transaction
1368
+  (0.0ms) begin transaction
1369
+  (0.0ms) commit transaction
1370
+  (0.0ms) begin transaction
1371
+  (0.0ms) rollback transaction
1372
+  (0.0ms) begin transaction
1373
+  (0.0ms) commit transaction
1374
+  (0.0ms) begin transaction
1375
+  (0.0ms) rollback transaction
1376
+  (0.0ms) begin transaction
1377
+  (0.0ms) commit transaction
1378
+  (0.0ms) begin transaction
1379
+  (0.0ms) rollback transaction
1380
+  (0.0ms) begin transaction
1381
+  (0.0ms) commit transaction
1382
+  (0.0ms) begin transaction
1383
+  (0.0ms) rollback transaction
1384
+  (0.0ms) begin transaction
1385
+  (0.0ms) commit transaction
1386
+  (0.0ms) begin transaction
1387
+  (0.0ms) rollback transaction
1388
+  (0.0ms) begin transaction
1389
+  (0.0ms) commit transaction
1390
+  (0.0ms) begin transaction
1391
+  (0.0ms) rollback transaction
1392
+  (0.0ms) begin transaction
1393
+  (0.0ms) commit transaction
1394
+  (0.0ms) begin transaction
1395
+  (0.0ms) rollback transaction
1396
+  (0.0ms) begin transaction
1397
+  (0.0ms) commit transaction
1398
+  (0.0ms) begin transaction
1399
+  (0.0ms) rollback transaction
1400
+  (0.0ms) begin transaction
1401
+  (0.0ms) commit transaction
1402
+  (0.0ms) begin transaction
1403
+  (0.0ms) rollback transaction
1404
+  (0.0ms) begin transaction
1405
+  (0.0ms) commit transaction
1406
+  (0.0ms) begin transaction
1407
+  (0.0ms) rollback transaction
1408
+  (0.0ms) begin transaction
1409
+  (0.0ms) commit transaction
1410
+  (0.0ms) begin transaction
1411
+  (0.0ms) rollback transaction
1412
+  (0.0ms) begin transaction
1413
+  (0.0ms) commit transaction
1414
+  (0.0ms) begin transaction
1415
+  (0.0ms) rollback transaction
1416
+  (0.0ms) begin transaction
1417
+  (0.0ms) commit transaction
1418
+  (0.0ms) begin transaction
1419
+  (0.0ms) rollback transaction