api_client_bulk_loader 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Rakefile +32 -0
- data/lib/api_client_bulk_loader/api_client_bulk_loader.rb +14 -0
- data/lib/api_client_bulk_loader/client/association_adapter.rb +31 -0
- data/lib/api_client_bulk_loader/client/association_helper.rb +60 -0
- data/lib/api_client_bulk_loader/client/bulk_load_helper.rb +46 -0
- data/lib/api_client_bulk_loader/client/loader.rb +79 -0
- data/lib/api_client_bulk_loader/client/polymorphic_association_adapter.rb +32 -0
- data/lib/api_client_bulk_loader/client/polymorphic_association_helper.rb +63 -0
- data/lib/api_client_bulk_loader/version.rb +3 -0
- data/lib/api_client_bulk_loader.rb +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/variant_objects_controller.rb +10 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/variant_object.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +11 -0
- data/test/dummy/app/views/variant_objects/_variant_object.html.erb +1 -0
- data/test/dummy/app/views/variant_objects/_variant_object_medium.html.erb +1 -0
- data/test/dummy/app/views/variant_objects/_variant_object_small.html.erb +1 -0
- data/test/dummy/app/views/variant_objects/index.html.erb +24 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20131206162427_create_variant_objects.rb +9 -0
- data/test/dummy/db/schema.rb +23 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +40 -0
- data/test/dummy/log/test.log +521 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/fixtures/variant_objects.yml +14 -0
- data/test/integration/variant_object_controller_test.rb +25 -0
- data/test/test_helper.rb +26 -0
- metadata +188 -0
@@ -0,0 +1,521 @@
|
|
1
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
10
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
12
|
+
Migrating to CreateTestObjs (20131206162427)
|
13
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "test_objs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
15
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206162427"]]
|
16
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
17
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
19
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:32:14', '2013-12-06 17:32:14', 980190962)
|
20
|
+
SQLite3::SQLException: table test_objs has no column named desc: INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:32:14', '2013-12-06 17:32:14', 980190962)
|
21
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
22
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "test_objs"[0m
|
24
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:32:14', '2013-12-06 17:32:14', 980190962)
|
25
|
+
SQLite3::SQLException: table test_objs has no column named desc: INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:32:14', '2013-12-06 17:32:14', 980190962)
|
26
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
27
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28
|
+
[1m[35m (0.1ms)[0m begin transaction
|
29
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
30
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:33:23', '2013-12-06 17:33:23', 980190962)
|
31
|
+
SQLite3::SQLException: table test_objs has no column named desc: INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:33:23', '2013-12-06 17:33:23', 980190962)
|
32
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
33
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "test_objs"[0m
|
35
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:33:23', '2013-12-06 17:33:23', 980190962)
|
36
|
+
SQLite3::SQLException: table test_objs has no column named desc: INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:33:23', '2013-12-06 17:33:23', 980190962)
|
37
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
38
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
39
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
41
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:33:47', '2013-12-06 17:33:47', 980190962)
|
42
|
+
SQLite3::SQLException: table test_objs has no column named desc: INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:33:47', '2013-12-06 17:33:47', 980190962)
|
43
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
44
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "test_objs"[0m
|
46
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:33:47', '2013-12-06 17:33:47', 980190962)
|
47
|
+
SQLite3::SQLException: table test_objs has no column named desc: INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:33:47', '2013-12-06 17:33:47', 980190962)
|
48
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
49
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
50
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
51
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
52
|
+
Migrating to CreateTestObjs (20131206162427)
|
53
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "test_objs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
55
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206162427"]]
|
56
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
57
|
+
[1m[35m (0.1ms)[0m begin transaction
|
58
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
59
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:34:19', '2013-12-06 17:34:19', 980190962)
|
60
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-06 17:34:19', '2013-12-06 17:34:19', 298486374)[0m
|
61
|
+
[1m[35m (0.8ms)[0m commit transaction
|
62
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
63
|
+
-------------------------------------------------
|
64
|
+
TestObjsControllerTest: test_renders_with_variant
|
65
|
+
-------------------------------------------------
|
66
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68
|
+
----------------------------------------------------
|
69
|
+
TestObjsControllerTest: test_renders_without_variant
|
70
|
+
----------------------------------------------------
|
71
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
72
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
73
|
+
[1m[35m (0.0ms)[0m begin transaction
|
74
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
75
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:35:25', '2013-12-06 17:35:25', 980190962)
|
76
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-06 17:35:25', '2013-12-06 17:35:25', 298486374)[0m
|
77
|
+
[1m[35m (1.6ms)[0m commit transaction
|
78
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
79
|
+
-------------------------------------------------
|
80
|
+
TestObjsControllerTest: test_renders_with_variant
|
81
|
+
-------------------------------------------------
|
82
|
+
Started GET "/test_objs?variant=medium" for 127.0.0.1 at 2013-12-06 09:35:25 -0800
|
83
|
+
Processing by TestObjsController#index as HTML
|
84
|
+
Parameters: {"variant"=>"medium"}
|
85
|
+
Rendered test_objs/index.html.erb within layouts/application (1.9ms)
|
86
|
+
Completed 500 Internal Server Error in 4ms
|
87
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89
|
+
----------------------------------------------------
|
90
|
+
TestObjsControllerTest: test_renders_without_variant
|
91
|
+
----------------------------------------------------
|
92
|
+
Started GET "/test_objs" for 127.0.0.1 at 2013-12-06 09:35:25 -0800
|
93
|
+
Processing by TestObjsController#index as HTML
|
94
|
+
Completed 500 Internal Server Error in 1ms
|
95
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
96
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
97
|
+
[1m[35m (0.1ms)[0m begin transaction
|
98
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
99
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:37:19', '2013-12-06 17:37:19', 980190962)
|
100
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-06 17:37:19', '2013-12-06 17:37:19', 298486374)[0m
|
101
|
+
[1m[35m (1.0ms)[0m commit transaction
|
102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
103
|
+
-------------------------------------------------
|
104
|
+
TestObjsControllerTest: test_renders_with_variant
|
105
|
+
-------------------------------------------------
|
106
|
+
Started GET "/test_objs?variant=medium" for 127.0.0.1 at 2013-12-06 09:37:19 -0800
|
107
|
+
Processing by TestObjsController#index as HTML
|
108
|
+
Parameters: {"variant"=>"medium"}
|
109
|
+
Rendered test_objs/index.html.erb within layouts/application (1.9ms)
|
110
|
+
Completed 500 Internal Server Error in 4ms
|
111
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
112
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
113
|
+
----------------------------------------------------
|
114
|
+
TestObjsControllerTest: test_renders_without_variant
|
115
|
+
----------------------------------------------------
|
116
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "test_objs"
|
117
|
+
Started GET "/test_objs" for 127.0.0.1 at 2013-12-06 09:37:19 -0800
|
118
|
+
Processing by TestObjsController#index as HTML
|
119
|
+
Completed 500 Internal Server Error in 1ms
|
120
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
121
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
122
|
+
[1m[35m (0.1ms)[0m begin transaction
|
123
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
124
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:38:19', '2013-12-06 17:38:19', 980190962)
|
125
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-06 17:38:19', '2013-12-06 17:38:19', 298486374)[0m
|
126
|
+
[1m[35m (1.3ms)[0m commit transaction
|
127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
128
|
+
-------------------------------------------------
|
129
|
+
TestObjsControllerTest: test_renders_with_variant
|
130
|
+
-------------------------------------------------
|
131
|
+
Started GET "/test_objs?variant=medium" for 127.0.0.1 at 2013-12-06 09:38:19 -0800
|
132
|
+
Processing by TestObjsController#index as HTML
|
133
|
+
Parameters: {"variant"=>"medium"}
|
134
|
+
Rendered test_objs/index.html.erb within layouts/application (1.9ms)
|
135
|
+
Completed 500 Internal Server Error in 4ms
|
136
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
137
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
138
|
+
----------------------------------------------------
|
139
|
+
TestObjsControllerTest: test_renders_without_variant
|
140
|
+
----------------------------------------------------
|
141
|
+
Started GET "/test_objs" for 127.0.0.1 at 2013-12-06 09:38:19 -0800
|
142
|
+
Processing by TestObjsController#index as HTML
|
143
|
+
Completed 500 Internal Server Error in 1ms
|
144
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
145
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
146
|
+
[1m[35m (0.1ms)[0m begin transaction
|
147
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
148
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:39:11', '2013-12-06 17:39:11', 980190962)
|
149
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-06 17:39:11', '2013-12-06 17:39:11', 298486374)[0m
|
150
|
+
[1m[35m (1.5ms)[0m commit transaction
|
151
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
152
|
+
-------------------------------------------------
|
153
|
+
TestObjsControllerTest: test_renders_with_variant
|
154
|
+
-------------------------------------------------
|
155
|
+
Started GET "/test_objs?variant=medium" for 127.0.0.1 at 2013-12-06 09:39:11 -0800
|
156
|
+
Processing by TestObjsController#index as HTML
|
157
|
+
Parameters: {"variant"=>"medium"}
|
158
|
+
Rendered test_objs/index.html.erb within layouts/application (2.0ms)
|
159
|
+
Completed 500 Internal Server Error in 4ms
|
160
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
161
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
162
|
+
----------------------------------------------------
|
163
|
+
TestObjsControllerTest: test_renders_without_variant
|
164
|
+
----------------------------------------------------
|
165
|
+
Started GET "/test_objs" for 127.0.0.1 at 2013-12-06 09:39:11 -0800
|
166
|
+
Processing by TestObjsController#index as HTML
|
167
|
+
Completed 500 Internal Server Error in 1ms
|
168
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
169
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
170
|
+
[1m[35m (0.1ms)[0m begin transaction
|
171
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
172
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:39:41', '2013-12-06 17:39:41', 980190962)
|
173
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-06 17:39:41', '2013-12-06 17:39:41', 298486374)[0m
|
174
|
+
[1m[35m (1.3ms)[0m commit transaction
|
175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
176
|
+
-------------------------------------------------
|
177
|
+
TestObjsControllerTest: test_renders_with_variant
|
178
|
+
-------------------------------------------------
|
179
|
+
Started GET "/test_objs?variant=medium" for 127.0.0.1 at 2013-12-06 09:39:41 -0800
|
180
|
+
Processing by TestObjsController#index as HTML
|
181
|
+
Parameters: {"variant"=>"medium"}
|
182
|
+
[1m[35mTestObj Load (0.1ms)[0m SELECT "test_objs".* FROM "test_objs"
|
183
|
+
Rendered test_objs/index.html.erb within layouts/application (5.6ms)
|
184
|
+
Completed 500 Internal Server Error in 8ms
|
185
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
186
|
+
[1m[35m (0.0ms)[0m begin transaction
|
187
|
+
----------------------------------------------------
|
188
|
+
TestObjsControllerTest: test_renders_without_variant
|
189
|
+
----------------------------------------------------
|
190
|
+
Started GET "/test_objs" for 127.0.0.1 at 2013-12-06 09:39:41 -0800
|
191
|
+
Processing by TestObjsController#index as HTML
|
192
|
+
[1m[36mTestObj Load (0.1ms)[0m [1mSELECT "test_objs".* FROM "test_objs"[0m
|
193
|
+
Completed 500 Internal Server Error in 2ms
|
194
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
195
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
196
|
+
[1m[35m (0.1ms)[0m begin transaction
|
197
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
198
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:40:24', '2013-12-06 17:40:24', 980190962)
|
199
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-06 17:40:24', '2013-12-06 17:40:24', 298486374)[0m
|
200
|
+
[1m[35m (1.5ms)[0m commit transaction
|
201
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
202
|
+
-------------------------------------------------
|
203
|
+
TestObjsControllerTest: test_renders_with_variant
|
204
|
+
-------------------------------------------------
|
205
|
+
Started GET "/test_objs?variant=medium" for 127.0.0.1 at 2013-12-06 09:40:24 -0800
|
206
|
+
Processing by TestObjsController#index as HTML
|
207
|
+
Parameters: {"variant"=>"medium"}
|
208
|
+
[1m[35mTestObj Load (0.1ms)[0m SELECT "test_objs".* FROM "test_objs"
|
209
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.3ms)
|
210
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.2ms)
|
211
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.2ms)
|
212
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.0ms)
|
213
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.0ms)
|
214
|
+
Rendered test_objs/index.html.erb within layouts/application (6.2ms)
|
215
|
+
Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.1ms)
|
216
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "test_objs"[0m
|
217
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
219
|
+
----------------------------------------------------
|
220
|
+
TestObjsControllerTest: test_renders_without_variant
|
221
|
+
----------------------------------------------------
|
222
|
+
Started GET "/test_objs" for 127.0.0.1 at 2013-12-06 09:40:24 -0800
|
223
|
+
Processing by TestObjsController#index as HTML
|
224
|
+
[1m[35mTestObj Load (0.1ms)[0m SELECT "test_objs".* FROM "test_objs"
|
225
|
+
Rendered test_objs/_test_obj.html.erb (0.5ms)
|
226
|
+
Completed 500 Internal Server Error in 4ms
|
227
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
228
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
229
|
+
[1m[35m (0.1ms)[0m begin transaction
|
230
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
231
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:41:04', '2013-12-06 17:41:04', 980190962)
|
232
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-06 17:41:04', '2013-12-06 17:41:04', 298486374)[0m
|
233
|
+
[1m[35m (1.3ms)[0m commit transaction
|
234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
235
|
+
-------------------------------------------------
|
236
|
+
TestObjsControllerTest: test_renders_with_variant
|
237
|
+
-------------------------------------------------
|
238
|
+
Started GET "/test_objs?variant=medium" for 127.0.0.1 at 2013-12-06 09:41:04 -0800
|
239
|
+
Processing by TestObjsController#index as HTML
|
240
|
+
Parameters: {"variant"=>"medium"}
|
241
|
+
[1m[35mTestObj Load (0.1ms)[0m SELECT "test_objs".* FROM "test_objs"
|
242
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.3ms)
|
243
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.2ms)
|
244
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.2ms)
|
245
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.0ms)
|
246
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.0ms)
|
247
|
+
Rendered test_objs/index.html.erb within layouts/application (6.2ms)
|
248
|
+
Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.1ms)
|
249
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "test_objs"[0m
|
250
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
251
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
252
|
+
----------------------------------------------------
|
253
|
+
TestObjsControllerTest: test_renders_without_variant
|
254
|
+
----------------------------------------------------
|
255
|
+
Started GET "/test_objs" for 127.0.0.1 at 2013-12-06 09:41:04 -0800
|
256
|
+
Processing by TestObjsController#index as HTML
|
257
|
+
[1m[35mTestObj Load (0.1ms)[0m SELECT "test_objs".* FROM "test_objs"
|
258
|
+
Rendered test_objs/_test_obj.html.erb (0.4ms)
|
259
|
+
Rendered test_objs/_test_obj.html.erb (0.3ms)
|
260
|
+
Rendered test_objs/_test_obj.html.erb (0.0ms)
|
261
|
+
Rendered test_objs/_test_obj.html.erb (0.0ms)
|
262
|
+
Rendered test_objs/_test_obj.html.erb (0.0ms)
|
263
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)
|
264
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "test_objs"[0m
|
265
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
266
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
267
|
+
[1m[35m (0.1ms)[0m begin transaction
|
268
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "test_objs"[0m
|
269
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-06 17:41:53', '2013-12-06 17:41:53', 980190962)
|
270
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "test_objs" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-06 17:41:53', '2013-12-06 17:41:53', 298486374)[0m
|
271
|
+
[1m[35m (1.4ms)[0m commit transaction
|
272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
273
|
+
-------------------------------------------------
|
274
|
+
TestObjsControllerTest: test_renders_with_variant
|
275
|
+
-------------------------------------------------
|
276
|
+
Started GET "/test_objs?variant=medium" for 127.0.0.1 at 2013-12-06 09:41:53 -0800
|
277
|
+
Processing by TestObjsController#index as HTML
|
278
|
+
Parameters: {"variant"=>"medium"}
|
279
|
+
[1m[35mTestObj Load (0.1ms)[0m SELECT "test_objs".* FROM "test_objs"
|
280
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.4ms)
|
281
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.2ms)
|
282
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.2ms)
|
283
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.0ms)
|
284
|
+
Rendered test_objs/_test_obj_medium.html.erb (0.0ms)
|
285
|
+
Rendered test_objs/index.html.erb within layouts/application (6.7ms)
|
286
|
+
Completed 200 OK in 9ms (Views: 9.0ms | ActiveRecord: 0.1ms)
|
287
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "test_objs"[0m
|
288
|
+
Started GET "/test_objs?variant=small" for 127.0.0.1 at 2013-12-06 09:41:53 -0800
|
289
|
+
Processing by TestObjsController#index as HTML
|
290
|
+
Parameters: {"variant"=>"small"}
|
291
|
+
[1m[35mTestObj Load (0.1ms)[0m SELECT "test_objs".* FROM "test_objs"
|
292
|
+
Rendered test_objs/_test_obj_small.html.erb (0.4ms)
|
293
|
+
Rendered test_objs/_test_obj_small.html.erb (0.3ms)
|
294
|
+
Rendered test_objs/_test_obj_small.html.erb (0.2ms)
|
295
|
+
Rendered test_objs/_test_obj_small.html.erb (0.0ms)
|
296
|
+
Rendered test_objs/_test_obj_small.html.erb (0.0ms)
|
297
|
+
Rendered test_objs/index.html.erb within layouts/application (2.9ms)
|
298
|
+
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.1ms)
|
299
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "test_objs"[0m
|
300
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
302
|
+
----------------------------------------------------
|
303
|
+
TestObjsControllerTest: test_renders_without_variant
|
304
|
+
----------------------------------------------------
|
305
|
+
Started GET "/test_objs" for 127.0.0.1 at 2013-12-06 09:41:53 -0800
|
306
|
+
Processing by TestObjsController#index as HTML
|
307
|
+
[1m[35mTestObj Load (0.1ms)[0m SELECT "test_objs".* FROM "test_objs"
|
308
|
+
Rendered test_objs/_test_obj.html.erb (0.3ms)
|
309
|
+
Rendered test_objs/_test_obj.html.erb (0.2ms)
|
310
|
+
Rendered test_objs/_test_obj.html.erb (0.0ms)
|
311
|
+
Rendered test_objs/_test_obj.html.erb (0.0ms)
|
312
|
+
Rendered test_objs/_test_obj.html.erb (0.0ms)
|
313
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
314
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "test_objs"[0m
|
315
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
316
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
317
|
+
[1m[35m (0.1ms)[0m begin transaction
|
318
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
319
|
+
[1m[35m (0.0ms)[0m begin transaction
|
320
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
321
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
322
|
+
[1m[35m (0.0ms)[0m begin transaction
|
323
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
324
|
+
[1m[35m (0.0ms)[0m begin transaction
|
325
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
326
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
327
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
328
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
329
|
+
Migrating to CreateVariantObjects (20131206162427)
|
330
|
+
[1m[35m (0.1ms)[0m begin transaction
|
331
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "variant_objects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
332
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206162427"]]
|
333
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
334
|
+
[1m[35m (0.0ms)[0m begin transaction
|
335
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "variant_objects"[0m
|
336
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-09 20:57:50', '2013-12-09 20:57:50', 980190962)
|
337
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-09 20:57:50', '2013-12-09 20:57:50', 298486374)[0m
|
338
|
+
[1m[35m (0.7ms)[0m commit transaction
|
339
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340
|
+
------------------------------------------------------
|
341
|
+
VariantObjectControllerTest: test_renders_with_variant
|
342
|
+
------------------------------------------------------
|
343
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
344
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
345
|
+
---------------------------------------------------------
|
346
|
+
VariantObjectControllerTest: test_renders_without_variant
|
347
|
+
---------------------------------------------------------
|
348
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
349
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
350
|
+
[1m[35m (0.0ms)[0m begin transaction
|
351
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "variant_objects"[0m
|
352
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-09 20:59:01', '2013-12-09 20:59:01', 980190962)
|
353
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-09 20:59:01', '2013-12-09 20:59:01', 298486374)[0m
|
354
|
+
[1m[35m (1.1ms)[0m commit transaction
|
355
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
356
|
+
------------------------------------------------------
|
357
|
+
VariantObjectControllerTest: test_renders_with_variant
|
358
|
+
------------------------------------------------------
|
359
|
+
Started GET "/variant_objects?variant=medium" for 127.0.0.1 at 2013-12-09 12:59:01 -0800
|
360
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
361
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
362
|
+
---------------------------------------------------------
|
363
|
+
VariantObjectControllerTest: test_renders_without_variant
|
364
|
+
---------------------------------------------------------
|
365
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
366
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
367
|
+
[1m[35m (0.1ms)[0m begin transaction
|
368
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "variant_objects"[0m
|
369
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-09 20:59:17', '2013-12-09 20:59:17', 980190962)
|
370
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-09 20:59:17', '2013-12-09 20:59:17', 298486374)[0m
|
371
|
+
[1m[35m (0.5ms)[0m commit transaction
|
372
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
373
|
+
------------------------------------------------------
|
374
|
+
VariantObjectControllerTest: test_renders_with_variant
|
375
|
+
------------------------------------------------------
|
376
|
+
Started GET "/variant_objects?variant=medium" for 127.0.0.1 at 2013-12-09 12:59:17 -0800
|
377
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
378
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
379
|
+
---------------------------------------------------------
|
380
|
+
VariantObjectControllerTest: test_renders_without_variant
|
381
|
+
---------------------------------------------------------
|
382
|
+
Started GET "/variant_objects" for 127.0.0.1 at 2013-12-09 12:59:17 -0800
|
383
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
384
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
385
|
+
[1m[35m (0.1ms)[0m begin transaction
|
386
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "variant_objects"[0m
|
387
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-09 20:59:48', '2013-12-09 20:59:48', 980190962)
|
388
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-09 20:59:48', '2013-12-09 20:59:48', 298486374)[0m
|
389
|
+
[1m[35m (1.0ms)[0m commit transaction
|
390
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
391
|
+
------------------------------------------------------
|
392
|
+
VariantObjectControllerTest: test_renders_with_variant
|
393
|
+
------------------------------------------------------
|
394
|
+
Started GET "/variant_objects?variant=medium" for 127.0.0.1 at 2013-12-09 12:59:48 -0800
|
395
|
+
Processing by VariantObjectsController#index as HTML
|
396
|
+
Parameters: {"variant"=>"medium"}
|
397
|
+
[1m[35mVariantObject Load (0.1ms)[0m SELECT "variant_objects".* FROM "variant_objects"
|
398
|
+
Rendered variant_objects/_variant_object_medium.html.erb (7.0ms)
|
399
|
+
Rendered variant_objects/index.html.erb within layouts/application (11.6ms)
|
400
|
+
Completed 500 Internal Server Error in 14ms
|
401
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
402
|
+
[1m[35m (0.0ms)[0m begin transaction
|
403
|
+
---------------------------------------------------------
|
404
|
+
VariantObjectControllerTest: test_renders_without_variant
|
405
|
+
---------------------------------------------------------
|
406
|
+
Started GET "/variant_objects" for 127.0.0.1 at 2013-12-09 12:59:48 -0800
|
407
|
+
Processing by VariantObjectsController#index as HTML
|
408
|
+
[1m[36mVariantObject Load (0.1ms)[0m [1mSELECT "variant_objects".* FROM "variant_objects"[0m
|
409
|
+
Rendered variant_objects/_variant_object.html.erb (26.5ms)
|
410
|
+
Completed 500 Internal Server Error in 28ms
|
411
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
412
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
413
|
+
[1m[35m (0.1ms)[0m begin transaction
|
414
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "variant_objects"[0m
|
415
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-09 21:00:40', '2013-12-09 21:00:40', 980190962)
|
416
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-09 21:00:40', '2013-12-09 21:00:40', 298486374)[0m
|
417
|
+
[1m[35m (1.4ms)[0m commit transaction
|
418
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
419
|
+
------------------------------------------------------
|
420
|
+
VariantObjectControllerTest: test_renders_with_variant
|
421
|
+
------------------------------------------------------
|
422
|
+
Started GET "/variant_objects?variant=medium" for 127.0.0.1 at 2013-12-09 13:00:40 -0800
|
423
|
+
Processing by VariantObjectsController#index as HTML
|
424
|
+
Parameters: {"variant"=>"medium"}
|
425
|
+
Rendered variant_objects/index.html.erb within layouts/application (1.9ms)
|
426
|
+
Completed 500 Internal Server Error in 4ms
|
427
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
428
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
429
|
+
---------------------------------------------------------
|
430
|
+
VariantObjectControllerTest: test_renders_without_variant
|
431
|
+
---------------------------------------------------------
|
432
|
+
Started GET "/variant_objects" for 127.0.0.1 at 2013-12-09 13:00:40 -0800
|
433
|
+
Processing by VariantObjectsController#index as HTML
|
434
|
+
Completed 500 Internal Server Error in 1ms
|
435
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
436
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
437
|
+
[1m[35m (0.0ms)[0m begin transaction
|
438
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "variant_objects"[0m
|
439
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-09 21:01:23', '2013-12-09 21:01:23', 980190962)
|
440
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-09 21:01:23', '2013-12-09 21:01:23', 298486374)[0m
|
441
|
+
[1m[35m (1.1ms)[0m commit transaction
|
442
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
443
|
+
------------------------------------------------------
|
444
|
+
VariantObjectControllerTest: test_renders_with_variant
|
445
|
+
------------------------------------------------------
|
446
|
+
Started GET "/variant_objects?variant=medium" for 127.0.0.1 at 2013-12-09 13:01:23 -0800
|
447
|
+
Processing by VariantObjectsController#index as HTML
|
448
|
+
Parameters: {"variant"=>"medium"}
|
449
|
+
[1m[35mVariantObject Load (0.2ms)[0m SELECT "variant_objects".* FROM "variant_objects"
|
450
|
+
Rendered variant_objects/_variant_object_medium.html.erb (0.4ms)
|
451
|
+
Rendered variant_objects/_variant_object_medium.html.erb (0.2ms)
|
452
|
+
Rendered variant_objects/_variant_object_medium.html.erb (0.2ms)
|
453
|
+
Rendered variant_objects/_variant_object_medium.html.erb (0.1ms)
|
454
|
+
Rendered variant_objects/_variant_object_medium.html.erb (0.0ms)
|
455
|
+
Rendered variant_objects/index.html.erb within layouts/application (6.9ms)
|
456
|
+
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.2ms)
|
457
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
458
|
+
[1m[35m (0.0ms)[0m begin transaction
|
459
|
+
---------------------------------------------------------
|
460
|
+
VariantObjectControllerTest: test_renders_without_variant
|
461
|
+
---------------------------------------------------------
|
462
|
+
Started GET "/variant_objects" for 127.0.0.1 at 2013-12-09 13:01:23 -0800
|
463
|
+
Processing by VariantObjectsController#index as HTML
|
464
|
+
[1m[36mVariantObject Load (0.1ms)[0m [1mSELECT "variant_objects".* FROM "variant_objects"[0m
|
465
|
+
Rendered variant_objects/_variant_object.html.erb (0.4ms)
|
466
|
+
Rendered variant_objects/_variant_object.html.erb (0.3ms)
|
467
|
+
Rendered variant_objects/_variant_object.html.erb (0.0ms)
|
468
|
+
Rendered variant_objects/_variant_object.html.erb (0.0ms)
|
469
|
+
Rendered variant_objects/_variant_object.html.erb (0.0ms)
|
470
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
471
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
472
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
473
|
+
[1m[35m (0.1ms)[0m begin transaction
|
474
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "variant_objects"[0m
|
475
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test1', 'test1 description', '2013-12-09 21:01:43', '2013-12-09 21:01:43', 980190962)
|
476
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "variant_objects" ("name", "desc", "created_at", "updated_at", "id") VALUES ('Test2', 'test2 description', '2013-12-09 21:01:43', '2013-12-09 21:01:43', 298486374)[0m
|
477
|
+
[1m[35m (1.0ms)[0m commit transaction
|
478
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
479
|
+
------------------------------------------------------
|
480
|
+
VariantObjectControllerTest: test_renders_with_variant
|
481
|
+
------------------------------------------------------
|
482
|
+
Started GET "/variant_objects?variant=medium" for 127.0.0.1 at 2013-12-09 13:01:43 -0800
|
483
|
+
Processing by VariantObjectsController#index as HTML
|
484
|
+
Parameters: {"variant"=>"medium"}
|
485
|
+
[1m[35mVariantObject Load (0.1ms)[0m SELECT "variant_objects".* FROM "variant_objects"
|
486
|
+
Rendered variant_objects/_variant_object_medium.html.erb (0.4ms)
|
487
|
+
Rendered variant_objects/_variant_object_medium.html.erb (0.2ms)
|
488
|
+
Rendered variant_objects/_variant_object_medium.html.erb (0.2ms)
|
489
|
+
Rendered variant_objects/_variant_object_medium.html.erb (0.0ms)
|
490
|
+
Rendered variant_objects/_variant_object_medium.html.erb (0.0ms)
|
491
|
+
Rendered variant_objects/index.html.erb within layouts/application (6.6ms)
|
492
|
+
Completed 200 OK in 9ms (Views: 9.0ms | ActiveRecord: 0.1ms)
|
493
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "variant_objects"[0m
|
494
|
+
Started GET "/variant_objects?variant=small" for 127.0.0.1 at 2013-12-09 13:01:43 -0800
|
495
|
+
Processing by VariantObjectsController#index as HTML
|
496
|
+
Parameters: {"variant"=>"small"}
|
497
|
+
[1m[35mVariantObject Load (0.1ms)[0m SELECT "variant_objects".* FROM "variant_objects"
|
498
|
+
Rendered variant_objects/_variant_object_small.html.erb (0.3ms)
|
499
|
+
Rendered variant_objects/_variant_object_small.html.erb (0.2ms)
|
500
|
+
Rendered variant_objects/_variant_object_small.html.erb (0.3ms)
|
501
|
+
Rendered variant_objects/_variant_object_small.html.erb (0.0ms)
|
502
|
+
Rendered variant_objects/_variant_object_small.html.erb (0.0ms)
|
503
|
+
Rendered variant_objects/index.html.erb within layouts/application (3.2ms)
|
504
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
505
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "variant_objects"[0m
|
506
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
507
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
508
|
+
---------------------------------------------------------
|
509
|
+
VariantObjectControllerTest: test_renders_without_variant
|
510
|
+
---------------------------------------------------------
|
511
|
+
Started GET "/variant_objects" for 127.0.0.1 at 2013-12-09 13:01:43 -0800
|
512
|
+
Processing by VariantObjectsController#index as HTML
|
513
|
+
[1m[35mVariantObject Load (0.1ms)[0m SELECT "variant_objects".* FROM "variant_objects"
|
514
|
+
Rendered variant_objects/_variant_object.html.erb (0.5ms)
|
515
|
+
Rendered variant_objects/_variant_object.html.erb (0.3ms)
|
516
|
+
Rendered variant_objects/_variant_object.html.erb (0.0ms)
|
517
|
+
Rendered variant_objects/_variant_object.html.erb (0.0ms)
|
518
|
+
Rendered variant_objects/_variant_object.html.erb (0.0ms)
|
519
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms)
|
520
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "variant_objects"[0m
|
521
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/404.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/422.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|