fastly-rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastly-rails.rb +10 -11
- data/lib/fastly-rails/action_controller/cache_control_headers.rb +0 -4
- data/lib/fastly-rails/action_controller/surrogate_control_headers.rb +1 -6
- data/lib/fastly-rails/active_record/surrogate_key.rb +12 -20
- data/lib/fastly-rails/client.rb +1 -8
- data/lib/fastly-rails/configuration.rb +10 -31
- data/lib/fastly-rails/version.rb +1 -1
- data/test/dummy/app/controllers/books_controller.rb +1 -0
- data/test/dummy/app/models/book.rb +0 -10
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1419 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/fastly-rails/configuration_test.rb +0 -13
- metadata +18 -3
- data/lib/fastly/purgeable.rb +0 -55
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 070f77c971009cf049b253a6b2aeffc99966956f
|
4
|
+
data.tar.gz: 8c349160847adb26fbb39957f673bc66a7af1e11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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
|
-
#
|
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
|
-
|
23
|
-
|
24
|
-
|
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
|
-
|
33
|
-
|
34
|
-
|
22
|
+
def table_key
|
23
|
+
self.class.table_key
|
24
|
+
end
|
35
25
|
|
36
|
-
|
37
|
-
|
38
|
-
|
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
|
data/lib/fastly-rails/client.rb
CHANGED
@@ -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
|
-
|
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
|
-
@
|
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
|
33
|
-
|
16
|
+
def authenticatable?
|
17
|
+
!!(api_key || has_credentials?)
|
34
18
|
end
|
35
19
|
|
36
|
-
|
37
|
-
@max_age = val
|
38
|
-
end
|
20
|
+
private
|
39
21
|
|
40
|
-
def
|
41
|
-
|
22
|
+
def has_credentials?
|
23
|
+
user && password
|
42
24
|
end
|
43
|
-
|
44
25
|
end
|
45
|
-
|
46
26
|
end
|
47
|
-
|
data/lib/fastly-rails/version.rb
CHANGED
Binary file
|
@@ -0,0 +1,1419 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
5
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
6
|
+
Migrating to CreateBooks (20140407202136)
|
7
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
9
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140407202136')[0m
|
10
|
+
[1m[35m (0.4ms)[0m commit transaction
|
11
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
+
[1m[35m (0.0ms)[0m commit transaction
|
13
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15
|
+
[1m[36mSQL (4.1ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
18
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
20
|
+
[1m[35m (0.0ms)[0m begin transaction
|
21
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
25
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26
|
+
[1m[35m (0.0ms)[0m commit transaction
|
27
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
29
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
31
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
32
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
34
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
39
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
47
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
48
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
51
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
53
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
54
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
59
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "books" [0m
|
60
|
+
Processing by BooksController#create as HTML
|
61
|
+
Parameters: {"book"=>{"name"=>"newly-created-book"}}
|
62
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
63
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
65
|
+
Redirected to http://test.host/books
|
66
|
+
Completed 302 Found in 2.1ms (ActiveRecord: 0.2ms)
|
67
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "books" [0m
|
68
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
69
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
71
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
73
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
74
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
79
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
80
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
82
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
83
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85
|
+
Processing by BooksController#index as HTML
|
86
|
+
[1m[36mBook Load (0.1ms)[0m [1mSELECT "books".* FROM "books" [0m
|
87
|
+
Completed 200 OK in 9.8ms (Views: 8.7ms | ActiveRecord: 0.1ms)
|
88
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
89
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
90
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
91
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
93
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
94
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
97
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
99
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
100
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
102
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
103
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
105
|
+
Processing by BooksController#show as HTML
|
106
|
+
Parameters: {"id"=>"1"}
|
107
|
+
[1m[36mBook Load (0.1ms)[0m [1mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1[0m [["id", "1"]]
|
108
|
+
Completed 200 OK in 4.0ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
109
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
110
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
111
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
112
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mBook Load (0.1ms)[0m [1mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1[0m [["id", "1"]]
|
118
|
+
Completed 200 OK in 2.0ms (Views: 1.0ms | ActiveRecord: 0.1ms)
|
119
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35mBook Load (0.1ms)[0m SELECT "books".* FROM "books"
|
124
|
+
Completed 200 OK in 1.5ms (Views: 0.9ms | ActiveRecord: 0.1ms)
|
125
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
126
|
+
[1m[35m (0.0ms)[0m begin transaction
|
127
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
128
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mBook Load (0.0ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
|
134
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
135
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
|
136
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137
|
+
Redirected to http://www.example.com/books
|
138
|
+
Completed 302 Found in 2.3ms (ActiveRecord: 0.5ms)
|
139
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "books" WHERE "books"."id" = 1
|
140
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
141
|
+
[1m[35m (0.0ms)[0m begin transaction
|
142
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "books" [0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
147
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
149
|
+
Redirected to http://www.example.com/books
|
150
|
+
Completed 302 Found in 1.8ms (ActiveRecord: 0.5ms)
|
151
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "books" [0m
|
152
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
153
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
154
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
155
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mBook Load (0.0ms)[0m [1mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1[0m [["id", "1"]]
|
161
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
162
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "books" SET "name" = 'changed book', "updated_at" = '2014-04-28 00:15:52.830994' WHERE "books"."id" = 1[0m
|
163
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mBook Load (0.0ms)[0m [1mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1[0m [["id", 1]]
|
167
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
168
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
169
|
+
[1m[35m (0.0ms)[0m commit transaction
|
170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
171
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
173
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
175
|
+
[1m[35m (0.0ms)[0m commit transaction
|
176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
177
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
178
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
179
|
+
[1m[35m (0.0ms)[0m commit transaction
|
180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
181
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
182
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
183
|
+
[1m[35m (0.1ms)[0m commit transaction
|
184
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
185
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
187
|
+
[1m[35m (0.0ms)[0m commit transaction
|
188
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
189
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
191
|
+
[1m[35m (0.0ms)[0m commit transaction
|
192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
193
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
194
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
195
|
+
[1m[35m (0.0ms)[0m commit transaction
|
196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
197
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
198
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
199
|
+
[1m[35m (0.1ms)[0m commit transaction
|
200
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
201
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
202
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
203
|
+
[1m[35m (0.0ms)[0m commit transaction
|
204
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
205
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
207
|
+
[1m[35m (0.0ms)[0m commit transaction
|
208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
209
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
211
|
+
[1m[35m (0.0ms)[0m commit transaction
|
212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
213
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
214
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
215
|
+
[1m[35m (0.0ms)[0m commit transaction
|
216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
217
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
218
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
219
|
+
[1m[35m (0.0ms)[0m commit transaction
|
220
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
221
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
223
|
+
[1m[35m (0.0ms)[0m commit transaction
|
224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
225
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
226
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
227
|
+
[1m[35m (0.0ms)[0m commit transaction
|
228
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
229
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
230
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
231
|
+
[1m[35m (0.0ms)[0m commit transaction
|
232
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
233
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
235
|
+
[1m[35m (0.0ms)[0m commit transaction
|
236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
237
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
238
|
+
Connecting to database specified by database.yml
|
239
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
240
|
+
Migrating to CreateBooks (20140407202136)
|
241
|
+
[1m[35m (0.1ms)[0m begin transaction
|
242
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
243
|
+
[1m[35m (0.0ms)[0m begin transaction
|
244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
245
|
+
[1m[35mSQL (2.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
247
|
+
[1m[35m (6.2ms)[0m rollback transaction
|
248
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
249
|
+
[1m[35m (0.0ms)[0m commit transaction
|
250
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
251
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
252
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
253
|
+
[1m[35m (0.0ms)[0m commit transaction
|
254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
255
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
256
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
258
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
259
|
+
[1m[35m (0.0ms)[0m begin transaction
|
260
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
261
|
+
[1m[35m (0.0ms)[0m begin transaction
|
262
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
263
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
265
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
266
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
267
|
+
[1m[35m (0.0ms)[0m commit transaction
|
268
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
269
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
270
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
272
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
273
|
+
[1m[35m (0.0ms)[0m begin transaction
|
274
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
275
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
278
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
280
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
281
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
283
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
284
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
286
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
287
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
289
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "books"
|
290
|
+
Processing by BooksController#create as HTML
|
291
|
+
Parameters: {"book"=>{"name"=>"newly-created-book"}}
|
292
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
293
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295
|
+
Redirected to http://test.host/books
|
296
|
+
Completed 302 Found in 1.8ms (ActiveRecord: 0.2ms)
|
297
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "books"
|
298
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
299
|
+
[1m[35m (0.0ms)[0m begin transaction
|
300
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
301
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
303
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
304
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
306
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
307
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
309
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
310
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
312
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
313
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
315
|
+
Processing by BooksController#index as HTML
|
316
|
+
[1m[35mBook Load (0.1ms)[0m SELECT "books".* FROM "books"
|
317
|
+
Completed 200 OK in 6.8ms (Views: 5.8ms | ActiveRecord: 0.1ms)
|
318
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
319
|
+
[1m[35m (0.0ms)[0m begin transaction
|
320
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
321
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
323
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
324
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
326
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
327
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
329
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
330
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
332
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
333
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
335
|
+
Processing by BooksController#show as HTML
|
336
|
+
Parameters: {"id"=>"1"}
|
337
|
+
[1m[35mBook Load (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
340
|
+
[1m[35m (0.0ms)[0m begin transaction
|
341
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
342
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mBook Load (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
350
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mBook Load (0.1ms)[0m [1mSELECT "books".* FROM "books" [0m
|
354
|
+
Completed 200 OK in 1.4ms (Views: 0.9ms | ActiveRecord: 0.1ms)
|
355
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
356
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
357
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
358
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mBook Load (0.0ms)[0m [1mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1[0m [["id", "1"]]
|
364
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
365
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "books" WHERE "books"."id" = ?[0m [["id", 1]]
|
366
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
367
|
+
Redirected to http://www.example.com/books
|
368
|
+
Completed 302 Found in 2.9ms (ActiveRecord: 0.6ms)
|
369
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "books" WHERE "books"."id" = 1[0m
|
370
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
371
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
372
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
377
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
379
|
+
Redirected to http://www.example.com/books
|
380
|
+
Completed 302 Found in 1.8ms (ActiveRecord: 0.4ms)
|
381
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "books"
|
382
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
383
|
+
[1m[35m (0.0ms)[0m begin transaction
|
384
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
385
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mBook Load (0.0ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
|
391
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
392
|
+
[1m[35m (0.3ms)[0m UPDATE "books" SET "name" = 'changed book', "updated_at" = '2014-04-28 00:16:04.739229' WHERE "books"."id" = 1
|
393
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
394
|
+
Redirected to http://www.example.com/books/1
|
395
|
+
Completed 302 Found in 3.4ms (ActiveRecord: 0.4ms)
|
396
|
+
[1m[35mBook Load (0.0ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", 1]]
|
397
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
398
|
+
[1m[35m (0.0ms)[0m begin transaction
|
399
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
400
|
+
[1m[35m (0.0ms)[0m begin transaction
|
401
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
402
|
+
[1m[35m (0.0ms)[0m begin transaction
|
403
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
404
|
+
[1m[35m (0.0ms)[0m begin transaction
|
405
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
406
|
+
[1m[35m (0.0ms)[0m begin transaction
|
407
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
408
|
+
[1m[35m (0.0ms)[0m begin transaction
|
409
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
411
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
412
|
+
[1m[35m (0.0ms)[0m begin transaction
|
413
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
414
|
+
[1m[35m (0.1ms)[0m begin transaction
|
415
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
416
|
+
[1m[35m (0.0ms)[0m begin transaction
|
417
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
419
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
420
|
+
[1m[35m (0.0ms)[0m begin transaction
|
421
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
422
|
+
[1m[35m (0.0ms)[0m begin transaction
|
423
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
424
|
+
[1m[35m (0.0ms)[0m begin transaction
|
425
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
426
|
+
[1m[35m (0.0ms)[0m begin transaction
|
427
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
428
|
+
[1m[35m (0.0ms)[0m begin transaction
|
429
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
430
|
+
[1m[35m (0.0ms)[0m begin transaction
|
431
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
432
|
+
[1m[35m (0.0ms)[0m begin transaction
|
433
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
434
|
+
[1m[35m (0.0ms)[0m begin transaction
|
435
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
436
|
+
[1m[35m (0.0ms)[0m begin transaction
|
437
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
438
|
+
[1m[35m (0.0ms)[0m begin transaction
|
439
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
440
|
+
[1m[35m (0.0ms)[0m begin transaction
|
441
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
442
|
+
[1m[35m (0.0ms)[0m begin transaction
|
443
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
444
|
+
[1m[35m (0.0ms)[0m begin transaction
|
445
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
446
|
+
[1m[35m (0.0ms)[0m begin transaction
|
447
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
448
|
+
[1m[35m (0.0ms)[0m begin transaction
|
449
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
450
|
+
[1m[35m (0.0ms)[0m begin transaction
|
451
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
452
|
+
[1m[35m (0.0ms)[0m begin transaction
|
453
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
454
|
+
[1m[35m (0.0ms)[0m begin transaction
|
455
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
456
|
+
[1m[35m (0.0ms)[0m begin transaction
|
457
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
458
|
+
[1m[35m (0.0ms)[0m begin transaction
|
459
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
460
|
+
[1m[35m (0.0ms)[0m begin transaction
|
461
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
462
|
+
[1m[35m (0.0ms)[0m begin transaction
|
463
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
464
|
+
[1m[35m (0.0ms)[0m begin transaction
|
465
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
466
|
+
[1m[35m (0.0ms)[0m begin transaction
|
467
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
468
|
+
Connecting to database specified by database.yml
|
469
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
470
|
+
Migrating to CreateBooks (20140407202136)
|
471
|
+
[1m[35m (0.1ms)[0m begin transaction
|
472
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
473
|
+
[1m[35m (0.0ms)[0m begin transaction
|
474
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
475
|
+
[1m[35mSQL (2.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
477
|
+
[1m[35m (6.2ms)[0m rollback transaction
|
478
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
479
|
+
[1m[35m (0.0ms)[0m commit transaction
|
480
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
481
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
482
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
483
|
+
[1m[35m (0.0ms)[0m commit transaction
|
484
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
485
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
486
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
488
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
489
|
+
[1m[35m (0.0ms)[0m begin transaction
|
490
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
491
|
+
[1m[35m (0.0ms)[0m begin transaction
|
492
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
493
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
495
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
496
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
497
|
+
[1m[35m (0.0ms)[0m commit transaction
|
498
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
499
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
500
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
502
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
503
|
+
[1m[35m (0.0ms)[0m begin transaction
|
504
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
505
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
507
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
508
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
510
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
511
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
513
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
514
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
516
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
517
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
519
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "books"
|
520
|
+
Processing by BooksController#create as HTML
|
521
|
+
Parameters: {"book"=>{"name"=>"newly-created-book"}}
|
522
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
523
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
525
|
+
Redirected to http://test.host/books
|
526
|
+
Completed 302 Found in 2.0ms (ActiveRecord: 0.2ms)
|
527
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "books"
|
528
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
531
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
533
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
534
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
536
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
537
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
539
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
540
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
542
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
543
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
545
|
+
Processing by BooksController#index as HTML
|
546
|
+
[1m[35mBook Load (0.1ms)[0m SELECT "books".* FROM "books"
|
547
|
+
Completed 200 OK in 7.4ms (Views: 6.2ms | ActiveRecord: 0.1ms)
|
548
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
550
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
551
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
553
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
554
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
556
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
557
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
559
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
560
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
562
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
563
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
565
|
+
Processing by BooksController#show as HTML
|
566
|
+
Parameters: {"id"=>"1"}
|
567
|
+
[1m[35mBook Load (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
570
|
+
[1m[35m (0.0ms)[0m begin transaction
|
571
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
572
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mBook Load (0.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
580
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mBook Load (0.2ms)[0m [1mSELECT "books".* FROM "books" [0m
|
584
|
+
Completed 200 OK in 1.5ms (Views: 0.9ms | ActiveRecord: 0.2ms)
|
585
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
586
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
587
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
588
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mBook Load (0.0ms)[0m [1mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1[0m [["id", "1"]]
|
594
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
595
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "books" WHERE "books"."id" = ?[0m [["id", 1]]
|
596
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
597
|
+
Redirected to http://www.example.com/books
|
598
|
+
Completed 302 Found in 2.2ms (ActiveRecord: 0.4ms)
|
599
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "books" WHERE "books"."id" = 1[0m
|
600
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
601
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
602
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
607
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
609
|
+
Redirected to http://www.example.com/books
|
610
|
+
Completed 302 Found in 1.6ms (ActiveRecord: 0.3ms)
|
611
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "books"
|
612
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
613
|
+
[1m[35m (0.0ms)[0m begin transaction
|
614
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
615
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mBook Load (0.0ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
|
621
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
622
|
+
[1m[35m (0.3ms)[0m UPDATE "books" SET "name" = 'changed book', "updated_at" = '2014-04-28 00:17:04.703277' WHERE "books"."id" = 1
|
623
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
624
|
+
Redirected to http://www.example.com/books/1
|
625
|
+
Completed 302 Found in 3.0ms (ActiveRecord: 0.4ms)
|
626
|
+
[1m[35mBook Load (0.0ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", 1]]
|
627
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
628
|
+
[1m[35m (0.0ms)[0m begin transaction
|
629
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
630
|
+
[1m[35m (0.0ms)[0m begin transaction
|
631
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
632
|
+
[1m[35m (0.0ms)[0m begin transaction
|
633
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
634
|
+
[1m[35m (0.0ms)[0m begin transaction
|
635
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
636
|
+
[1m[35m (0.0ms)[0m begin transaction
|
637
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
638
|
+
[1m[35m (0.0ms)[0m begin transaction
|
639
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
640
|
+
[1m[35m (0.0ms)[0m begin transaction
|
641
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
642
|
+
[1m[35m (0.0ms)[0m begin transaction
|
643
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
644
|
+
[1m[35m (0.0ms)[0m begin transaction
|
645
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
646
|
+
[1m[35m (0.1ms)[0m begin transaction
|
647
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
648
|
+
[1m[35m (0.0ms)[0m begin transaction
|
649
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
650
|
+
[1m[35m (0.0ms)[0m begin transaction
|
651
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
652
|
+
[1m[35m (0.0ms)[0m begin transaction
|
653
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
654
|
+
[1m[35m (0.0ms)[0m begin transaction
|
655
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
656
|
+
[1m[35m (0.0ms)[0m begin transaction
|
657
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
658
|
+
[1m[35m (0.0ms)[0m begin transaction
|
659
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
660
|
+
[1m[35m (0.0ms)[0m begin transaction
|
661
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
662
|
+
[1m[35m (0.0ms)[0m begin transaction
|
663
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
664
|
+
[1m[35m (0.0ms)[0m begin transaction
|
665
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
667
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
668
|
+
[1m[35m (0.0ms)[0m begin transaction
|
669
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
670
|
+
[1m[35m (0.0ms)[0m begin transaction
|
671
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
673
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
674
|
+
[1m[35m (0.0ms)[0m begin transaction
|
675
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
676
|
+
[1m[35m (0.0ms)[0m begin transaction
|
677
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
678
|
+
[1m[35m (0.0ms)[0m begin transaction
|
679
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
680
|
+
[1m[35m (0.0ms)[0m begin transaction
|
681
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
682
|
+
[1m[35m (0.0ms)[0m begin transaction
|
683
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
684
|
+
[1m[35m (0.0ms)[0m begin transaction
|
685
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
686
|
+
[1m[35m (0.0ms)[0m begin transaction
|
687
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
688
|
+
[1m[35m (0.0ms)[0m begin transaction
|
689
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
690
|
+
[1m[35m (0.0ms)[0m begin transaction
|
691
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
692
|
+
[1m[35m (0.0ms)[0m begin transaction
|
693
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
694
|
+
[1m[35m (0.0ms)[0m begin transaction
|
695
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
696
|
+
[1m[35m (0.0ms)[0m begin transaction
|
697
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
698
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
699
|
+
[1m[35m (0.1ms)[0m begin transaction
|
700
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
701
|
+
[1m[35m (0.0ms)[0m begin transaction
|
702
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
704
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
705
|
+
[1m[35m (0.0ms)[0m commit transaction
|
706
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
707
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
708
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
709
|
+
[1m[35m (0.0ms)[0m commit transaction
|
710
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
711
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
713
|
+
[1m[35m (0.0ms)[0m begin transaction
|
714
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
715
|
+
[1m[35m (0.0ms)[0m begin transaction
|
716
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
718
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
719
|
+
[1m[35m (0.0ms)[0m commit transaction
|
720
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
721
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
723
|
+
[1m[35m (0.0ms)[0m begin transaction
|
724
|
+
--------------------------------
|
725
|
+
BooksControllerTest: test_create
|
726
|
+
--------------------------------
|
727
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
728
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
730
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
731
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
733
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
734
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
736
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
737
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
739
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
740
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
742
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "books"
|
743
|
+
Processing by BooksController#create as HTML
|
744
|
+
Parameters: {"book"=>{"name"=>"newly-created-book"}}
|
745
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
746
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
748
|
+
Redirected to http://test.host/books
|
749
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
750
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "books"
|
751
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
752
|
+
[1m[35m (0.0ms)[0m begin transaction
|
753
|
+
-------------------------------
|
754
|
+
BooksControllerTest: test_index
|
755
|
+
-------------------------------
|
756
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
757
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
759
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
760
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
762
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
763
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
765
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
766
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
768
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
769
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
771
|
+
Processing by BooksController#index as HTML
|
772
|
+
Completed 200 OK in 15ms (Views: 14.9ms | ActiveRecord: 0.0ms)
|
773
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "books"
|
774
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
775
|
+
[1m[35m (0.1ms)[0m begin transaction
|
776
|
+
------------------------------
|
777
|
+
BooksControllerTest: test_show
|
778
|
+
------------------------------
|
779
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
780
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
782
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
783
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
785
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
786
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
788
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
789
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
791
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
792
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
794
|
+
Processing by BooksController#show as HTML
|
795
|
+
Parameters: {"id"=>"1"}
|
796
|
+
[1m[35mBook Load (0.1ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
|
797
|
+
Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
798
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
799
|
+
[1m[35m (0.0ms)[0m begin transaction
|
800
|
+
-----------------------------------------------------------------------
|
801
|
+
FastlyHeadersTest: test_/books/:id_show_page_should_have_fastly_headers
|
802
|
+
-----------------------------------------------------------------------
|
803
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
804
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mBook Load (0.1ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
|
810
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
811
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
812
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
820
|
+
[1m[35m (0.0ms)[0m begin transaction
|
821
|
+
----------------------------------------------------------------------------------------------
|
822
|
+
FastlyHeadersTest: test_DELETE_/books/:id_should_not_have_fastly_headers/_fastly_header_values
|
823
|
+
----------------------------------------------------------------------------------------------
|
824
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
825
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mBook Load (0.0ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
|
831
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
832
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
|
833
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
834
|
+
Redirected to http://www.example.com/books
|
835
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
836
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "books" WHERE "books"."id" = 1
|
837
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
838
|
+
[1m[35m (0.0ms)[0m begin transaction
|
839
|
+
----------------------------------------------------------------------------------------
|
840
|
+
FastlyHeadersTest: test_POST_/books_should_not_have_fastly_headers/_fastly_header_values
|
841
|
+
----------------------------------------------------------------------------------------
|
842
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "books"[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
847
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
849
|
+
Redirected to http://www.example.com/books
|
850
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
851
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "books"[0m
|
852
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
853
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
854
|
+
-------------------------------------------------------------------------------------------
|
855
|
+
FastlyHeadersTest: test_PUT_/books/:id_should_not_have_fastly_headers/_fastly_header_values
|
856
|
+
-------------------------------------------------------------------------------------------
|
857
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
858
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mBook Load (0.0ms)[0m [1mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1[0m [["id", "1"]]
|
864
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
865
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = 1[0m [["name", "changed book"], ["updated_at", Mon, 28 Apr 2014 00:17:07 UTC +00:00]]
|
866
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
867
|
+
Redirected to http://www.example.com/books/1
|
868
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
869
|
+
[1m[36mBook Load (0.0ms)[0m [1mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1[0m [["id", 1]]
|
870
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
871
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
872
|
+
[1m[35m (0.0ms)[0m commit transaction
|
873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
874
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
875
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
876
|
+
-------------------------------------------------------------------------------------------------
|
877
|
+
FastlyRails::CacheControlHeadersTest: test_sets_cache_control_headers_on_actioncontroller_request
|
878
|
+
-------------------------------------------------------------------------------------------------
|
879
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
880
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
881
|
+
[1m[35m (0.0ms)[0m commit transaction
|
882
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
883
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
884
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
885
|
+
[1m[35m (0.0ms)[0m commit transaction
|
886
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
887
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
888
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
889
|
+
[1m[35m (0.0ms)[0m commit transaction
|
890
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
891
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
893
|
+
[1m[35m (0.0ms)[0m commit transaction
|
894
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
895
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
897
|
+
[1m[35m (0.0ms)[0m commit transaction
|
898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
899
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
900
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
901
|
+
[1m[35m (0.0ms)[0m commit transaction
|
902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
903
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
904
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
905
|
+
[1m[35m (0.0ms)[0m commit transaction
|
906
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
907
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
908
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
909
|
+
[1m[35m (0.0ms)[0m commit transaction
|
910
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
911
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
912
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
913
|
+
[1m[35m (0.0ms)[0m commit transaction
|
914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
915
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
916
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
917
|
+
[1m[35m (0.0ms)[0m commit transaction
|
918
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
919
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
920
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
921
|
+
[1m[35m (0.1ms)[0m commit transaction
|
922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
923
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
924
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
925
|
+
[1m[35m (0.0ms)[0m commit transaction
|
926
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
927
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
928
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
929
|
+
[1m[35m (0.0ms)[0m commit transaction
|
930
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
931
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
933
|
+
[1m[35m (0.0ms)[0m commit transaction
|
934
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
935
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
936
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
937
|
+
[1m[35m (0.0ms)[0m commit transaction
|
938
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
939
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
940
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
941
|
+
[1m[35m (0.0ms)[0m commit transaction
|
942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
943
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
944
|
+
Connecting to database specified by database.yml
|
945
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
946
|
+
Migrating to CreateBooks (20140407202136)
|
947
|
+
[1m[35m (0.1ms)[0m begin transaction
|
948
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
949
|
+
[1m[35m (0.0ms)[0m begin transaction
|
950
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
951
|
+
[1m[35m (0.0ms)[0m begin transaction
|
952
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
953
|
+
[1m[35m (0.0ms)[0m begin transaction
|
954
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
955
|
+
[1m[35mSQL (2.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
957
|
+
[1m[35m (6.2ms)[0m rollback transaction
|
958
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
959
|
+
[1m[35m (0.0ms)[0m commit transaction
|
960
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
961
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
962
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
964
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
965
|
+
[1m[35m (0.0ms)[0m begin transaction
|
966
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
967
|
+
[1m[35m (0.0ms)[0m begin transaction
|
968
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
969
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
971
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
972
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
973
|
+
[1m[35m (0.0ms)[0m commit transaction
|
974
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
975
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
976
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
978
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
979
|
+
[1m[35m (0.0ms)[0m begin transaction
|
980
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
981
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
983
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
984
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
986
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
987
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
989
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
990
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
992
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
993
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
995
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "books"
|
996
|
+
Processing by BooksController#create as HTML
|
997
|
+
Parameters: {"book"=>{"name"=>"newly-created-book"}}
|
998
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
999
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1001
|
+
Redirected to http://test.host/books
|
1002
|
+
Completed 302 Found in 2.1ms (ActiveRecord: 0.3ms)
|
1003
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "books"
|
1004
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1005
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1006
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1007
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1009
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1010
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1012
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1013
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1015
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1016
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1018
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1019
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1021
|
+
Processing by BooksController#index as HTML
|
1022
|
+
[1m[35mBook Load (0.1ms)[0m SELECT "books".* FROM "books"
|
1023
|
+
Completed 200 OK in 7.1ms (Views: 5.9ms | ActiveRecord: 0.1ms)
|
1024
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1025
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1026
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1027
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1029
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1030
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1032
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1033
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1035
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1036
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1038
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1039
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1041
|
+
Processing by BooksController#show as HTML
|
1042
|
+
Parameters: {"id"=>"1"}
|
1043
|
+
[1m[35mBook Load (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1046
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1047
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1048
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mBook Load (0.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1056
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mBook Load (0.1ms)[0m [1mSELECT "books".* FROM "books" [0m
|
1060
|
+
Completed 200 OK in 1.8ms (Views: 1.0ms | ActiveRecord: 0.1ms)
|
1061
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1062
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1063
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1064
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mBook Load (0.1ms)[0m [1mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1070
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1071
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "books" WHERE "books"."id" = ?[0m [["id", 1]]
|
1072
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1073
|
+
Redirected to http://www.example.com/books
|
1074
|
+
Completed 302 Found in 2.4ms (ActiveRecord: 0.5ms)
|
1075
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "books" WHERE "books"."id" = 1[0m
|
1076
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1077
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1078
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1083
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1085
|
+
Redirected to http://www.example.com/books
|
1086
|
+
Completed 302 Found in 1.8ms (ActiveRecord: 0.4ms)
|
1087
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "books"
|
1088
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1089
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1090
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1091
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mBook Load (0.1ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
|
1097
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1098
|
+
[1m[35m (0.3ms)[0m UPDATE "books" SET "name" = 'changed book', "updated_at" = '2014-04-28 00:17:16.923590' WHERE "books"."id" = 1
|
1099
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1100
|
+
Redirected to http://www.example.com/books/1
|
1101
|
+
Completed 302 Found in 3.0ms (ActiveRecord: 0.4ms)
|
1102
|
+
[1m[35mBook Load (0.0ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", 1]]
|
1103
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1104
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1105
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1106
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1107
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1108
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1109
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1110
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1111
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1113
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1114
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1115
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1116
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1117
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1118
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1119
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1120
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1121
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1122
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1123
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1124
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1125
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1126
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1127
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1128
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1129
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1130
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1131
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1132
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1133
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1134
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1135
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1136
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1137
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1138
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1139
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1140
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1141
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1142
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1143
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1144
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1145
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1146
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1147
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1148
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1149
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1150
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1151
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1152
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1153
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1154
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1155
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1157
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1158
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1159
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1160
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1161
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1162
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1163
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1164
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1165
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1166
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1167
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1168
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1169
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1170
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1171
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1172
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1173
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1174
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1175
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1176
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1177
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1178
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1179
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1180
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1182
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1184
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1185
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1187
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1189
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1190
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1192
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1194
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1195
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1197
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1199
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1200
|
+
--------------------------------
|
1201
|
+
BooksControllerTest: test_create
|
1202
|
+
--------------------------------
|
1203
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1204
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1206
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1207
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1209
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1210
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1212
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1213
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1215
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1216
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1218
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "books"
|
1219
|
+
Processing by BooksController#create as HTML
|
1220
|
+
Parameters: {"book"=>{"name"=>"newly-created-book"}}
|
1221
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1222
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1224
|
+
Redirected to http://test.host/books
|
1225
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
1226
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "books"
|
1227
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1228
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1229
|
+
-------------------------------
|
1230
|
+
BooksControllerTest: test_index
|
1231
|
+
-------------------------------
|
1232
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1233
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1235
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1236
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1238
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1239
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1241
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1242
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1245
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1247
|
+
Processing by BooksController#index as HTML
|
1248
|
+
Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms)
|
1249
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "books"
|
1250
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1251
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1252
|
+
------------------------------
|
1253
|
+
BooksControllerTest: test_show
|
1254
|
+
------------------------------
|
1255
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1256
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1258
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1259
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1261
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1262
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1264
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1265
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1267
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1268
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1270
|
+
Processing by BooksController#show as HTML
|
1271
|
+
Parameters: {"id"=>"1"}
|
1272
|
+
[1m[35mBook Load (0.1ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
|
1273
|
+
Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
1274
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1275
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1276
|
+
-----------------------------------------------------------------------
|
1277
|
+
FastlyHeadersTest: test_/books/:id_show_page_should_have_fastly_headers
|
1278
|
+
-----------------------------------------------------------------------
|
1279
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1280
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mBook Load (0.1ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
|
1286
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
1287
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1288
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1296
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1297
|
+
----------------------------------------------------------------------------------------------
|
1298
|
+
FastlyHeadersTest: test_DELETE_/books/:id_should_not_have_fastly_headers/_fastly_header_values
|
1299
|
+
----------------------------------------------------------------------------------------------
|
1300
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1301
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mBook Load (0.0ms)[0m SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", "1"]]
|
1307
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1308
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
|
1309
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1310
|
+
Redirected to http://www.example.com/books
|
1311
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
1312
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "books" WHERE "books"."id" = 1
|
1313
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1314
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1315
|
+
----------------------------------------------------------------------------------------
|
1316
|
+
FastlyHeadersTest: test_POST_/books_should_not_have_fastly_headers/_fastly_header_values
|
1317
|
+
----------------------------------------------------------------------------------------
|
1318
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "books"[0m
|
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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1323
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1325
|
+
Redirected to http://www.example.com/books
|
1326
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
1327
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "books"[0m
|
1328
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1329
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1330
|
+
-------------------------------------------------------------------------------------------
|
1331
|
+
FastlyHeadersTest: test_PUT_/books/:id_should_not_have_fastly_headers/_fastly_header_values
|
1332
|
+
-------------------------------------------------------------------------------------------
|
1333
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1334
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "books" ("created_at", "id", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mBook Load (0.0ms)[0m [1mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1340
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1341
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = 1[0m [["name", "changed book"], ["updated_at", Mon, 28 Apr 2014 00:17:19 UTC +00:00]]
|
1342
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1343
|
+
Redirected to http://www.example.com/books/1
|
1344
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
1345
|
+
[1m[36mBook Load (0.0ms)[0m [1mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1[0m [["id", 1]]
|
1346
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1347
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1348
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1349
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1350
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1351
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1352
|
+
-------------------------------------------------------------------------------------------------
|
1353
|
+
FastlyRails::CacheControlHeadersTest: test_sets_cache_control_headers_on_actioncontroller_request
|
1354
|
+
-------------------------------------------------------------------------------------------------
|
1355
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1356
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1357
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1358
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1359
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1360
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1361
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1363
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1364
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1365
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1366
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1367
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1369
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1370
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1371
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1372
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1373
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1374
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1375
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1376
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1377
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1378
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1379
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1380
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1381
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1382
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1383
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1384
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1385
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1386
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1387
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1388
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1389
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1390
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1391
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1392
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1393
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1394
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1395
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1396
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1397
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1398
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1399
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1400
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1401
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1402
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1403
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1404
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1405
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1406
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1407
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1408
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1409
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1410
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1411
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1412
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1413
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1414
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1415
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1416
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1417
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1418
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1419
|
+
[1m[35m (0.0ms)[0m rollback transaction
|