attached 0.5.1 → 0.5.2
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.
- data/Rakefile +2 -0
- data/lib/attached.rb +3 -16
- data/lib/attached/job.rb +1 -0
- data/lib/attached/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1307 -0
- data/test/dummy/public/system/audios/files/full/07a3f586-805d-4c68-be01-7ba4d787aa9e.aac +0 -0
- data/test/dummy/public/system/audios/files/full/1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.aac +0 -0
- data/test/dummy/public/system/audios/files/full/3729319f-299b-47e2-bd7e-d73d38b5cf8f.aac +0 -0
- data/test/dummy/public/system/audios/files/full/41e88b81-2804-4316-86e8-252adad0eaa3.aac +0 -0
- data/test/dummy/public/system/audios/files/full/5d262d6b-4789-42f9-b985-1c39c9eca0c0.aac +0 -0
- data/test/dummy/public/system/audios/files/full/67645888-cf0b-47db-8202-2df3a1ce594d.aac +0 -0
- data/test/dummy/public/system/audios/files/full/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.aac +0 -0
- data/test/dummy/public/system/audios/files/full/8d116bcb-2605-429e-9edc-b1a91fa66d0a.aac +0 -0
- data/test/dummy/public/system/audios/files/full/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.aac +0 -0
- data/test/dummy/public/system/audios/files/full/9dddf071-ac43-4232-9a9d-fb5d26862bd1.aac +0 -0
- data/test/dummy/public/system/audios/files/full/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.aac +0 -0
- data/test/dummy/public/system/audios/files/full/a79a531d-5de4-4aa3-9c04-275cf6307d13.aac +0 -0
- data/test/dummy/public/system/audios/files/full/ee0041b9-6482-4d4f-96cc-1a6e28c93570.aac +0 -0
- data/test/dummy/public/system/audios/files/full/ffb3df30-8dbf-4938-abde-21cdfced70d1.aac +0 -0
- data/test/dummy/public/system/audios/files/large/07a3f586-805d-4c68-be01-7ba4d787aa9e.aac +0 -0
- data/test/dummy/public/system/audios/files/large/1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.aac +0 -0
- data/test/dummy/public/system/audios/files/large/3729319f-299b-47e2-bd7e-d73d38b5cf8f.aac +0 -0
- data/test/dummy/public/system/audios/files/large/41e88b81-2804-4316-86e8-252adad0eaa3.aac +0 -0
- data/test/dummy/public/system/audios/files/large/5d262d6b-4789-42f9-b985-1c39c9eca0c0.aac +0 -0
- data/test/dummy/public/system/audios/files/large/67645888-cf0b-47db-8202-2df3a1ce594d.aac +0 -0
- data/test/dummy/public/system/audios/files/large/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.aac +0 -0
- data/test/dummy/public/system/audios/files/large/8d116bcb-2605-429e-9edc-b1a91fa66d0a.aac +0 -0
- data/test/dummy/public/system/audios/files/large/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.aac +0 -0
- data/test/dummy/public/system/audios/files/large/9dddf071-ac43-4232-9a9d-fb5d26862bd1.aac +0 -0
- data/test/dummy/public/system/audios/files/large/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.aac +0 -0
- data/test/dummy/public/system/audios/files/large/a79a531d-5de4-4aa3-9c04-275cf6307d13.aac +0 -0
- data/test/dummy/public/system/audios/files/large/ee0041b9-6482-4d4f-96cc-1a6e28c93570.aac +0 -0
- data/test/dummy/public/system/audios/files/large/ffb3df30-8dbf-4938-abde-21cdfced70d1.aac +0 -0
- data/test/dummy/public/system/audios/files/original/07a3f586-805d-4c68-be01-7ba4d787aa9e.wav +0 -0
- data/test/dummy/public/system/audios/files/original/1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.wav +0 -0
- data/test/dummy/public/system/audios/files/original/3729319f-299b-47e2-bd7e-d73d38b5cf8f.wav +0 -0
- data/test/dummy/public/system/audios/files/original/41e88b81-2804-4316-86e8-252adad0eaa3.wav +0 -0
- data/test/dummy/public/system/audios/files/original/5d262d6b-4789-42f9-b985-1c39c9eca0c0.wav +0 -0
- data/test/dummy/public/system/audios/files/original/67645888-cf0b-47db-8202-2df3a1ce594d.wav +0 -0
- data/test/dummy/public/system/audios/files/original/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.wav +0 -0
- data/test/dummy/public/system/audios/files/original/8d116bcb-2605-429e-9edc-b1a91fa66d0a.wav +0 -0
- data/test/dummy/public/system/audios/files/original/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.wav +0 -0
- data/test/dummy/public/system/audios/files/original/9dddf071-ac43-4232-9a9d-fb5d26862bd1.wav +0 -0
- data/test/dummy/public/system/audios/files/original/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.wav +0 -0
- data/test/dummy/public/system/audios/files/original/a79a531d-5de4-4aa3-9c04-275cf6307d13.wav +0 -0
- data/test/dummy/public/system/audios/files/original/ee0041b9-6482-4d4f-96cc-1a6e28c93570.wav +0 -0
- data/test/dummy/public/system/audios/files/original/ffb3df30-8dbf-4938-abde-21cdfced70d1.wav +0 -0
- data/test/dummy/public/system/audios/files/small/07a3f586-805d-4c68-be01-7ba4d787aa9e.aac +0 -0
- data/test/dummy/public/system/audios/files/small/1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.aac +0 -0
- data/test/dummy/public/system/audios/files/small/3729319f-299b-47e2-bd7e-d73d38b5cf8f.aac +0 -0
- data/test/dummy/public/system/audios/files/small/41e88b81-2804-4316-86e8-252adad0eaa3.aac +0 -0
- data/test/dummy/public/system/audios/files/small/5d262d6b-4789-42f9-b985-1c39c9eca0c0.aac +0 -0
- data/test/dummy/public/system/audios/files/small/67645888-cf0b-47db-8202-2df3a1ce594d.aac +0 -0
- data/test/dummy/public/system/audios/files/small/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.aac +0 -0
- data/test/dummy/public/system/audios/files/small/8d116bcb-2605-429e-9edc-b1a91fa66d0a.aac +0 -0
- data/test/dummy/public/system/audios/files/small/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.aac +0 -0
- data/test/dummy/public/system/audios/files/small/9dddf071-ac43-4232-9a9d-fb5d26862bd1.aac +0 -0
- data/test/dummy/public/system/audios/files/small/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.aac +0 -0
- data/test/dummy/public/system/audios/files/small/a79a531d-5de4-4aa3-9c04-275cf6307d13.aac +0 -0
- data/test/dummy/public/system/audios/files/small/ee0041b9-6482-4d4f-96cc-1a6e28c93570.aac +0 -0
- data/test/dummy/public/system/audios/files/small/ffb3df30-8dbf-4938-abde-21cdfced70d1.aac +0 -0
- data/test/dummy/public/system/images/files/full/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
- data/test/dummy/public/system/images/files/full/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
- data/test/dummy/public/system/images/files/full/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
- data/test/dummy/public/system/images/files/full/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
- data/test/dummy/public/system/images/files/full/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
- data/test/dummy/public/system/images/files/full/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
- data/test/dummy/public/system/images/files/full/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
- data/test/dummy/public/system/images/files/full/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
- data/test/dummy/public/system/images/files/full/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
- data/test/dummy/public/system/images/files/full/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
- data/test/dummy/public/system/images/files/full/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
- data/test/dummy/public/system/images/files/full/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
- data/test/dummy/public/system/images/files/full/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
- data/test/dummy/public/system/images/files/full/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
- data/test/dummy/public/system/images/files/large/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
- data/test/dummy/public/system/images/files/large/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
- data/test/dummy/public/system/images/files/large/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
- data/test/dummy/public/system/images/files/large/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
- data/test/dummy/public/system/images/files/large/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
- data/test/dummy/public/system/images/files/large/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
- data/test/dummy/public/system/images/files/large/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
- data/test/dummy/public/system/images/files/large/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
- data/test/dummy/public/system/images/files/large/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
- data/test/dummy/public/system/images/files/large/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
- data/test/dummy/public/system/images/files/large/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
- data/test/dummy/public/system/images/files/large/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
- data/test/dummy/public/system/images/files/large/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
- data/test/dummy/public/system/images/files/large/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
- data/test/dummy/public/system/images/files/original/0850c86c-78a8-4319-8852-bed744b792e6.png +0 -0
- data/test/dummy/public/system/images/files/original/12ace664-b553-45a6-b02b-37e15ac2981b.png +0 -0
- data/test/dummy/public/system/images/files/original/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.png +0 -0
- data/test/dummy/public/system/images/files/original/3e9c5921-4820-441d-9f90-90b518cd582e.png +0 -0
- data/test/dummy/public/system/images/files/original/5af89da1-b1fa-421a-a52e-01607d89fb5d.png +0 -0
- data/test/dummy/public/system/images/files/original/8628fbe3-bd09-4713-babe-e38c1492788e.png +0 -0
- data/test/dummy/public/system/images/files/original/a0158251-8d9c-42fb-a854-e56b915713df.png +0 -0
- data/test/dummy/public/system/images/files/original/b7318aed-63ee-43a2-9365-755bcc2815df.png +0 -0
- data/test/dummy/public/system/images/files/original/c292008f-764f-4f8a-8df1-82c63d87a653.png +0 -0
- data/test/dummy/public/system/images/files/original/d39266e6-2426-4888-9f12-031ade4f872e.png +0 -0
- data/test/dummy/public/system/images/files/original/e9e4c240-1426-4951-a600-c5a07c30d80d.png +0 -0
- data/test/dummy/public/system/images/files/original/ee1f8491-6e52-410f-9d62-bd544715d066.png +0 -0
- data/test/dummy/public/system/images/files/original/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.png +0 -0
- data/test/dummy/public/system/images/files/original/ffc3f5fd-ff40-4a77-8e08-0517e519f857.png +0 -0
- data/test/dummy/public/system/images/files/small/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
- data/test/dummy/public/system/images/files/small/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
- data/test/dummy/public/system/images/files/small/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
- data/test/dummy/public/system/images/files/small/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
- data/test/dummy/public/system/images/files/small/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
- data/test/dummy/public/system/images/files/small/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
- data/test/dummy/public/system/images/files/small/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
- data/test/dummy/public/system/images/files/small/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
- data/test/dummy/public/system/images/files/small/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
- data/test/dummy/public/system/images/files/small/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
- data/test/dummy/public/system/images/files/small/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
- data/test/dummy/public/system/images/files/small/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
- data/test/dummy/public/system/images/files/small/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
- data/test/dummy/public/system/images/files/small/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
- data/test/dummy/public/system/images/files/thumb/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
- metadata +274 -11
data/Rakefile
CHANGED
data/lib/attached.rb
CHANGED
|
@@ -7,6 +7,7 @@ module Attached
|
|
|
7
7
|
|
|
8
8
|
def self.included(base)
|
|
9
9
|
base.extend ClassMethods
|
|
10
|
+
base.class_attribute :attached_options
|
|
10
11
|
end
|
|
11
12
|
|
|
12
13
|
|
|
@@ -26,20 +27,6 @@ module Attached
|
|
|
26
27
|
module ClassMethods
|
|
27
28
|
|
|
28
29
|
|
|
29
|
-
# Initialize attached options used for communicating between class and instance methods.
|
|
30
|
-
|
|
31
|
-
def initialize_attached_options
|
|
32
|
-
write_inheritable_attribute(:attached_options, {})
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
# Access attached options used for communicating between class and instance methods.
|
|
37
|
-
|
|
38
|
-
def attached_options
|
|
39
|
-
read_inheritable_attribute(:attached_options)
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
|
|
43
30
|
# Add an attachment to a class.
|
|
44
31
|
#
|
|
45
32
|
# Options:
|
|
@@ -58,8 +45,8 @@ module Attached
|
|
|
58
45
|
|
|
59
46
|
include InstanceMethods
|
|
60
47
|
|
|
61
|
-
|
|
62
|
-
attached_options[name] = options
|
|
48
|
+
self.attached_options ||= {}
|
|
49
|
+
self.attached_options[name] = options
|
|
63
50
|
|
|
64
51
|
before_save :save_attached
|
|
65
52
|
before_destroy :destroy_attached
|
data/lib/attached/job.rb
CHANGED
data/lib/attached/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
data/test/dummy/log/test.log
CHANGED
|
@@ -155,3 +155,1310 @@ Redirected to http://test.host/images/87884898
|
|
|
155
155
|
Completed 302 Found in 4ms
|
|
156
156
|
Processing by MainController#index as HTML
|
|
157
157
|
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
|
158
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
159
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
161
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
162
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
163
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
164
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
165
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
166
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
167
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
168
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
169
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
170
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
171
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
173
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
174
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
175
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
177
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
178
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
179
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
181
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
182
|
+
[attached] save attached
|
|
183
|
+
[1m[36mSQL (12.8ms)[0m [1mINSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:24:08 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "ee0041b9-6482-4d4f-96cc-1a6e28c93570"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:24:08 UTC +00:00]]
|
|
184
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
185
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
186
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
187
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "audios"[0m
|
|
188
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-01-23 03:24:08', '2012-01-23 03:24:08', 410859157)
|
|
189
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "images"[0m
|
|
190
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-01-23 03:24:08', '2012-01-23 03:24:08', 87884898)
|
|
191
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
|
192
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
193
|
+
[1m[36mAudio Load (0.2ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
194
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
195
|
+
Processing by AudiosController#create as HTML
|
|
196
|
+
Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007feb45bd8278 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/audio.wav20120122-51830-q89rxq>>}}
|
|
197
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
198
|
+
[attached] save attached
|
|
199
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:24:09 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "07a3f586-805d-4c68-be01-7ba4d787aa9e"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 23 Jan 2012 03:24:09 UTC +00:00]]
|
|
200
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
201
|
+
Redirected to http://test.host/audios/410859158
|
|
202
|
+
Completed 302 Found in 685ms (ActiveRecord: 0.0ms)
|
|
203
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
204
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
205
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
206
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
207
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
208
|
+
Processing by AudiosController#destroy as HTML
|
|
209
|
+
Parameters: {"id"=>"410859157"}
|
|
210
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
211
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
212
|
+
[attached] destroy attached
|
|
213
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "audios" WHERE "audios"."id" = ?[0m [["id", 410859157]]
|
|
214
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
215
|
+
Redirected to http://test.host/audios
|
|
216
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
217
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audios" [0m
|
|
218
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
219
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
220
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
221
|
+
Processing by AudiosController#edit as HTML
|
|
222
|
+
Parameters: {"id"=>"410859157"}
|
|
223
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
224
|
+
Rendered audios/_form.html.erb (3.3ms)
|
|
225
|
+
Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.1ms)
|
|
226
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
228
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
229
|
+
Processing by AudiosController#index as HTML
|
|
230
|
+
[1m[36mAudio Load (0.2ms)[0m [1mSELECT "audios".* FROM "audios" [0m
|
|
231
|
+
Completed 200 OK in 56ms (Views: 54.3ms | ActiveRecord: 0.2ms)
|
|
232
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
233
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
234
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
235
|
+
Processing by AudiosController#new as HTML
|
|
236
|
+
Rendered audios/_form.html.erb (1.9ms)
|
|
237
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
|
238
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
239
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
240
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
241
|
+
Processing by AudiosController#show as HTML
|
|
242
|
+
Parameters: {"id"=>"410859157"}
|
|
243
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
244
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
|
245
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
246
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
247
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
248
|
+
Processing by AudiosController#update as HTML
|
|
249
|
+
Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-01-23 03:24:08 UTC", "updated_at"=>"2012-01-23 03:24:08 UTC"}, "id"=>"410859157"}
|
|
250
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
251
|
+
WARNING: Can't mass-assign protected attributes: id
|
|
252
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
253
|
+
[attached] save attached
|
|
254
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
255
|
+
Redirected to http://test.host/audios/410859157
|
|
256
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
|
257
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
258
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
259
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
260
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
261
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
262
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
263
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
264
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
265
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
266
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
267
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
268
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
269
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
270
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
271
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
272
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
273
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
274
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
275
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
276
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
277
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
278
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
279
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
280
|
+
[attached] save attached
|
|
281
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:24:10 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "e9e4c240-1426-4951-a600-c5a07c30d80d"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:24:10 UTC +00:00]]
|
|
282
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
283
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
284
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
285
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
286
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
287
|
+
Processing by ImagesController#create as HTML
|
|
288
|
+
Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007feb44c77c20 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/image.png20120122-51830-1umpp7o>>}}
|
|
289
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
290
|
+
[attached] save attached
|
|
291
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:24:10 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "3e9c5921-4820-441d-9f90-90b518cd582e"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 03:24:10 UTC +00:00]]
|
|
292
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
293
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
294
|
+
[attached] save attached
|
|
295
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
296
|
+
Redirected to http://test.host/images/87884899
|
|
297
|
+
Completed 302 Found in 202ms (ActiveRecord: 0.0ms)
|
|
298
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
299
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
300
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
301
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
302
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
303
|
+
Processing by ImagesController#destroy as HTML
|
|
304
|
+
Parameters: {"id"=>"87884898"}
|
|
305
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
306
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
307
|
+
[attached] destroy attached
|
|
308
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
|
|
309
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
310
|
+
Redirected to http://test.host/images
|
|
311
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
|
312
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
313
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
314
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
315
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
316
|
+
Processing by ImagesController#edit as HTML
|
|
317
|
+
Parameters: {"id"=>"87884898"}
|
|
318
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
319
|
+
Rendered images/_form.html.erb (3.0ms)
|
|
320
|
+
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.1ms)
|
|
321
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
322
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
323
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
324
|
+
Processing by ImagesController#index as HTML
|
|
325
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images"
|
|
326
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms)
|
|
327
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
328
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
329
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
330
|
+
Processing by ImagesController#new as HTML
|
|
331
|
+
Rendered images/_form.html.erb (2.0ms)
|
|
332
|
+
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
|
333
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
334
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
335
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
336
|
+
Processing by ImagesController#show as HTML
|
|
337
|
+
Parameters: {"id"=>"87884898"}
|
|
338
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
339
|
+
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
|
340
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
342
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
343
|
+
Processing by ImagesController#update as HTML
|
|
344
|
+
Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-01-23 03:24:08 UTC", "updated_at"=>"2012-01-23 03:24:08 UTC"}, "id"=>"87884898"}
|
|
345
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
346
|
+
Redirected to http://test.host/images/87884898
|
|
347
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
|
348
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
349
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
350
|
+
Processing by MainController#index as HTML
|
|
351
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
|
352
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
353
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
354
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
355
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
356
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
357
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
358
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
359
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
360
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
361
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
362
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
363
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
364
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
365
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
366
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
368
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
369
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
370
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
371
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
372
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
373
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
374
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
375
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
376
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
377
|
+
[attached] save attached
|
|
378
|
+
[1m[36mSQL (6.7ms)[0m [1mINSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:25:12 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "6cecb6b5-46cd-47a5-bf8a-10849e30f1f6"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:25:12 UTC +00:00]]
|
|
379
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
380
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
381
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
382
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "audios"[0m
|
|
383
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-01-23 03:25:12', '2012-01-23 03:25:12', 410859157)
|
|
384
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "images"[0m
|
|
385
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-01-23 03:25:12', '2012-01-23 03:25:12', 87884898)
|
|
386
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
|
387
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
388
|
+
[1m[36mAudio Load (0.3ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
389
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audios"
|
|
390
|
+
Processing by AudiosController#create as HTML
|
|
391
|
+
Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007fa8cc593ef0 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/audio.wav20120122-51948-1pbu8zf>>}}
|
|
392
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
393
|
+
[attached] save attached
|
|
394
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:25:12 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "41e88b81-2804-4316-86e8-252adad0eaa3"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 23 Jan 2012 03:25:12 UTC +00:00]]
|
|
395
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
396
|
+
Redirected to http://test.host/audios/410859158
|
|
397
|
+
Completed 302 Found in 646ms (ActiveRecord: 0.0ms)
|
|
398
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
399
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
400
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
401
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
402
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
403
|
+
Processing by AudiosController#destroy as HTML
|
|
404
|
+
Parameters: {"id"=>"410859157"}
|
|
405
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
406
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
407
|
+
[attached] destroy attached
|
|
408
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "audios" WHERE "audios"."id" = ?[0m [["id", 410859157]]
|
|
409
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
410
|
+
Redirected to http://test.host/audios
|
|
411
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
412
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audios" [0m
|
|
413
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
414
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
415
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
416
|
+
Processing by AudiosController#edit as HTML
|
|
417
|
+
Parameters: {"id"=>"410859157"}
|
|
418
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
419
|
+
Rendered audios/_form.html.erb (3.2ms)
|
|
420
|
+
Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.1ms)
|
|
421
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
422
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
423
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
424
|
+
Processing by AudiosController#index as HTML
|
|
425
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" [0m
|
|
426
|
+
Completed 200 OK in 62ms (Views: 60.6ms | ActiveRecord: 0.1ms)
|
|
427
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
428
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
429
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
430
|
+
Processing by AudiosController#new as HTML
|
|
431
|
+
Rendered audios/_form.html.erb (1.9ms)
|
|
432
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
|
433
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
434
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
435
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
436
|
+
Processing by AudiosController#show as HTML
|
|
437
|
+
Parameters: {"id"=>"410859157"}
|
|
438
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
439
|
+
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
|
440
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
441
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
442
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
443
|
+
Processing by AudiosController#update as HTML
|
|
444
|
+
Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-01-23 03:25:12 UTC", "updated_at"=>"2012-01-23 03:25:12 UTC"}, "id"=>"410859157"}
|
|
445
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
446
|
+
WARNING: Can't mass-assign protected attributes: id
|
|
447
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
448
|
+
[attached] save attached
|
|
449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
450
|
+
Redirected to http://test.host/audios/410859157
|
|
451
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
|
452
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
453
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
454
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
455
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
456
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
457
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
458
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
459
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
460
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
461
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
462
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
463
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
464
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
465
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
466
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
467
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
468
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
469
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
470
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
471
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
472
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
473
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
474
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
475
|
+
[attached] save attached
|
|
476
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:25:13 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "ee1f8491-6e52-410f-9d62-bd544715d066"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:25:13 UTC +00:00]]
|
|
477
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
478
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
479
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
480
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
481
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
482
|
+
Processing by ImagesController#create as HTML
|
|
483
|
+
Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007fa8cc8a0af8 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/image.png20120122-51948-ocpx4s>>}}
|
|
484
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
485
|
+
[attached] save attached
|
|
486
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:25:13 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 03:25:13 UTC +00:00]]
|
|
487
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
488
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
489
|
+
[attached] save attached
|
|
490
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
491
|
+
Redirected to http://test.host/images/87884899
|
|
492
|
+
Completed 302 Found in 209ms (ActiveRecord: 0.0ms)
|
|
493
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
494
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
495
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
496
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
497
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
498
|
+
Processing by ImagesController#destroy as HTML
|
|
499
|
+
Parameters: {"id"=>"87884898"}
|
|
500
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
501
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
502
|
+
[attached] destroy attached
|
|
503
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
|
|
504
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
505
|
+
Redirected to http://test.host/images
|
|
506
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
507
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
508
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
509
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
510
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
511
|
+
Processing by ImagesController#edit as HTML
|
|
512
|
+
Parameters: {"id"=>"87884898"}
|
|
513
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
514
|
+
Rendered images/_form.html.erb (3.1ms)
|
|
515
|
+
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.1ms)
|
|
516
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
517
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
518
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
519
|
+
Processing by ImagesController#index as HTML
|
|
520
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images"
|
|
521
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.1ms)
|
|
522
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
523
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
524
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
525
|
+
Processing by ImagesController#new as HTML
|
|
526
|
+
Rendered images/_form.html.erb (2.9ms)
|
|
527
|
+
Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
|
528
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
529
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
530
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
531
|
+
Processing by ImagesController#show as HTML
|
|
532
|
+
Parameters: {"id"=>"87884898"}
|
|
533
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
534
|
+
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
|
535
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
536
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
537
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
538
|
+
Processing by ImagesController#update as HTML
|
|
539
|
+
Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-01-23 03:25:12 UTC", "updated_at"=>"2012-01-23 03:25:12 UTC"}, "id"=>"87884898"}
|
|
540
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
541
|
+
Redirected to http://test.host/images/87884898
|
|
542
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
|
543
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
544
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
545
|
+
Processing by MainController#index as HTML
|
|
546
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
|
547
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
548
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
549
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
550
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
551
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
552
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
553
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
554
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
555
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
556
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
557
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
558
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
559
|
+
[attached] save attached
|
|
560
|
+
[1m[35mSQL (6.9ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:43:56 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "67645888-cf0b-47db-8202-2df3a1ce594d"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:43:56 UTC +00:00]]
|
|
561
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
562
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "audios"
|
|
563
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-01-23 03:43:56', '2012-01-23 03:43:56', 410859157)[0m
|
|
564
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "images"
|
|
565
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-01-23 03:43:56', '2012-01-23 03:43:56', 87884898)[0m
|
|
566
|
+
[1m[35mAudio Load (0.2ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
567
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audios" [0m
|
|
568
|
+
Processing by AudiosController#create as HTML
|
|
569
|
+
Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007f9ab56a0a48 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/audio.wav20120122-52931-bblpyu>>}}
|
|
570
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
|
571
|
+
[attached] save attached
|
|
572
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:43:56 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "9b084b16-eb46-4730-ad80-c5d7d8ef92d2"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 23 Jan 2012 03:43:56 UTC +00:00]]
|
|
573
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
574
|
+
Redirected to http://test.host/audios/410859158
|
|
575
|
+
Completed 302 Found in 701ms
|
|
576
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audios" [0m
|
|
577
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
578
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audios" [0m
|
|
579
|
+
Processing by AudiosController#destroy as HTML
|
|
580
|
+
Parameters: {"id"=>"410859157"}
|
|
581
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
582
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
583
|
+
[attached] destroy attached
|
|
584
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
|
|
585
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
586
|
+
Redirected to http://test.host/audios
|
|
587
|
+
Completed 302 Found in 5ms
|
|
588
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
589
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
590
|
+
Processing by AudiosController#edit as HTML
|
|
591
|
+
Parameters: {"id"=>"410859157"}
|
|
592
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
593
|
+
Rendered audios/_form.html.erb (3.5ms)
|
|
594
|
+
Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.1ms)
|
|
595
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
596
|
+
Processing by AudiosController#index as HTML
|
|
597
|
+
[1m[35mAudio Load (0.2ms)[0m SELECT "audios".* FROM "audios"
|
|
598
|
+
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms)
|
|
599
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
600
|
+
Processing by AudiosController#new as HTML
|
|
601
|
+
Rendered audios/_form.html.erb (2.5ms)
|
|
602
|
+
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
|
603
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
604
|
+
Processing by AudiosController#show as HTML
|
|
605
|
+
Parameters: {"id"=>"410859157"}
|
|
606
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
607
|
+
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
|
608
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
609
|
+
Processing by AudiosController#update as HTML
|
|
610
|
+
Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-01-23 03:43:56 UTC", "updated_at"=>"2012-01-23 03:43:56 UTC"}, "id"=>"410859157"}
|
|
611
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
612
|
+
WARNING: Can't mass-assign protected attributes: id
|
|
613
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
614
|
+
[attached] save attached
|
|
615
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
616
|
+
Redirected to http://test.host/audios/410859157
|
|
617
|
+
Completed 302 Found in 6ms
|
|
618
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
619
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
620
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
621
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
622
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
623
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
624
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
625
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
626
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
627
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
628
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
629
|
+
[attached] save attached
|
|
630
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:43:57 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "8628fbe3-bd09-4713-babe-e38c1492788e"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:43:57 UTC +00:00]]
|
|
631
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
632
|
+
[1m[36mImage Load (0.3ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
633
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "images"
|
|
634
|
+
Processing by ImagesController#create as HTML
|
|
635
|
+
Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007f9ab41eae50 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/image.png20120122-52931-u11qvv>>}}
|
|
636
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
637
|
+
[attached] save attached
|
|
638
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:43:57 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "d39266e6-2426-4888-9f12-031ade4f872e"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 03:43:57 UTC +00:00]]
|
|
639
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
640
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
641
|
+
[attached] save attached
|
|
642
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
643
|
+
Redirected to http://test.host/images/87884899
|
|
644
|
+
Completed 302 Found in 202ms
|
|
645
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
646
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
647
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
648
|
+
Processing by ImagesController#destroy as HTML
|
|
649
|
+
Parameters: {"id"=>"87884898"}
|
|
650
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
651
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
652
|
+
[attached] destroy attached
|
|
653
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "images" WHERE "images"."id" = ?[0m [["id", 87884898]]
|
|
654
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
655
|
+
Redirected to http://test.host/images
|
|
656
|
+
Completed 302 Found in 5ms
|
|
657
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
658
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
659
|
+
Processing by ImagesController#edit as HTML
|
|
660
|
+
Parameters: {"id"=>"87884898"}
|
|
661
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
662
|
+
Rendered images/_form.html.erb (3.6ms)
|
|
663
|
+
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
|
|
664
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
665
|
+
Processing by ImagesController#index as HTML
|
|
666
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" [0m
|
|
667
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
|
668
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
669
|
+
Processing by ImagesController#new as HTML
|
|
670
|
+
Rendered images/_form.html.erb (94.4ms)
|
|
671
|
+
Completed 200 OK in 97ms (Views: 96.6ms | ActiveRecord: 0.0ms)
|
|
672
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
673
|
+
Processing by ImagesController#show as HTML
|
|
674
|
+
Parameters: {"id"=>"87884898"}
|
|
675
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
676
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
|
|
677
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
678
|
+
Processing by ImagesController#update as HTML
|
|
679
|
+
Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-01-23 03:43:56 UTC", "updated_at"=>"2012-01-23 03:43:56 UTC"}, "id"=>"87884898"}
|
|
680
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
681
|
+
Redirected to http://test.host/images/87884898
|
|
682
|
+
Completed 302 Found in 3ms
|
|
683
|
+
Processing by MainController#index as HTML
|
|
684
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
|
685
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
686
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
687
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
688
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
689
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
690
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
691
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
692
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
693
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
694
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
696
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
697
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
698
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
699
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
700
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
701
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
702
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
703
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
704
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
705
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
706
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
707
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
708
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
709
|
+
[attached] save attached
|
|
710
|
+
[1m[36mSQL (6.2ms)[0m [1mINSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:44:02 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "a79a531d-5de4-4aa3-9c04-275cf6307d13"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:44:02 UTC +00:00]]
|
|
711
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
712
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
713
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
714
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "audios"[0m
|
|
715
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-01-23 03:44:02', '2012-01-23 03:44:02', 410859157)
|
|
716
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "images"[0m
|
|
717
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-01-23 03:44:02', '2012-01-23 03:44:02', 87884898)
|
|
718
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
|
719
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
720
|
+
[1m[36mAudio Load (0.2ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
721
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
722
|
+
Processing by AudiosController#create as HTML
|
|
723
|
+
Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007f8dc66440f0 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/audio.wav20120122-52993-quln59>>}}
|
|
724
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
725
|
+
[attached] save attached
|
|
726
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:44:02 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "1a5d65b6-3d7f-45e3-8fc8-9221f3bca127"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 23 Jan 2012 03:44:02 UTC +00:00]]
|
|
727
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
728
|
+
Redirected to http://test.host/audios/410859158
|
|
729
|
+
Completed 302 Found in 674ms (ActiveRecord: 0.0ms)
|
|
730
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
731
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
732
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
733
|
+
[1m[36mAudio Load (0.2ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
734
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audios"
|
|
735
|
+
Processing by AudiosController#destroy as HTML
|
|
736
|
+
Parameters: {"id"=>"410859157"}
|
|
737
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
738
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
739
|
+
[attached] destroy attached
|
|
740
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "audios" WHERE "audios"."id" = ?[0m [["id", 410859157]]
|
|
741
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
742
|
+
Redirected to http://test.host/audios
|
|
743
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
744
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audios" [0m
|
|
745
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
746
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
747
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
748
|
+
Processing by AudiosController#edit as HTML
|
|
749
|
+
Parameters: {"id"=>"410859157"}
|
|
750
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
751
|
+
Rendered audios/_form.html.erb (3.1ms)
|
|
752
|
+
Completed 200 OK in 64ms (Views: 62.4ms | ActiveRecord: 0.1ms)
|
|
753
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
754
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
755
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
756
|
+
Processing by AudiosController#index as HTML
|
|
757
|
+
[1m[36mAudio Load (0.2ms)[0m [1mSELECT "audios".* FROM "audios" [0m
|
|
758
|
+
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
|
759
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
760
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
761
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
762
|
+
Processing by AudiosController#new as HTML
|
|
763
|
+
Rendered audios/_form.html.erb (1.8ms)
|
|
764
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
|
765
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
766
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
767
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
768
|
+
Processing by AudiosController#show as HTML
|
|
769
|
+
Parameters: {"id"=>"410859157"}
|
|
770
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
771
|
+
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
|
|
772
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
773
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
774
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
775
|
+
Processing by AudiosController#update as HTML
|
|
776
|
+
Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-01-23 03:44:02 UTC", "updated_at"=>"2012-01-23 03:44:02 UTC"}, "id"=>"410859157"}
|
|
777
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
778
|
+
WARNING: Can't mass-assign protected attributes: id
|
|
779
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
780
|
+
[attached] save attached
|
|
781
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
782
|
+
Redirected to http://test.host/audios/410859157
|
|
783
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
|
784
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
785
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
786
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
787
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
788
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
789
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
790
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
791
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
792
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
793
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
794
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
795
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
796
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
797
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
798
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
799
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
800
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
801
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
802
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
803
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
804
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
805
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
806
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
807
|
+
[attached] save attached
|
|
808
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:44:03 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "ffc3f5fd-ff40-4a77-8e08-0517e519f857"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:44:03 UTC +00:00]]
|
|
809
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
810
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
812
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
813
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
814
|
+
Processing by ImagesController#create as HTML
|
|
815
|
+
Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007f8dc421e0e0 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/image.png20120122-52993-14bk0dt>>}}
|
|
816
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
817
|
+
[attached] save attached
|
|
818
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:44:03 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "b7318aed-63ee-43a2-9365-755bcc2815df"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 03:44:03 UTC +00:00]]
|
|
819
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
820
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
821
|
+
[attached] save attached
|
|
822
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
823
|
+
Redirected to http://test.host/images/87884899
|
|
824
|
+
Completed 302 Found in 202ms (ActiveRecord: 0.0ms)
|
|
825
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
826
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
827
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
828
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
829
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
830
|
+
Processing by ImagesController#destroy as HTML
|
|
831
|
+
Parameters: {"id"=>"87884898"}
|
|
832
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
833
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
834
|
+
[attached] destroy attached
|
|
835
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
|
|
836
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
837
|
+
Redirected to http://test.host/images
|
|
838
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
839
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
840
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
841
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
842
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
843
|
+
Processing by ImagesController#edit as HTML
|
|
844
|
+
Parameters: {"id"=>"87884898"}
|
|
845
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
846
|
+
Rendered images/_form.html.erb (4.5ms)
|
|
847
|
+
Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.1ms)
|
|
848
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
849
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
850
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
851
|
+
Processing by ImagesController#index as HTML
|
|
852
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images"
|
|
853
|
+
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
|
854
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
855
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
856
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
857
|
+
Processing by ImagesController#new as HTML
|
|
858
|
+
Rendered images/_form.html.erb (1.9ms)
|
|
859
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
|
860
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
861
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
862
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
863
|
+
Processing by ImagesController#show as HTML
|
|
864
|
+
Parameters: {"id"=>"87884898"}
|
|
865
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
866
|
+
Completed 200 OK in 145ms (Views: 143.4ms | ActiveRecord: 0.1ms)
|
|
867
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
868
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
869
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
870
|
+
Processing by ImagesController#update as HTML
|
|
871
|
+
Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-01-23 03:44:02 UTC", "updated_at"=>"2012-01-23 03:44:02 UTC"}, "id"=>"87884898"}
|
|
872
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
873
|
+
Redirected to http://test.host/images/87884898
|
|
874
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
|
875
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
876
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
877
|
+
Processing by MainController#index as HTML
|
|
878
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
|
879
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
880
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
|
881
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
882
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
883
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
884
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
885
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
886
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
887
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
888
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
889
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
890
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
891
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
892
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
893
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
894
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
895
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
896
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
897
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
899
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
900
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
901
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
903
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
904
|
+
[attached] save attached
|
|
905
|
+
[1m[36mSQL (8.2ms)[0m [1mINSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:44:14 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "ffb3df30-8dbf-4938-abde-21cdfced70d1"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:44:14 UTC +00:00]]
|
|
906
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
907
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
908
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
909
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "audios"[0m
|
|
910
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-01-23 03:44:14', '2012-01-23 03:44:14', 410859157)
|
|
911
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "images"[0m
|
|
912
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-01-23 03:44:14', '2012-01-23 03:44:14', 87884898)
|
|
913
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
|
914
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
915
|
+
[1m[36mAudio Load (0.2ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
916
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
917
|
+
Processing by AudiosController#create as HTML
|
|
918
|
+
Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007fb582a42b78 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/audio.wav20120122-53059-1qht6am>>}}
|
|
919
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
920
|
+
[attached] save attached
|
|
921
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:44:14 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "3729319f-299b-47e2-bd7e-d73d38b5cf8f"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 23 Jan 2012 03:44:14 UTC +00:00]]
|
|
922
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
923
|
+
Redirected to http://test.host/audios/410859158
|
|
924
|
+
Completed 302 Found in 669ms (ActiveRecord: 0.0ms)
|
|
925
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
926
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
927
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
928
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
929
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
930
|
+
Processing by AudiosController#destroy as HTML
|
|
931
|
+
Parameters: {"id"=>"410859157"}
|
|
932
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
933
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
934
|
+
[attached] destroy attached
|
|
935
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "audios" WHERE "audios"."id" = ?[0m [["id", 410859157]]
|
|
936
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
937
|
+
Redirected to http://test.host/audios
|
|
938
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
939
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audios" [0m
|
|
940
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
941
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
942
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
943
|
+
Processing by AudiosController#edit as HTML
|
|
944
|
+
Parameters: {"id"=>"410859157"}
|
|
945
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
946
|
+
Rendered audios/_form.html.erb (3.3ms)
|
|
947
|
+
Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.1ms)
|
|
948
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
949
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
950
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
951
|
+
Processing by AudiosController#index as HTML
|
|
952
|
+
[1m[36mAudio Load (0.2ms)[0m [1mSELECT "audios".* FROM "audios" [0m
|
|
953
|
+
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
|
954
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
955
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
956
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
957
|
+
Processing by AudiosController#new as HTML
|
|
958
|
+
Rendered audios/_form.html.erb (2.0ms)
|
|
959
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
|
960
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
961
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
962
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
963
|
+
Processing by AudiosController#show as HTML
|
|
964
|
+
Parameters: {"id"=>"410859157"}
|
|
965
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
966
|
+
Completed 200 OK in 68ms (Views: 66.7ms | ActiveRecord: 0.1ms)
|
|
967
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
968
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
969
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
970
|
+
Processing by AudiosController#update as HTML
|
|
971
|
+
Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-01-23 03:44:14 UTC", "updated_at"=>"2012-01-23 03:44:14 UTC"}, "id"=>"410859157"}
|
|
972
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
973
|
+
WARNING: Can't mass-assign protected attributes: id
|
|
974
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
975
|
+
[attached] save attached
|
|
976
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
977
|
+
Redirected to http://test.host/audios/410859157
|
|
978
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
|
979
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
980
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
981
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
982
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
983
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
984
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
985
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
986
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
987
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
988
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
989
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
990
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
991
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
992
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
993
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
994
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
995
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
996
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
997
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
998
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
999
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1000
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1001
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1002
|
+
[attached] save attached
|
|
1003
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:44:15 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "12ace664-b553-45a6-b02b-37e15ac2981b"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:44:15 UTC +00:00]]
|
|
1004
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1005
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
1006
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1007
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1008
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
1009
|
+
Processing by ImagesController#create as HTML
|
|
1010
|
+
Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007fb58121f780 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/image.png20120122-53059-uc43hd>>}}
|
|
1011
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
1012
|
+
[attached] save attached
|
|
1013
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:44:15 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "2ac8ebdb-bc96-49c4-befd-5c96b47646e5"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 03:44:15 UTC +00:00]]
|
|
1014
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1015
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1016
|
+
[attached] save attached
|
|
1017
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1018
|
+
Redirected to http://test.host/images/87884899
|
|
1019
|
+
Completed 302 Found in 213ms (ActiveRecord: 0.0ms)
|
|
1020
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
1021
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
1022
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1023
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1024
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
1025
|
+
Processing by ImagesController#destroy as HTML
|
|
1026
|
+
Parameters: {"id"=>"87884898"}
|
|
1027
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
1028
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1029
|
+
[attached] destroy attached
|
|
1030
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
|
|
1031
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1032
|
+
Redirected to http://test.host/images
|
|
1033
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
1034
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
1035
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
1036
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1037
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
1038
|
+
Processing by ImagesController#edit as HTML
|
|
1039
|
+
Parameters: {"id"=>"87884898"}
|
|
1040
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
1041
|
+
Rendered images/_form.html.erb (3.4ms)
|
|
1042
|
+
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.1ms)
|
|
1043
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1044
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1045
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
1046
|
+
Processing by ImagesController#index as HTML
|
|
1047
|
+
[1m[35mImage Load (0.3ms)[0m SELECT "images".* FROM "images"
|
|
1048
|
+
Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms)
|
|
1049
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1050
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1051
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
1052
|
+
Processing by ImagesController#new as HTML
|
|
1053
|
+
Rendered images/_form.html.erb (1.9ms)
|
|
1054
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
|
1055
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1056
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1057
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1058
|
+
Processing by ImagesController#show as HTML
|
|
1059
|
+
Parameters: {"id"=>"87884898"}
|
|
1060
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
1061
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
|
1062
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1064
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1065
|
+
Processing by ImagesController#update as HTML
|
|
1066
|
+
Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-01-23 03:44:14 UTC", "updated_at"=>"2012-01-23 03:44:14 UTC"}, "id"=>"87884898"}
|
|
1067
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
1068
|
+
Redirected to http://test.host/images/87884898
|
|
1069
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
|
1070
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1071
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1072
|
+
Processing by MainController#index as HTML
|
|
1073
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
|
1074
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1075
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
1076
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
1077
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1078
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1079
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1080
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1082
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1083
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1084
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
1085
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1086
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
1087
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1088
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
1089
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1090
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1091
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1092
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
1093
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1094
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1095
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1096
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
1097
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1098
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
1099
|
+
[attached] save attached
|
|
1100
|
+
[1m[36mSQL (5.8ms)[0m [1mINSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:48:53 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "a6880c5f-d130-469f-9c30-d8aa1b9f7b71"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:48:53 UTC +00:00]]
|
|
1101
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1102
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
1103
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1104
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "audios"[0m
|
|
1105
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-01-23 03:48:53', '2012-01-23 03:48:53', 410859157)
|
|
1106
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "images"[0m
|
|
1107
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-01-23 03:48:53', '2012-01-23 03:48:53', 87884898)
|
|
1108
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
|
1109
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1110
|
+
[1m[36mAudio Load (0.2ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
1111
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
1112
|
+
Processing by AudiosController#create as HTML
|
|
1113
|
+
Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007fdef3055148 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/audio.wav20120122-53249-xq6ovn>>}}
|
|
1114
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1115
|
+
[attached] save attached
|
|
1116
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:48:54 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "5d262d6b-4789-42f9-b985-1c39c9eca0c0"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 23 Jan 2012 03:48:54 UTC +00:00]]
|
|
1117
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1118
|
+
Redirected to http://test.host/audios/410859158
|
|
1119
|
+
Completed 302 Found in 732ms (ActiveRecord: 0.0ms)
|
|
1120
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audios"
|
|
1121
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
1122
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1123
|
+
[1m[36mAudio Load (0.2ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
1124
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audios"
|
|
1125
|
+
Processing by AudiosController#destroy as HTML
|
|
1126
|
+
Parameters: {"id"=>"410859157"}
|
|
1127
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
1128
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1129
|
+
[attached] destroy attached
|
|
1130
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "audios" WHERE "audios"."id" = ?[0m [["id", 410859157]]
|
|
1131
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1132
|
+
Redirected to http://test.host/audios
|
|
1133
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
|
1134
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audios" [0m
|
|
1135
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
1136
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1137
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
1138
|
+
Processing by AudiosController#edit as HTML
|
|
1139
|
+
Parameters: {"id"=>"410859157"}
|
|
1140
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
1141
|
+
Rendered audios/_form.html.erb (3.7ms)
|
|
1142
|
+
Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.1ms)
|
|
1143
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1144
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1145
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
1146
|
+
Processing by AudiosController#index as HTML
|
|
1147
|
+
[1m[36mAudio Load (0.2ms)[0m [1mSELECT "audios".* FROM "audios" [0m
|
|
1148
|
+
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)
|
|
1149
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1150
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1151
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
1152
|
+
Processing by AudiosController#new as HTML
|
|
1153
|
+
Rendered audios/_form.html.erb (2.7ms)
|
|
1154
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
|
1155
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1156
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1157
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
1158
|
+
Processing by AudiosController#show as HTML
|
|
1159
|
+
Parameters: {"id"=>"410859157"}
|
|
1160
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
1161
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.1ms)
|
|
1162
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1163
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1164
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
1165
|
+
Processing by AudiosController#update as HTML
|
|
1166
|
+
Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-01-23 03:48:53 UTC", "updated_at"=>"2012-01-23 03:48:53 UTC"}, "id"=>"410859157"}
|
|
1167
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
1168
|
+
WARNING: Can't mass-assign protected attributes: id
|
|
1169
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1170
|
+
[attached] save attached
|
|
1171
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1172
|
+
Redirected to http://test.host/audios/410859157
|
|
1173
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
|
1174
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1175
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1176
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1177
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1178
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1179
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1180
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1181
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1182
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1183
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1184
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1185
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1186
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1187
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1188
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1189
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1190
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1191
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1192
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1193
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1194
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1195
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1196
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1197
|
+
[attached] save attached
|
|
1198
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 03:48:55 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "0850c86c-78a8-4319-8852-bed744b792e6"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:48:55 UTC +00:00]]
|
|
1199
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1200
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
1201
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1202
|
+
[1m[35mImage Load (0.3ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1203
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
1204
|
+
Processing by ImagesController#create as HTML
|
|
1205
|
+
Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007fdef1126da8 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/image.png20120122-53249-13oboy0>>}}
|
|
1206
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1207
|
+
[attached] save attached
|
|
1208
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 03:48:55 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "a0158251-8d9c-42fb-a854-e56b915713df"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 03:48:55 UTC +00:00]]
|
|
1209
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1210
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1211
|
+
[attached] save attached
|
|
1212
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1213
|
+
Redirected to http://test.host/images/87884899
|
|
1214
|
+
Completed 302 Found in 209ms (ActiveRecord: 0.0ms)
|
|
1215
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
1216
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1217
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1218
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1219
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
1220
|
+
Processing by ImagesController#destroy as HTML
|
|
1221
|
+
Parameters: {"id"=>"87884898"}
|
|
1222
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
1223
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1224
|
+
[attached] destroy attached
|
|
1225
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
|
|
1226
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1227
|
+
Redirected to http://test.host/images
|
|
1228
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
|
1229
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
1230
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
1231
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1232
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
1233
|
+
Processing by ImagesController#edit as HTML
|
|
1234
|
+
Parameters: {"id"=>"87884898"}
|
|
1235
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
1236
|
+
Rendered images/_form.html.erb (3.2ms)
|
|
1237
|
+
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
|
|
1238
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1239
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1240
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
1241
|
+
Processing by ImagesController#index as HTML
|
|
1242
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images"
|
|
1243
|
+
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.2ms)
|
|
1244
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1245
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1246
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
1247
|
+
Processing by ImagesController#new as HTML
|
|
1248
|
+
Rendered images/_form.html.erb (1.8ms)
|
|
1249
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
|
1250
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1251
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1252
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1253
|
+
Processing by ImagesController#show as HTML
|
|
1254
|
+
Parameters: {"id"=>"87884898"}
|
|
1255
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
1256
|
+
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms)
|
|
1257
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1258
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1259
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1260
|
+
Processing by ImagesController#update as HTML
|
|
1261
|
+
Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-01-23 03:48:53 UTC", "updated_at"=>"2012-01-23 03:48:53 UTC"}, "id"=>"87884898"}
|
|
1262
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
1263
|
+
Redirected to http://test.host/images/87884898
|
|
1264
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
|
1265
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1266
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1267
|
+
Processing by MainController#index as HTML
|
|
1268
|
+
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
|
1269
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1270
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
|
1271
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1273
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1274
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1275
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1278
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1279
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
1280
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1281
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1282
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1283
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1284
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1285
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1286
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1287
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1288
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1289
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1290
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1291
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
1292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1293
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1294
|
+
[attached] save attached
|
|
1295
|
+
[1m[36mSQL (13.8ms)[0m [1mINSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 04:10:36 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "8d116bcb-2605-429e-9edc-b1a91fa66d0a"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 23 Jan 2012 04:10:36 UTC +00:00]]
|
|
1296
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1297
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
1298
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1299
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "audios"[0m
|
|
1300
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-01-23 04:10:36', '2012-01-23 04:10:36', 410859157)
|
|
1301
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "images"[0m
|
|
1302
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-01-23 04:10:36', '2012-01-23 04:10:36', 87884898)
|
|
1303
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
|
1304
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1305
|
+
[1m[36mAudio Load (0.3ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
1306
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audios"
|
|
1307
|
+
Processing by AudiosController#create as HTML
|
|
1308
|
+
Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007f9b8f8ef198 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/audio.wav20120122-25485-5ndzcn>>}}
|
|
1309
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1310
|
+
[attached] save attached
|
|
1311
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 04:10:37 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "9dddf071-ac43-4232-9a9d-fb5d26862bd1"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 23 Jan 2012 04:10:37 UTC +00:00]]
|
|
1312
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1313
|
+
Redirected to http://test.host/audios/410859158
|
|
1314
|
+
Completed 302 Found in 1258ms (ActiveRecord: 0.0ms)
|
|
1315
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
1316
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1317
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1318
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
1319
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audios"
|
|
1320
|
+
Processing by AudiosController#destroy as HTML
|
|
1321
|
+
Parameters: {"id"=>"410859157"}
|
|
1322
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
1323
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1324
|
+
[attached] destroy attached
|
|
1325
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "audios" WHERE "audios"."id" = ?[0m [["id", 410859157]]
|
|
1326
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1327
|
+
Redirected to http://test.host/audios
|
|
1328
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
|
1329
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audios" [0m
|
|
1330
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
1331
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1332
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
1333
|
+
Processing by AudiosController#edit as HTML
|
|
1334
|
+
Parameters: {"id"=>"410859157"}
|
|
1335
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", "410859157"]]
|
|
1336
|
+
Rendered audios/_form.html.erb (6.0ms)
|
|
1337
|
+
Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.1ms)
|
|
1338
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1339
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1340
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
1341
|
+
Processing by AudiosController#index as HTML
|
|
1342
|
+
[1m[36mAudio Load (0.2ms)[0m [1mSELECT "audios".* FROM "audios" [0m
|
|
1343
|
+
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.2ms)
|
|
1344
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1345
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1346
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
|
|
1347
|
+
Processing by AudiosController#new as HTML
|
|
1348
|
+
Rendered audios/_form.html.erb (64.5ms)
|
|
1349
|
+
Completed 200 OK in 69ms (Views: 68.2ms | ActiveRecord: 0.0ms)
|
|
1350
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1351
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1352
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
1353
|
+
Processing by AudiosController#show as HTML
|
|
1354
|
+
Parameters: {"id"=>"410859157"}
|
|
1355
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
1356
|
+
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms)
|
|
1357
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1358
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1359
|
+
[1m[36mAudio Load (0.1ms)[0m [1mSELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1[0m [["id", 410859157]]
|
|
1360
|
+
Processing by AudiosController#update as HTML
|
|
1361
|
+
Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-01-23 04:10:36 UTC", "updated_at"=>"2012-01-23 04:10:36 UTC"}, "id"=>"410859157"}
|
|
1362
|
+
[1m[35mAudio Load (0.1ms)[0m SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
|
|
1363
|
+
WARNING: Can't mass-assign protected attributes: id
|
|
1364
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1365
|
+
[attached] save attached
|
|
1366
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1367
|
+
Redirected to http://test.host/audios/410859157
|
|
1368
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
|
1369
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1370
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1371
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1372
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1373
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1374
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1375
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1376
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1377
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1378
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1379
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1380
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1381
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1382
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1383
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1384
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1385
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1386
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1387
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1388
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1389
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1390
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1391
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1392
|
+
[attached] save attached
|
|
1393
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Jan 2012 04:10:38 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "c292008f-764f-4f8a-8df1-82c63d87a653"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 23 Jan 2012 04:10:38 UTC +00:00]]
|
|
1394
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1395
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
1396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1397
|
+
[1m[35mImage Load (0.3ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1398
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
1399
|
+
Processing by ImagesController#create as HTML
|
|
1400
|
+
Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007f9b8fad7b40 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/image.png20120122-25485-1vle7tc>>}}
|
|
1401
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1402
|
+
[attached] save attached
|
|
1403
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Jan 2012 04:10:38 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "5af89da1-b1fa-421a-a52e-01607d89fb5d"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 04:10:38 UTC +00:00]]
|
|
1404
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1405
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1406
|
+
[attached] save attached
|
|
1407
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1408
|
+
Redirected to http://test.host/images/87884899
|
|
1409
|
+
Completed 302 Found in 256ms (ActiveRecord: 0.0ms)
|
|
1410
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
1411
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1412
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1413
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1414
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "images" [0m
|
|
1415
|
+
Processing by ImagesController#destroy as HTML
|
|
1416
|
+
Parameters: {"id"=>"87884898"}
|
|
1417
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
1418
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1419
|
+
[attached] destroy attached
|
|
1420
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
|
|
1421
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1422
|
+
Redirected to http://test.host/images
|
|
1423
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
|
1424
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "images"
|
|
1425
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1426
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1427
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
1428
|
+
Processing by ImagesController#edit as HTML
|
|
1429
|
+
Parameters: {"id"=>"87884898"}
|
|
1430
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
|
|
1431
|
+
Rendered images/_form.html.erb (4.3ms)
|
|
1432
|
+
Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.1ms)
|
|
1433
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1434
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1435
|
+
[1m[36mImage Load (0.2ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
1436
|
+
Processing by ImagesController#index as HTML
|
|
1437
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images"
|
|
1438
|
+
Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.2ms)
|
|
1439
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1440
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1441
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", 87884898]]
|
|
1442
|
+
Processing by ImagesController#new as HTML
|
|
1443
|
+
Rendered images/_form.html.erb (3.7ms)
|
|
1444
|
+
Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
|
|
1445
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1446
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1447
|
+
[1m[35mImage Load (0.2ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1448
|
+
Processing by ImagesController#show as HTML
|
|
1449
|
+
Parameters: {"id"=>"87884898"}
|
|
1450
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
1451
|
+
Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.1ms)
|
|
1452
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1453
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1454
|
+
[1m[35mImage Load (0.1ms)[0m SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
|
|
1455
|
+
Processing by ImagesController#update as HTML
|
|
1456
|
+
Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-01-23 04:10:36 UTC", "updated_at"=>"2012-01-23 04:10:36 UTC"}, "id"=>"87884898"}
|
|
1457
|
+
[1m[36mImage Load (0.1ms)[0m [1mSELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1[0m [["id", "87884898"]]
|
|
1458
|
+
Redirected to http://test.host/images/87884898
|
|
1459
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
1460
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1462
|
+
Processing by MainController#index as HTML
|
|
1463
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
|
1464
|
+
[1m[35m (0.1ms)[0m rollback transaction
|