attached 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. data/Rakefile +2 -0
  2. data/lib/attached.rb +3 -16
  3. data/lib/attached/job.rb +1 -0
  4. data/lib/attached/version.rb +1 -1
  5. data/test/dummy/db/test.sqlite3 +0 -0
  6. data/test/dummy/log/test.log +1307 -0
  7. data/test/dummy/public/system/audios/files/full/07a3f586-805d-4c68-be01-7ba4d787aa9e.aac +0 -0
  8. data/test/dummy/public/system/audios/files/full/1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.aac +0 -0
  9. data/test/dummy/public/system/audios/files/full/3729319f-299b-47e2-bd7e-d73d38b5cf8f.aac +0 -0
  10. data/test/dummy/public/system/audios/files/full/41e88b81-2804-4316-86e8-252adad0eaa3.aac +0 -0
  11. data/test/dummy/public/system/audios/files/full/5d262d6b-4789-42f9-b985-1c39c9eca0c0.aac +0 -0
  12. data/test/dummy/public/system/audios/files/full/67645888-cf0b-47db-8202-2df3a1ce594d.aac +0 -0
  13. data/test/dummy/public/system/audios/files/full/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.aac +0 -0
  14. data/test/dummy/public/system/audios/files/full/8d116bcb-2605-429e-9edc-b1a91fa66d0a.aac +0 -0
  15. data/test/dummy/public/system/audios/files/full/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.aac +0 -0
  16. data/test/dummy/public/system/audios/files/full/9dddf071-ac43-4232-9a9d-fb5d26862bd1.aac +0 -0
  17. data/test/dummy/public/system/audios/files/full/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.aac +0 -0
  18. data/test/dummy/public/system/audios/files/full/a79a531d-5de4-4aa3-9c04-275cf6307d13.aac +0 -0
  19. data/test/dummy/public/system/audios/files/full/ee0041b9-6482-4d4f-96cc-1a6e28c93570.aac +0 -0
  20. data/test/dummy/public/system/audios/files/full/ffb3df30-8dbf-4938-abde-21cdfced70d1.aac +0 -0
  21. data/test/dummy/public/system/audios/files/large/07a3f586-805d-4c68-be01-7ba4d787aa9e.aac +0 -0
  22. data/test/dummy/public/system/audios/files/large/1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.aac +0 -0
  23. data/test/dummy/public/system/audios/files/large/3729319f-299b-47e2-bd7e-d73d38b5cf8f.aac +0 -0
  24. data/test/dummy/public/system/audios/files/large/41e88b81-2804-4316-86e8-252adad0eaa3.aac +0 -0
  25. data/test/dummy/public/system/audios/files/large/5d262d6b-4789-42f9-b985-1c39c9eca0c0.aac +0 -0
  26. data/test/dummy/public/system/audios/files/large/67645888-cf0b-47db-8202-2df3a1ce594d.aac +0 -0
  27. data/test/dummy/public/system/audios/files/large/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.aac +0 -0
  28. data/test/dummy/public/system/audios/files/large/8d116bcb-2605-429e-9edc-b1a91fa66d0a.aac +0 -0
  29. data/test/dummy/public/system/audios/files/large/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.aac +0 -0
  30. data/test/dummy/public/system/audios/files/large/9dddf071-ac43-4232-9a9d-fb5d26862bd1.aac +0 -0
  31. data/test/dummy/public/system/audios/files/large/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.aac +0 -0
  32. data/test/dummy/public/system/audios/files/large/a79a531d-5de4-4aa3-9c04-275cf6307d13.aac +0 -0
  33. data/test/dummy/public/system/audios/files/large/ee0041b9-6482-4d4f-96cc-1a6e28c93570.aac +0 -0
  34. data/test/dummy/public/system/audios/files/large/ffb3df30-8dbf-4938-abde-21cdfced70d1.aac +0 -0
  35. data/test/dummy/public/system/audios/files/original/07a3f586-805d-4c68-be01-7ba4d787aa9e.wav +0 -0
  36. data/test/dummy/public/system/audios/files/original/1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.wav +0 -0
  37. data/test/dummy/public/system/audios/files/original/3729319f-299b-47e2-bd7e-d73d38b5cf8f.wav +0 -0
  38. data/test/dummy/public/system/audios/files/original/41e88b81-2804-4316-86e8-252adad0eaa3.wav +0 -0
  39. data/test/dummy/public/system/audios/files/original/5d262d6b-4789-42f9-b985-1c39c9eca0c0.wav +0 -0
  40. data/test/dummy/public/system/audios/files/original/67645888-cf0b-47db-8202-2df3a1ce594d.wav +0 -0
  41. data/test/dummy/public/system/audios/files/original/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.wav +0 -0
  42. data/test/dummy/public/system/audios/files/original/8d116bcb-2605-429e-9edc-b1a91fa66d0a.wav +0 -0
  43. data/test/dummy/public/system/audios/files/original/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.wav +0 -0
  44. data/test/dummy/public/system/audios/files/original/9dddf071-ac43-4232-9a9d-fb5d26862bd1.wav +0 -0
  45. data/test/dummy/public/system/audios/files/original/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.wav +0 -0
  46. data/test/dummy/public/system/audios/files/original/a79a531d-5de4-4aa3-9c04-275cf6307d13.wav +0 -0
  47. data/test/dummy/public/system/audios/files/original/ee0041b9-6482-4d4f-96cc-1a6e28c93570.wav +0 -0
  48. data/test/dummy/public/system/audios/files/original/ffb3df30-8dbf-4938-abde-21cdfced70d1.wav +0 -0
  49. data/test/dummy/public/system/audios/files/small/07a3f586-805d-4c68-be01-7ba4d787aa9e.aac +0 -0
  50. data/test/dummy/public/system/audios/files/small/1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.aac +0 -0
  51. data/test/dummy/public/system/audios/files/small/3729319f-299b-47e2-bd7e-d73d38b5cf8f.aac +0 -0
  52. data/test/dummy/public/system/audios/files/small/41e88b81-2804-4316-86e8-252adad0eaa3.aac +0 -0
  53. data/test/dummy/public/system/audios/files/small/5d262d6b-4789-42f9-b985-1c39c9eca0c0.aac +0 -0
  54. data/test/dummy/public/system/audios/files/small/67645888-cf0b-47db-8202-2df3a1ce594d.aac +0 -0
  55. data/test/dummy/public/system/audios/files/small/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.aac +0 -0
  56. data/test/dummy/public/system/audios/files/small/8d116bcb-2605-429e-9edc-b1a91fa66d0a.aac +0 -0
  57. data/test/dummy/public/system/audios/files/small/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.aac +0 -0
  58. data/test/dummy/public/system/audios/files/small/9dddf071-ac43-4232-9a9d-fb5d26862bd1.aac +0 -0
  59. data/test/dummy/public/system/audios/files/small/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.aac +0 -0
  60. data/test/dummy/public/system/audios/files/small/a79a531d-5de4-4aa3-9c04-275cf6307d13.aac +0 -0
  61. data/test/dummy/public/system/audios/files/small/ee0041b9-6482-4d4f-96cc-1a6e28c93570.aac +0 -0
  62. data/test/dummy/public/system/audios/files/small/ffb3df30-8dbf-4938-abde-21cdfced70d1.aac +0 -0
  63. data/test/dummy/public/system/images/files/full/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
  64. data/test/dummy/public/system/images/files/full/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
  65. data/test/dummy/public/system/images/files/full/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
  66. data/test/dummy/public/system/images/files/full/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
  67. data/test/dummy/public/system/images/files/full/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
  68. data/test/dummy/public/system/images/files/full/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
  69. data/test/dummy/public/system/images/files/full/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
  70. data/test/dummy/public/system/images/files/full/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
  71. data/test/dummy/public/system/images/files/full/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
  72. data/test/dummy/public/system/images/files/full/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
  73. data/test/dummy/public/system/images/files/full/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
  74. data/test/dummy/public/system/images/files/full/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
  75. data/test/dummy/public/system/images/files/full/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
  76. data/test/dummy/public/system/images/files/full/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
  77. data/test/dummy/public/system/images/files/large/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
  78. data/test/dummy/public/system/images/files/large/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
  79. data/test/dummy/public/system/images/files/large/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
  80. data/test/dummy/public/system/images/files/large/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
  81. data/test/dummy/public/system/images/files/large/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
  82. data/test/dummy/public/system/images/files/large/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
  83. data/test/dummy/public/system/images/files/large/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
  84. data/test/dummy/public/system/images/files/large/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
  85. data/test/dummy/public/system/images/files/large/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
  86. data/test/dummy/public/system/images/files/large/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
  87. data/test/dummy/public/system/images/files/large/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
  88. data/test/dummy/public/system/images/files/large/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
  89. data/test/dummy/public/system/images/files/large/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
  90. data/test/dummy/public/system/images/files/large/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
  91. data/test/dummy/public/system/images/files/original/0850c86c-78a8-4319-8852-bed744b792e6.png +0 -0
  92. data/test/dummy/public/system/images/files/original/12ace664-b553-45a6-b02b-37e15ac2981b.png +0 -0
  93. data/test/dummy/public/system/images/files/original/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.png +0 -0
  94. data/test/dummy/public/system/images/files/original/3e9c5921-4820-441d-9f90-90b518cd582e.png +0 -0
  95. data/test/dummy/public/system/images/files/original/5af89da1-b1fa-421a-a52e-01607d89fb5d.png +0 -0
  96. data/test/dummy/public/system/images/files/original/8628fbe3-bd09-4713-babe-e38c1492788e.png +0 -0
  97. data/test/dummy/public/system/images/files/original/a0158251-8d9c-42fb-a854-e56b915713df.png +0 -0
  98. data/test/dummy/public/system/images/files/original/b7318aed-63ee-43a2-9365-755bcc2815df.png +0 -0
  99. data/test/dummy/public/system/images/files/original/c292008f-764f-4f8a-8df1-82c63d87a653.png +0 -0
  100. data/test/dummy/public/system/images/files/original/d39266e6-2426-4888-9f12-031ade4f872e.png +0 -0
  101. data/test/dummy/public/system/images/files/original/e9e4c240-1426-4951-a600-c5a07c30d80d.png +0 -0
  102. data/test/dummy/public/system/images/files/original/ee1f8491-6e52-410f-9d62-bd544715d066.png +0 -0
  103. data/test/dummy/public/system/images/files/original/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.png +0 -0
  104. data/test/dummy/public/system/images/files/original/ffc3f5fd-ff40-4a77-8e08-0517e519f857.png +0 -0
  105. data/test/dummy/public/system/images/files/small/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
  106. data/test/dummy/public/system/images/files/small/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
  107. data/test/dummy/public/system/images/files/small/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
  108. data/test/dummy/public/system/images/files/small/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
  109. data/test/dummy/public/system/images/files/small/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
  110. data/test/dummy/public/system/images/files/small/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
  111. data/test/dummy/public/system/images/files/small/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
  112. data/test/dummy/public/system/images/files/small/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
  113. data/test/dummy/public/system/images/files/small/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
  114. data/test/dummy/public/system/images/files/small/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
  115. data/test/dummy/public/system/images/files/small/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
  116. data/test/dummy/public/system/images/files/small/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
  117. data/test/dummy/public/system/images/files/small/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
  118. data/test/dummy/public/system/images/files/small/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
  119. data/test/dummy/public/system/images/files/thumb/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
  120. data/test/dummy/public/system/images/files/thumb/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
  121. data/test/dummy/public/system/images/files/thumb/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
  122. data/test/dummy/public/system/images/files/thumb/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
  123. data/test/dummy/public/system/images/files/thumb/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
  124. data/test/dummy/public/system/images/files/thumb/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
  125. data/test/dummy/public/system/images/files/thumb/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
  126. data/test/dummy/public/system/images/files/thumb/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
  127. data/test/dummy/public/system/images/files/thumb/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
  128. data/test/dummy/public/system/images/files/thumb/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
  129. data/test/dummy/public/system/images/files/thumb/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
  130. data/test/dummy/public/system/images/files/thumb/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
  131. data/test/dummy/public/system/images/files/thumb/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
  132. data/test/dummy/public/system/images/files/thumb/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
  133. metadata +274 -11
data/Rakefile CHANGED
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env rake
2
2
 
3
+ require 'appraisal'
4
+
3
5
  require 'bundler'
4
6
 
5
7
  require 'rake/testtask'
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
- initialize_attached_options unless attached_options
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
@@ -9,6 +9,7 @@ module Attached
9
9
  attachment = object.send(name)
10
10
  attachment.reprocess!
11
11
  attachment.status = 'active'
12
+ object.save
12
13
  end
13
14
 
14
15
  def self.enqueue(attachment)
@@ -1,3 +1,3 @@
1
1
  module Attached
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
Binary file
@@ -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
+  (0.4ms) begin transaction
159
+  (0.0ms) rollback transaction
160
+  (0.0ms) begin transaction
161
+  (0.1ms) SAVEPOINT active_record_1
162
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
163
+  (0.1ms) rollback transaction
164
+  (0.0ms) begin transaction
165
+  (0.0ms) SAVEPOINT active_record_1
166
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
167
+  (0.0ms) rollback transaction
168
+  (0.0ms) begin transaction
169
+  (0.2ms) SAVEPOINT active_record_1
170
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
171
+  (0.0ms) rollback transaction
172
+  (0.0ms) begin transaction
173
+  (0.2ms) SAVEPOINT active_record_1
174
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
175
+  (0.0ms) rollback transaction
176
+  (0.0ms) begin transaction
177
+  (0.3ms) SAVEPOINT active_record_1
178
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
179
+  (0.1ms) rollback transaction
180
+  (0.0ms) begin transaction
181
+  (0.3ms) SAVEPOINT active_record_1
182
+ [attached] save attached
183
+ SQL (12.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
185
+  (0.5ms) rollback transaction
186
+  (0.1ms) begin transaction
187
+ Fixture Delete (0.2ms) DELETE FROM "audios"
188
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.3ms) DELETE FROM "images"
190
+ Fixture Insert (0.1ms) 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
+  (1.4ms) commit transaction
192
+  (0.1ms) begin transaction
193
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
194
+  (0.1ms) 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
+  (0.3ms) SAVEPOINT active_record_1
198
+ [attached] save attached
199
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
201
+ Redirected to http://test.host/audios/410859158
202
+ Completed 302 Found in 685ms (ActiveRecord: 0.0ms)
203
+  (0.1ms) SELECT COUNT(*) FROM "audios"
204
+  (0.6ms) rollback transaction
205
+  (0.0ms) begin transaction
206
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
207
+  (0.1ms) SELECT COUNT(*) FROM "audios"
208
+ Processing by AudiosController#destroy as HTML
209
+ Parameters: {"id"=>"410859157"}
210
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
211
+  (0.0ms) SAVEPOINT active_record_1
212
+ [attached] destroy attached
213
+ SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
215
+ Redirected to http://test.host/audios
216
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
217
+  (0.1ms) SELECT COUNT(*) FROM "audios" 
218
+  (0.3ms) rollback transaction
219
+  (0.0ms) begin transaction
220
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
221
+ Processing by AudiosController#edit as HTML
222
+ Parameters: {"id"=>"410859157"}
223
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
224
+ Rendered audios/_form.html.erb (3.3ms)
225
+ Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.1ms)
226
+  (0.1ms) rollback transaction
227
+  (0.0ms) begin transaction
228
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
229
+ Processing by AudiosController#index as HTML
230
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" 
231
+ Completed 200 OK in 56ms (Views: 54.3ms | ActiveRecord: 0.2ms)
232
+  (0.1ms) rollback transaction
233
+  (0.0ms) begin transaction
234
+ Audio Load (0.1ms) 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
+  (0.1ms) rollback transaction
239
+  (0.0ms) begin transaction
240
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
241
+ Processing by AudiosController#show as HTML
242
+ Parameters: {"id"=>"410859157"}
243
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
244
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
245
+  (0.1ms) rollback transaction
246
+  (0.0ms) begin transaction
247
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["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
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
251
+ WARNING: Can't mass-assign protected attributes: id
252
+  (0.1ms) SAVEPOINT active_record_1
253
+ [attached] save attached
254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
255
+ Redirected to http://test.host/audios/410859157
256
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
257
+  (0.1ms) rollback transaction
258
+  (0.1ms) begin transaction
259
+  (0.1ms) SAVEPOINT active_record_1
260
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
261
+  (0.1ms) rollback transaction
262
+  (0.0ms) begin transaction
263
+  (0.0ms) SAVEPOINT active_record_1
264
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
265
+  (0.0ms) rollback transaction
266
+  (0.0ms) begin transaction
267
+  (0.2ms) SAVEPOINT active_record_1
268
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
269
+  (0.0ms) rollback transaction
270
+  (0.0ms) begin transaction
271
+  (0.2ms) SAVEPOINT active_record_1
272
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
273
+  (0.1ms) rollback transaction
274
+  (0.1ms) begin transaction
275
+  (0.3ms) SAVEPOINT active_record_1
276
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
277
+  (0.0ms) rollback transaction
278
+  (0.0ms) begin transaction
279
+  (0.2ms) SAVEPOINT active_record_1
280
+ [attached] save attached
281
+ SQL (0.9ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
283
+  (0.4ms) rollback transaction
284
+  (0.1ms) begin transaction
285
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
286
+  (0.1ms) SELECT COUNT(*) FROM "images" 
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
+  (0.3ms) SAVEPOINT active_record_1
290
+ [attached] save attached
291
+ SQL (0.8ms) 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", "3e9c5921-4820-441d-9f90-90b518cd582e"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 03:24:10 UTC +00:00]]
292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
293
+  (0.0ms) SAVEPOINT active_record_1
294
+ [attached] save attached
295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
296
+ Redirected to http://test.host/images/87884899
297
+ Completed 302 Found in 202ms (ActiveRecord: 0.0ms)
298
+  (0.1ms) SELECT COUNT(*) FROM "images" 
299
+  (0.6ms) rollback transaction
300
+  (0.1ms) begin transaction
301
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
302
+  (0.1ms) SELECT COUNT(*) FROM "images" 
303
+ Processing by ImagesController#destroy as HTML
304
+ Parameters: {"id"=>"87884898"}
305
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
306
+  (0.1ms) SAVEPOINT active_record_1
307
+ [attached] destroy attached
308
+ SQL (1.0ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
310
+ Redirected to http://test.host/images
311
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
312
+  (0.1ms) SELECT COUNT(*) FROM "images"
313
+  (0.3ms) rollback transaction
314
+  (0.0ms) begin transaction
315
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
316
+ Processing by ImagesController#edit as HTML
317
+ Parameters: {"id"=>"87884898"}
318
+ Image Load (0.1ms) 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
+  (0.1ms) rollback transaction
322
+  (0.0ms) begin transaction
323
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
324
+ Processing by ImagesController#index as HTML
325
+ Image Load (0.2ms) SELECT "images".* FROM "images"
326
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms)
327
+  (0.1ms) rollback transaction
328
+  (0.0ms) begin transaction
329
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
334
+  (0.0ms) begin transaction
335
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
336
+ Processing by ImagesController#show as HTML
337
+ Parameters: {"id"=>"87884898"}
338
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
339
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms)
340
+  (0.1ms) rollback transaction
341
+  (0.1ms) begin transaction
342
+ Image Load (0.2ms) 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
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
346
+ Redirected to http://test.host/images/87884898
347
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
348
+  (0.1ms) rollback transaction
349
+  (0.0ms) begin transaction
350
+ Processing by MainController#index as HTML
351
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
352
+  (0.1ms) rollback transaction
353
+  (0.4ms) begin transaction
354
+  (0.0ms) rollback transaction
355
+  (0.0ms) begin transaction
356
+  (0.2ms) SAVEPOINT active_record_1
357
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
358
+  (0.1ms) rollback transaction
359
+  (0.1ms) begin transaction
360
+  (0.0ms) SAVEPOINT active_record_1
361
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
362
+  (0.0ms) rollback transaction
363
+  (0.0ms) begin transaction
364
+  (0.1ms) SAVEPOINT active_record_1
365
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
366
+  (0.0ms) rollback transaction
367
+  (0.0ms) begin transaction
368
+  (0.1ms) SAVEPOINT active_record_1
369
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
370
+  (0.0ms) rollback transaction
371
+  (0.0ms) begin transaction
372
+  (0.1ms) SAVEPOINT active_record_1
373
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
374
+  (0.1ms) rollback transaction
375
+  (0.0ms) begin transaction
376
+  (0.1ms) SAVEPOINT active_record_1
377
+ [attached] save attached
378
+ SQL (6.7ms) 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", "6cecb6b5-46cd-47a5-bf8a-10849e30f1f6"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:25:12 UTC +00:00]]
379
+  (0.1ms) RELEASE SAVEPOINT active_record_1
380
+  (0.4ms) rollback transaction
381
+  (0.1ms) begin transaction
382
+ Fixture Delete (0.2ms) DELETE FROM "audios"
383
+ Fixture Insert (0.2ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "images"
385
+ Fixture Insert (0.1ms) 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
+  (1.0ms) commit transaction
387
+  (0.1ms) begin transaction
388
+ Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
389
+  (0.2ms) 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
+  (0.2ms) SAVEPOINT active_record_1
393
+ [attached] save attached
394
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
396
+ Redirected to http://test.host/audios/410859158
397
+ Completed 302 Found in 646ms (ActiveRecord: 0.0ms)
398
+  (0.1ms) SELECT COUNT(*) FROM "audios"
399
+  (0.4ms) rollback transaction
400
+  (0.0ms) begin transaction
401
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
402
+  (0.1ms) SELECT COUNT(*) FROM "audios"
403
+ Processing by AudiosController#destroy as HTML
404
+ Parameters: {"id"=>"410859157"}
405
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
406
+  (0.0ms) SAVEPOINT active_record_1
407
+ [attached] destroy attached
408
+ SQL (0.3ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
409
+  (0.1ms) RELEASE SAVEPOINT active_record_1
410
+ Redirected to http://test.host/audios
411
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
412
+  (0.1ms) SELECT COUNT(*) FROM "audios" 
413
+  (1.0ms) rollback transaction
414
+  (0.1ms) begin transaction
415
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
416
+ Processing by AudiosController#edit as HTML
417
+ Parameters: {"id"=>"410859157"}
418
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
419
+ Rendered audios/_form.html.erb (3.2ms)
420
+ Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.1ms)
421
+  (0.1ms) rollback transaction
422
+  (0.0ms) begin transaction
423
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
424
+ Processing by AudiosController#index as HTML
425
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" 
426
+ Completed 200 OK in 62ms (Views: 60.6ms | ActiveRecord: 0.1ms)
427
+  (0.1ms) rollback transaction
428
+  (0.0ms) begin transaction
429
+ Audio Load (0.1ms) 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
+  (0.1ms) rollback transaction
434
+  (0.0ms) begin transaction
435
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
436
+ Processing by AudiosController#show as HTML
437
+ Parameters: {"id"=>"410859157"}
438
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
439
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
440
+  (0.1ms) rollback transaction
441
+  (0.0ms) begin transaction
442
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["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
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
446
+ WARNING: Can't mass-assign protected attributes: id
447
+  (0.1ms) SAVEPOINT active_record_1
448
+ [attached] save attached
449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
450
+ Redirected to http://test.host/audios/410859157
451
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
452
+  (0.1ms) rollback transaction
453
+  (0.1ms) begin transaction
454
+  (0.1ms) SAVEPOINT active_record_1
455
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
456
+  (0.1ms) rollback transaction
457
+  (0.0ms) begin transaction
458
+  (0.0ms) SAVEPOINT active_record_1
459
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
460
+  (0.1ms) rollback transaction
461
+  (0.1ms) begin transaction
462
+  (0.2ms) SAVEPOINT active_record_1
463
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
464
+  (0.1ms) rollback transaction
465
+  (0.1ms) begin transaction
466
+  (0.1ms) SAVEPOINT active_record_1
467
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
468
+  (0.0ms) rollback transaction
469
+  (0.0ms) begin transaction
470
+  (0.1ms) SAVEPOINT active_record_1
471
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
472
+  (0.0ms) rollback transaction
473
+  (0.0ms) begin transaction
474
+  (0.1ms) SAVEPOINT active_record_1
475
+ [attached] save attached
476
+ SQL (0.9ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
478
+  (0.4ms) rollback transaction
479
+  (0.1ms) begin transaction
480
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
481
+  (0.1ms) SELECT COUNT(*) FROM "images" 
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
+  (0.2ms) SAVEPOINT active_record_1
485
+ [attached] save attached
486
+ SQL (0.6ms) 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", "f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 03:25:13 UTC +00:00]]
487
+  (0.1ms) RELEASE SAVEPOINT active_record_1
488
+  (0.0ms) SAVEPOINT active_record_1
489
+ [attached] save attached
490
+  (0.0ms) RELEASE SAVEPOINT active_record_1
491
+ Redirected to http://test.host/images/87884899
492
+ Completed 302 Found in 209ms (ActiveRecord: 0.0ms)
493
+  (0.1ms) SELECT COUNT(*) FROM "images" 
494
+  (0.5ms) rollback transaction
495
+  (0.0ms) begin transaction
496
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
497
+  (0.1ms) SELECT COUNT(*) FROM "images" 
498
+ Processing by ImagesController#destroy as HTML
499
+ Parameters: {"id"=>"87884898"}
500
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
501
+  (0.0ms) SAVEPOINT active_record_1
502
+ [attached] destroy attached
503
+ SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
504
+  (0.4ms) RELEASE SAVEPOINT active_record_1
505
+ Redirected to http://test.host/images
506
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
507
+  (0.1ms) SELECT COUNT(*) FROM "images"
508
+  (0.3ms) rollback transaction
509
+  (0.1ms) begin transaction
510
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
511
+ Processing by ImagesController#edit as HTML
512
+ Parameters: {"id"=>"87884898"}
513
+ Image Load (0.1ms) 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
+  (0.1ms) rollback transaction
517
+  (0.0ms) begin transaction
518
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
519
+ Processing by ImagesController#index as HTML
520
+ Image Load (0.1ms) SELECT "images".* FROM "images"
521
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.1ms)
522
+  (0.1ms) rollback transaction
523
+  (0.0ms) begin transaction
524
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
529
+  (0.0ms) begin transaction
530
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
531
+ Processing by ImagesController#show as HTML
532
+ Parameters: {"id"=>"87884898"}
533
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
534
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms)
535
+  (0.1ms) rollback transaction
536
+  (0.0ms) begin transaction
537
+ Image Load (0.1ms) 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
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
541
+ Redirected to http://test.host/images/87884898
542
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
543
+  (0.1ms) rollback transaction
544
+  (0.1ms) begin transaction
545
+ Processing by MainController#index as HTML
546
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
547
+  (0.1ms) rollback transaction
548
+  (0.3ms) SAVEPOINT active_record_1
549
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
550
+  (0.0ms) SAVEPOINT active_record_1
551
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
552
+  (0.1ms) SAVEPOINT active_record_1
553
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
554
+  (0.2ms) SAVEPOINT active_record_1
555
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
556
+  (0.3ms) SAVEPOINT active_record_1
557
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
558
+  (0.2ms) SAVEPOINT active_record_1
559
+ [attached] save attached
560
+ SQL (6.9ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
562
+ Fixture Delete (0.2ms) DELETE FROM "audios"
563
+ Fixture Insert (0.1ms) 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:43:56', '2012-01-23 03:43:56', 410859157)
564
+ Fixture Delete (0.1ms) DELETE FROM "images"
565
+ Fixture Insert (0.1ms) 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:43:56', '2012-01-23 03:43:56', 87884898)
566
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
567
+  (0.1ms) SELECT COUNT(*) FROM "audios" 
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
+  (0.4ms) SAVEPOINT active_record_1
571
+ [attached] save attached
572
+ SQL (0.6ms) 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", "9b084b16-eb46-4730-ad80-c5d7d8ef92d2"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 23 Jan 2012 03:43:56 UTC +00:00]]
573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
574
+ Redirected to http://test.host/audios/410859158
575
+ Completed 302 Found in 701ms
576
+  (0.1ms) SELECT COUNT(*) FROM "audios" 
577
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
578
+  (0.1ms) SELECT COUNT(*) FROM "audios" 
579
+ Processing by AudiosController#destroy as HTML
580
+ Parameters: {"id"=>"410859157"}
581
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
582
+  (0.0ms) SAVEPOINT active_record_1
583
+ [attached] destroy attached
584
+ SQL (0.3ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
586
+ Redirected to http://test.host/audios
587
+ Completed 302 Found in 5ms
588
+  (0.1ms) SELECT COUNT(*) FROM "audios"
589
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
590
+ Processing by AudiosController#edit as HTML
591
+ Parameters: {"id"=>"410859157"}
592
+ Audio Load (0.1ms) 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
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
596
+ Processing by AudiosController#index as HTML
597
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios"
598
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms)
599
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["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
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
604
+ Processing by AudiosController#show as HTML
605
+ Parameters: {"id"=>"410859157"}
606
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
607
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
608
+ Audio Load (0.1ms) 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
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
612
+ WARNING: Can't mass-assign protected attributes: id
613
+  (0.1ms) SAVEPOINT active_record_1
614
+ [attached] save attached
615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
616
+ Redirected to http://test.host/audios/410859157
617
+ Completed 302 Found in 6ms
618
+  (0.3ms) SAVEPOINT active_record_1
619
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
620
+  (0.0ms) SAVEPOINT active_record_1
621
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
622
+  (0.3ms) SAVEPOINT active_record_1
623
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
624
+  (0.2ms) SAVEPOINT active_record_1
625
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
626
+  (0.3ms) SAVEPOINT active_record_1
627
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
628
+  (0.2ms) SAVEPOINT active_record_1
629
+ [attached] save attached
630
+ SQL (1.0ms) 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", "8628fbe3-bd09-4713-babe-e38c1492788e"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:43:57 UTC +00:00]]
631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
632
+ Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
633
+  (0.2ms) 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
+  (0.3ms) SAVEPOINT active_record_1
637
+ [attached] save attached
638
+ SQL (0.8ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
640
+  (0.0ms) SAVEPOINT active_record_1
641
+ [attached] save attached
642
+  (0.0ms) RELEASE SAVEPOINT active_record_1
643
+ Redirected to http://test.host/images/87884899
644
+ Completed 302 Found in 202ms
645
+  (0.1ms) SELECT COUNT(*) FROM "images"
646
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
647
+  (0.1ms) SELECT COUNT(*) FROM "images"
648
+ Processing by ImagesController#destroy as HTML
649
+ Parameters: {"id"=>"87884898"}
650
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
651
+  (0.1ms) SAVEPOINT active_record_1
652
+ [attached] destroy attached
653
+ SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
655
+ Redirected to http://test.host/images
656
+ Completed 302 Found in 5ms
657
+  (0.2ms) SELECT COUNT(*) FROM "images" 
658
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
659
+ Processing by ImagesController#edit as HTML
660
+ Parameters: {"id"=>"87884898"}
661
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
662
+ Rendered images/_form.html.erb (3.6ms)
663
+ Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
664
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
665
+ Processing by ImagesController#index as HTML
666
+ Image Load (0.1ms) SELECT "images".* FROM "images" 
667
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
668
+ Image Load (0.2ms) 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
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
673
+ Processing by ImagesController#show as HTML
674
+ Parameters: {"id"=>"87884898"}
675
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
676
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
677
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["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
+ Image Load (0.1ms) 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
+  (0.4ms) begin transaction
686
+  (0.1ms) rollback transaction
687
+  (0.0ms) begin transaction
688
+  (0.1ms) SAVEPOINT active_record_1
689
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
690
+  (0.1ms) rollback transaction
691
+  (0.0ms) begin transaction
692
+  (0.0ms) SAVEPOINT active_record_1
693
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
694
+  (0.0ms) rollback transaction
695
+  (0.0ms) begin transaction
696
+  (0.2ms) SAVEPOINT active_record_1
697
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
698
+  (0.1ms) rollback transaction
699
+  (0.1ms) begin transaction
700
+  (0.1ms) SAVEPOINT active_record_1
701
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
702
+  (0.0ms) rollback transaction
703
+  (0.0ms) begin transaction
704
+  (0.2ms) SAVEPOINT active_record_1
705
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
706
+  (0.0ms) rollback transaction
707
+  (0.0ms) begin transaction
708
+  (0.1ms) SAVEPOINT active_record_1
709
+ [attached] save attached
710
+ SQL (6.2ms) 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", "a79a531d-5de4-4aa3-9c04-275cf6307d13"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:44:02 UTC +00:00]]
711
+  (0.1ms) RELEASE SAVEPOINT active_record_1
712
+  (0.4ms) rollback transaction
713
+  (0.1ms) begin transaction
714
+ Fixture Delete (0.2ms) DELETE FROM "audios"
715
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "images"
717
+ Fixture Insert (0.1ms) 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
+  (0.9ms) commit transaction
719
+  (0.1ms) begin transaction
720
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
721
+  (0.1ms) 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
+  (0.2ms) SAVEPOINT active_record_1
725
+ [attached] save attached
726
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
728
+ Redirected to http://test.host/audios/410859158
729
+ Completed 302 Found in 674ms (ActiveRecord: 0.0ms)
730
+  (0.1ms) SELECT COUNT(*) FROM "audios"
731
+  (0.4ms) rollback transaction
732
+  (0.1ms) begin transaction
733
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
734
+  (0.2ms) SELECT COUNT(*) FROM "audios"
735
+ Processing by AudiosController#destroy as HTML
736
+ Parameters: {"id"=>"410859157"}
737
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
738
+  (0.1ms) SAVEPOINT active_record_1
739
+ [attached] destroy attached
740
+ SQL (0.3ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
742
+ Redirected to http://test.host/audios
743
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
744
+  (0.1ms) SELECT COUNT(*) FROM "audios" 
745
+  (0.5ms) rollback transaction
746
+  (0.0ms) begin transaction
747
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
748
+ Processing by AudiosController#edit as HTML
749
+ Parameters: {"id"=>"410859157"}
750
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
751
+ Rendered audios/_form.html.erb (3.1ms)
752
+ Completed 200 OK in 64ms (Views: 62.4ms | ActiveRecord: 0.1ms)
753
+  (0.1ms) rollback transaction
754
+  (0.0ms) begin transaction
755
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
756
+ Processing by AudiosController#index as HTML
757
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" 
758
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
759
+  (0.1ms) rollback transaction
760
+  (0.0ms) begin transaction
761
+ Audio Load (0.1ms) 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
+  (0.1ms) rollback transaction
766
+  (0.0ms) begin transaction
767
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
768
+ Processing by AudiosController#show as HTML
769
+ Parameters: {"id"=>"410859157"}
770
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
771
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
772
+  (0.1ms) rollback transaction
773
+  (0.0ms) begin transaction
774
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["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
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
778
+ WARNING: Can't mass-assign protected attributes: id
779
+  (0.1ms) SAVEPOINT active_record_1
780
+ [attached] save attached
781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
782
+ Redirected to http://test.host/audios/410859157
783
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
784
+  (0.0ms) rollback transaction
785
+  (0.1ms) begin transaction
786
+  (0.2ms) SAVEPOINT active_record_1
787
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
788
+  (0.1ms) rollback transaction
789
+  (0.0ms) begin transaction
790
+  (0.0ms) SAVEPOINT active_record_1
791
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
792
+  (0.0ms) rollback transaction
793
+  (0.0ms) begin transaction
794
+  (0.1ms) SAVEPOINT active_record_1
795
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
796
+  (0.0ms) rollback transaction
797
+  (0.0ms) begin transaction
798
+  (0.1ms) SAVEPOINT active_record_1
799
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
800
+  (0.0ms) rollback transaction
801
+  (0.0ms) begin transaction
802
+  (0.1ms) SAVEPOINT active_record_1
803
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
804
+  (0.0ms) rollback transaction
805
+  (0.0ms) begin transaction
806
+  (0.1ms) SAVEPOINT active_record_1
807
+ [attached] save attached
808
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
810
+  (0.4ms) rollback transaction
811
+  (0.1ms) begin transaction
812
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
813
+  (0.1ms) SELECT COUNT(*) FROM "images" 
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
+  (0.2ms) SAVEPOINT active_record_1
817
+ [attached] save attached
818
+ SQL (0.6ms) 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", "b7318aed-63ee-43a2-9365-755bcc2815df"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 03:44:03 UTC +00:00]]
819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
820
+  (0.0ms) SAVEPOINT active_record_1
821
+ [attached] save attached
822
+  (0.0ms) RELEASE SAVEPOINT active_record_1
823
+ Redirected to http://test.host/images/87884899
824
+ Completed 302 Found in 202ms (ActiveRecord: 0.0ms)
825
+  (0.1ms) SELECT COUNT(*) FROM "images" 
826
+  (0.5ms) rollback transaction
827
+  (0.0ms) begin transaction
828
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
829
+  (0.1ms) SELECT COUNT(*) FROM "images" 
830
+ Processing by ImagesController#destroy as HTML
831
+ Parameters: {"id"=>"87884898"}
832
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
833
+  (0.1ms) SAVEPOINT active_record_1
834
+ [attached] destroy attached
835
+ SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
836
+  (0.0ms) RELEASE SAVEPOINT active_record_1
837
+ Redirected to http://test.host/images
838
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
839
+  (0.1ms) SELECT COUNT(*) FROM "images"
840
+  (0.4ms) rollback transaction
841
+  (0.0ms) begin transaction
842
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
843
+ Processing by ImagesController#edit as HTML
844
+ Parameters: {"id"=>"87884898"}
845
+ Image Load (0.1ms) 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
+  (0.1ms) rollback transaction
849
+  (0.0ms) begin transaction
850
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
851
+ Processing by ImagesController#index as HTML
852
+ Image Load (0.2ms) SELECT "images".* FROM "images"
853
+ Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
854
+  (0.1ms) rollback transaction
855
+  (0.0ms) begin transaction
856
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
861
+  (0.0ms) begin transaction
862
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
863
+ Processing by ImagesController#show as HTML
864
+ Parameters: {"id"=>"87884898"}
865
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
866
+ Completed 200 OK in 145ms (Views: 143.4ms | ActiveRecord: 0.1ms)
867
+  (0.1ms) rollback transaction
868
+  (0.0ms) begin transaction
869
+ Image Load (0.1ms) 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
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
873
+ Redirected to http://test.host/images/87884898
874
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
875
+  (0.1ms) rollback transaction
876
+  (0.1ms) begin transaction
877
+ Processing by MainController#index as HTML
878
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
879
+  (0.1ms) rollback transaction
880
+  (0.5ms) begin transaction
881
+  (0.0ms) rollback transaction
882
+  (0.0ms) begin transaction
883
+  (0.1ms) SAVEPOINT active_record_1
884
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
885
+  (0.1ms) rollback transaction
886
+  (0.0ms) begin transaction
887
+  (0.0ms) SAVEPOINT active_record_1
888
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
889
+  (0.0ms) rollback transaction
890
+  (0.0ms) begin transaction
891
+  (0.2ms) SAVEPOINT active_record_1
892
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
893
+  (0.0ms) rollback transaction
894
+  (0.0ms) begin transaction
895
+  (0.2ms) SAVEPOINT active_record_1
896
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
897
+  (0.0ms) rollback transaction
898
+  (0.0ms) begin transaction
899
+  (0.2ms) SAVEPOINT active_record_1
900
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
901
+  (0.0ms) rollback transaction
902
+  (0.0ms) begin transaction
903
+  (0.3ms) SAVEPOINT active_record_1
904
+ [attached] save attached
905
+ SQL (8.2ms) 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", "ffb3df30-8dbf-4938-abde-21cdfced70d1"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 23 Jan 2012 03:44:14 UTC +00:00]]
906
+  (0.2ms) RELEASE SAVEPOINT active_record_1
907
+  (0.4ms) rollback transaction
908
+  (0.1ms) begin transaction
909
+ Fixture Delete (0.3ms) DELETE FROM "audios"
910
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "images"
912
+ Fixture Insert (0.1ms) 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
+  (0.7ms) commit transaction
914
+  (0.1ms) begin transaction
915
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
916
+  (0.1ms) 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
+  (0.3ms) SAVEPOINT active_record_1
920
+ [attached] save attached
921
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
923
+ Redirected to http://test.host/audios/410859158
924
+ Completed 302 Found in 669ms (ActiveRecord: 0.0ms)
925
+  (0.1ms) SELECT COUNT(*) FROM "audios"
926
+  (0.4ms) rollback transaction
927
+  (0.0ms) begin transaction
928
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
929
+  (0.1ms) SELECT COUNT(*) FROM "audios"
930
+ Processing by AudiosController#destroy as HTML
931
+ Parameters: {"id"=>"410859157"}
932
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
933
+  (0.0ms) SAVEPOINT active_record_1
934
+ [attached] destroy attached
935
+ SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
936
+  (0.1ms) RELEASE SAVEPOINT active_record_1
937
+ Redirected to http://test.host/audios
938
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
939
+  (0.1ms) SELECT COUNT(*) FROM "audios" 
940
+  (0.3ms) rollback transaction
941
+  (0.0ms) begin transaction
942
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
943
+ Processing by AudiosController#edit as HTML
944
+ Parameters: {"id"=>"410859157"}
945
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
946
+ Rendered audios/_form.html.erb (3.3ms)
947
+ Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.1ms)
948
+  (0.1ms) rollback transaction
949
+  (0.0ms) begin transaction
950
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
951
+ Processing by AudiosController#index as HTML
952
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" 
953
+ Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
954
+  (0.1ms) rollback transaction
955
+  (0.0ms) begin transaction
956
+ Audio Load (0.1ms) 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
+  (0.1ms) rollback transaction
961
+  (0.0ms) begin transaction
962
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
963
+ Processing by AudiosController#show as HTML
964
+ Parameters: {"id"=>"410859157"}
965
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
966
+ Completed 200 OK in 68ms (Views: 66.7ms | ActiveRecord: 0.1ms)
967
+  (0.1ms) rollback transaction
968
+  (0.0ms) begin transaction
969
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["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
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
973
+ WARNING: Can't mass-assign protected attributes: id
974
+  (0.1ms) SAVEPOINT active_record_1
975
+ [attached] save attached
976
+  (0.0ms) RELEASE SAVEPOINT active_record_1
977
+ Redirected to http://test.host/audios/410859157
978
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
979
+  (0.0ms) rollback transaction
980
+  (0.0ms) begin transaction
981
+  (0.2ms) SAVEPOINT active_record_1
982
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
983
+  (0.1ms) rollback transaction
984
+  (0.0ms) begin transaction
985
+  (0.0ms) SAVEPOINT active_record_1
986
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
987
+  (0.1ms) rollback transaction
988
+  (0.1ms) begin transaction
989
+  (0.2ms) SAVEPOINT active_record_1
990
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
991
+  (0.0ms) rollback transaction
992
+  (0.0ms) begin transaction
993
+  (0.2ms) SAVEPOINT active_record_1
994
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
995
+  (0.0ms) rollback transaction
996
+  (0.0ms) begin transaction
997
+  (0.4ms) SAVEPOINT active_record_1
998
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
999
+  (0.1ms) rollback transaction
1000
+  (0.1ms) begin transaction
1001
+  (0.3ms) SAVEPOINT active_record_1
1002
+ [attached] save attached
1003
+ SQL (1.0ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1005
+  (0.4ms) rollback transaction
1006
+  (0.1ms) begin transaction
1007
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1008
+  (0.1ms) SELECT COUNT(*) FROM "images" 
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
+  (0.3ms) SAVEPOINT active_record_1
1012
+ [attached] save attached
1013
+ SQL (0.9ms) 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", "2ac8ebdb-bc96-49c4-befd-5c96b47646e5"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 03:44:15 UTC +00:00]]
1014
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1015
+  (0.0ms) SAVEPOINT active_record_1
1016
+ [attached] save attached
1017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1018
+ Redirected to http://test.host/images/87884899
1019
+ Completed 302 Found in 213ms (ActiveRecord: 0.0ms)
1020
+  (0.1ms) SELECT COUNT(*) FROM "images" 
1021
+  (0.4ms) rollback transaction
1022
+  (0.0ms) begin transaction
1023
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1024
+  (0.2ms) SELECT COUNT(*) FROM "images" 
1025
+ Processing by ImagesController#destroy as HTML
1026
+ Parameters: {"id"=>"87884898"}
1027
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1028
+  (0.1ms) SAVEPOINT active_record_1
1029
+ [attached] destroy attached
1030
+ SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
1031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1032
+ Redirected to http://test.host/images
1033
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
1034
+  (0.1ms) SELECT COUNT(*) FROM "images"
1035
+  (0.3ms) rollback transaction
1036
+  (0.0ms) begin transaction
1037
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1038
+ Processing by ImagesController#edit as HTML
1039
+ Parameters: {"id"=>"87884898"}
1040
+ Image Load (0.1ms) 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
+  (0.1ms) rollback transaction
1044
+  (0.0ms) begin transaction
1045
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1046
+ Processing by ImagesController#index as HTML
1047
+ Image Load (0.3ms) SELECT "images".* FROM "images"
1048
+ Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms)
1049
+  (0.1ms) rollback transaction
1050
+  (0.1ms) begin transaction
1051
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
1056
+  (0.0ms) begin transaction
1057
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1058
+ Processing by ImagesController#show as HTML
1059
+ Parameters: {"id"=>"87884898"}
1060
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1061
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
1062
+  (0.1ms) rollback transaction
1063
+  (0.0ms) begin transaction
1064
+ Image Load (0.1ms) 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
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1068
+ Redirected to http://test.host/images/87884898
1069
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
1070
+  (0.1ms) rollback transaction
1071
+  (0.1ms) begin transaction
1072
+ Processing by MainController#index as HTML
1073
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
1074
+  (0.1ms) rollback transaction
1075
+  (0.4ms) begin transaction
1076
+  (0.0ms) rollback transaction
1077
+  (0.0ms) begin transaction
1078
+  (0.1ms) SAVEPOINT active_record_1
1079
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1080
+  (0.1ms) rollback transaction
1081
+  (0.1ms) begin transaction
1082
+  (0.0ms) SAVEPOINT active_record_1
1083
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1084
+  (0.0ms) rollback transaction
1085
+  (0.0ms) begin transaction
1086
+  (0.3ms) SAVEPOINT active_record_1
1087
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1088
+  (0.0ms) rollback transaction
1089
+  (0.0ms) begin transaction
1090
+  (0.2ms) SAVEPOINT active_record_1
1091
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1092
+  (0.0ms) rollback transaction
1093
+  (0.0ms) begin transaction
1094
+  (0.1ms) SAVEPOINT active_record_1
1095
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1096
+  (0.0ms) rollback transaction
1097
+  (0.0ms) begin transaction
1098
+  (0.3ms) SAVEPOINT active_record_1
1099
+ [attached] save attached
1100
+ SQL (5.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1102
+  (0.3ms) rollback transaction
1103
+  (0.1ms) begin transaction
1104
+ Fixture Delete (0.2ms) DELETE FROM "audios"
1105
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "images"
1107
+ Fixture Insert (0.0ms) 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
+  (1.0ms) commit transaction
1109
+  (0.1ms) begin transaction
1110
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1111
+  (0.1ms) 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
+  (0.2ms) SAVEPOINT active_record_1
1115
+ [attached] save attached
1116
+ SQL (1.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1118
+ Redirected to http://test.host/audios/410859158
1119
+ Completed 302 Found in 732ms (ActiveRecord: 0.0ms)
1120
+  (0.2ms) SELECT COUNT(*) FROM "audios"
1121
+  (0.3ms) rollback transaction
1122
+  (0.1ms) begin transaction
1123
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1124
+  (0.2ms) SELECT COUNT(*) FROM "audios"
1125
+ Processing by AudiosController#destroy as HTML
1126
+ Parameters: {"id"=>"410859157"}
1127
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
1128
+  (0.1ms) SAVEPOINT active_record_1
1129
+ [attached] destroy attached
1130
+ SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
1131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1132
+ Redirected to http://test.host/audios
1133
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
1134
+  (0.2ms) SELECT COUNT(*) FROM "audios" 
1135
+  (0.4ms) rollback transaction
1136
+  (0.1ms) begin transaction
1137
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1138
+ Processing by AudiosController#edit as HTML
1139
+ Parameters: {"id"=>"410859157"}
1140
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
1141
+ Rendered audios/_form.html.erb (3.7ms)
1142
+ Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.1ms)
1143
+  (0.1ms) rollback transaction
1144
+  (0.0ms) begin transaction
1145
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1146
+ Processing by AudiosController#index as HTML
1147
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" 
1148
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)
1149
+  (0.1ms) rollback transaction
1150
+  (0.0ms) begin transaction
1151
+ Audio Load (0.1ms) 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
+  (0.1ms) rollback transaction
1156
+  (0.1ms) begin transaction
1157
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1158
+ Processing by AudiosController#show as HTML
1159
+ Parameters: {"id"=>"410859157"}
1160
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
1161
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.1ms)
1162
+  (0.1ms) rollback transaction
1163
+  (0.0ms) begin transaction
1164
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["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
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
1168
+ WARNING: Can't mass-assign protected attributes: id
1169
+  (0.1ms) SAVEPOINT active_record_1
1170
+ [attached] save attached
1171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1172
+ Redirected to http://test.host/audios/410859157
1173
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
1174
+  (0.1ms) rollback transaction
1175
+  (0.1ms) begin transaction
1176
+  (0.2ms) SAVEPOINT active_record_1
1177
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1178
+  (0.1ms) rollback transaction
1179
+  (0.0ms) begin transaction
1180
+  (0.0ms) SAVEPOINT active_record_1
1181
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1182
+  (0.1ms) rollback transaction
1183
+  (0.0ms) begin transaction
1184
+  (0.2ms) SAVEPOINT active_record_1
1185
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1186
+  (0.0ms) rollback transaction
1187
+  (0.0ms) begin transaction
1188
+  (0.4ms) SAVEPOINT active_record_1
1189
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1190
+  (0.1ms) rollback transaction
1191
+  (0.1ms) begin transaction
1192
+  (0.2ms) SAVEPOINT active_record_1
1193
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1194
+  (0.0ms) rollback transaction
1195
+  (0.0ms) begin transaction
1196
+  (0.3ms) SAVEPOINT active_record_1
1197
+ [attached] save attached
1198
+ SQL (0.8ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1200
+  (0.4ms) rollback transaction
1201
+  (0.1ms) begin transaction
1202
+ Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1203
+  (0.2ms) SELECT COUNT(*) FROM "images" 
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
+  (0.2ms) SAVEPOINT active_record_1
1207
+ [attached] save attached
1208
+ SQL (0.9ms) 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", "a0158251-8d9c-42fb-a854-e56b915713df"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 03:48:55 UTC +00:00]]
1209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1210
+  (0.0ms) SAVEPOINT active_record_1
1211
+ [attached] save attached
1212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1213
+ Redirected to http://test.host/images/87884899
1214
+ Completed 302 Found in 209ms (ActiveRecord: 0.0ms)
1215
+  (0.1ms) SELECT COUNT(*) FROM "images" 
1216
+  (0.5ms) rollback transaction
1217
+  (0.0ms) begin transaction
1218
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1219
+  (0.2ms) SELECT COUNT(*) FROM "images" 
1220
+ Processing by ImagesController#destroy as HTML
1221
+ Parameters: {"id"=>"87884898"}
1222
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1223
+  (0.1ms) SAVEPOINT active_record_1
1224
+ [attached] destroy attached
1225
+ SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
1226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1227
+ Redirected to http://test.host/images
1228
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
1229
+  (0.1ms) SELECT COUNT(*) FROM "images"
1230
+  (0.4ms) rollback transaction
1231
+  (0.0ms) begin transaction
1232
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1233
+ Processing by ImagesController#edit as HTML
1234
+ Parameters: {"id"=>"87884898"}
1235
+ Image Load (0.1ms) 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
+  (0.1ms) rollback transaction
1239
+  (0.0ms) begin transaction
1240
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1241
+ Processing by ImagesController#index as HTML
1242
+ Image Load (0.2ms) SELECT "images".* FROM "images"
1243
+ Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.2ms)
1244
+  (0.1ms) rollback transaction
1245
+  (0.1ms) begin transaction
1246
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
1251
+  (0.0ms) begin transaction
1252
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1253
+ Processing by ImagesController#show as HTML
1254
+ Parameters: {"id"=>"87884898"}
1255
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1256
+ Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms)
1257
+  (0.1ms) rollback transaction
1258
+  (0.0ms) begin transaction
1259
+ Image Load (0.1ms) 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
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1263
+ Redirected to http://test.host/images/87884898
1264
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
1265
+  (0.1ms) rollback transaction
1266
+  (0.1ms) begin transaction
1267
+ Processing by MainController#index as HTML
1268
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
1269
+  (0.1ms) rollback transaction
1270
+  (0.7ms) begin transaction
1271
+  (0.1ms) rollback transaction
1272
+  (0.1ms) begin transaction
1273
+  (0.2ms) SAVEPOINT active_record_1
1274
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1275
+  (0.1ms) rollback transaction
1276
+  (0.1ms) begin transaction
1277
+  (0.0ms) SAVEPOINT active_record_1
1278
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1279
+  (0.0ms) rollback transaction
1280
+  (0.0ms) begin transaction
1281
+  (0.2ms) SAVEPOINT active_record_1
1282
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1283
+  (0.1ms) rollback transaction
1284
+  (0.1ms) begin transaction
1285
+  (0.2ms) SAVEPOINT active_record_1
1286
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1287
+  (0.1ms) rollback transaction
1288
+  (0.1ms) begin transaction
1289
+  (0.1ms) SAVEPOINT active_record_1
1290
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1291
+  (0.0ms) rollback transaction
1292
+  (0.1ms) begin transaction
1293
+  (0.2ms) SAVEPOINT active_record_1
1294
+ [attached] save attached
1295
+ SQL (13.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1297
+  (0.4ms) rollback transaction
1298
+  (0.1ms) begin transaction
1299
+ Fixture Delete (0.4ms) DELETE FROM "audios"
1300
+ Fixture Insert (0.2ms) 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
+ Fixture Delete (0.3ms) DELETE FROM "images"
1302
+ Fixture Insert (0.1ms) 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
+  (1.7ms) commit transaction
1304
+  (0.1ms) begin transaction
1305
+ Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1306
+  (0.2ms) 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
+  (0.2ms) SAVEPOINT active_record_1
1310
+ [attached] save attached
1311
+ SQL (0.7ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1313
+ Redirected to http://test.host/audios/410859158
1314
+ Completed 302 Found in 1258ms (ActiveRecord: 0.0ms)
1315
+  (0.1ms) SELECT COUNT(*) FROM "audios"
1316
+  (0.5ms) rollback transaction
1317
+  (0.1ms) begin transaction
1318
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1319
+  (0.1ms) SELECT COUNT(*) FROM "audios"
1320
+ Processing by AudiosController#destroy as HTML
1321
+ Parameters: {"id"=>"410859157"}
1322
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
1323
+  (0.1ms) SAVEPOINT active_record_1
1324
+ [attached] destroy attached
1325
+ SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
1326
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1327
+ Redirected to http://test.host/audios
1328
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
1329
+  (0.1ms) SELECT COUNT(*) FROM "audios" 
1330
+  (0.3ms) rollback transaction
1331
+  (0.1ms) begin transaction
1332
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1333
+ Processing by AudiosController#edit as HTML
1334
+ Parameters: {"id"=>"410859157"}
1335
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
1336
+ Rendered audios/_form.html.erb (6.0ms)
1337
+ Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.1ms)
1338
+  (0.1ms) rollback transaction
1339
+  (0.1ms) begin transaction
1340
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1341
+ Processing by AudiosController#index as HTML
1342
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" 
1343
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.2ms)
1344
+  (0.1ms) rollback transaction
1345
+  (0.0ms) begin transaction
1346
+ Audio Load (0.1ms) 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
+  (0.1ms) rollback transaction
1351
+  (0.0ms) begin transaction
1352
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1353
+ Processing by AudiosController#show as HTML
1354
+ Parameters: {"id"=>"410859157"}
1355
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
1356
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms)
1357
+  (0.1ms) rollback transaction
1358
+  (0.0ms) begin transaction
1359
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["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
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
1363
+ WARNING: Can't mass-assign protected attributes: id
1364
+  (0.1ms) SAVEPOINT active_record_1
1365
+ [attached] save attached
1366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1367
+ Redirected to http://test.host/audios/410859157
1368
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
1369
+  (0.1ms) rollback transaction
1370
+  (0.1ms) begin transaction
1371
+  (0.2ms) SAVEPOINT active_record_1
1372
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1373
+  (0.1ms) rollback transaction
1374
+  (0.1ms) begin transaction
1375
+  (0.1ms) SAVEPOINT active_record_1
1376
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1377
+  (0.1ms) rollback transaction
1378
+  (0.1ms) begin transaction
1379
+  (0.1ms) SAVEPOINT active_record_1
1380
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1381
+  (0.0ms) rollback transaction
1382
+  (0.0ms) begin transaction
1383
+  (0.1ms) SAVEPOINT active_record_1
1384
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1385
+  (0.0ms) rollback transaction
1386
+  (0.0ms) begin transaction
1387
+  (0.1ms) SAVEPOINT active_record_1
1388
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1389
+  (0.0ms) rollback transaction
1390
+  (0.0ms) begin transaction
1391
+  (0.1ms) SAVEPOINT active_record_1
1392
+ [attached] save attached
1393
+ SQL (0.8ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1395
+  (0.4ms) rollback transaction
1396
+  (0.1ms) begin transaction
1397
+ Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1398
+  (0.2ms) SELECT COUNT(*) FROM "images" 
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
+  (0.2ms) SAVEPOINT active_record_1
1402
+ [attached] save attached
1403
+ SQL (0.9ms) 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", "5af89da1-b1fa-421a-a52e-01607d89fb5d"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 23 Jan 2012 04:10:38 UTC +00:00]]
1404
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1405
+  (0.0ms) SAVEPOINT active_record_1
1406
+ [attached] save attached
1407
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1408
+ Redirected to http://test.host/images/87884899
1409
+ Completed 302 Found in 256ms (ActiveRecord: 0.0ms)
1410
+  (0.2ms) SELECT COUNT(*) FROM "images" 
1411
+  (0.5ms) rollback transaction
1412
+  (0.1ms) begin transaction
1413
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1414
+  (0.1ms) SELECT COUNT(*) FROM "images" 
1415
+ Processing by ImagesController#destroy as HTML
1416
+ Parameters: {"id"=>"87884898"}
1417
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1418
+  (0.0ms) SAVEPOINT active_record_1
1419
+ [attached] destroy attached
1420
+ SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
1421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1422
+ Redirected to http://test.host/images
1423
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
1424
+  (0.1ms) SELECT COUNT(*) FROM "images"
1425
+  (0.5ms) rollback transaction
1426
+  (0.1ms) begin transaction
1427
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1428
+ Processing by ImagesController#edit as HTML
1429
+ Parameters: {"id"=>"87884898"}
1430
+ Image Load (0.1ms) 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
+  (0.1ms) rollback transaction
1434
+  (0.0ms) begin transaction
1435
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1436
+ Processing by ImagesController#index as HTML
1437
+ Image Load (0.2ms) SELECT "images".* FROM "images"
1438
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.2ms)
1439
+  (0.1ms) rollback transaction
1440
+  (0.1ms) begin transaction
1441
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
1446
+  (0.1ms) begin transaction
1447
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1448
+ Processing by ImagesController#show as HTML
1449
+ Parameters: {"id"=>"87884898"}
1450
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1451
+ Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.1ms)
1452
+  (0.1ms) rollback transaction
1453
+  (0.1ms) begin transaction
1454
+ Image Load (0.1ms) 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
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1458
+ Redirected to http://test.host/images/87884898
1459
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
1460
+  (0.1ms) rollback transaction
1461
+  (0.1ms) begin transaction
1462
+ Processing by MainController#index as HTML
1463
+ Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
1464
+  (0.1ms) rollback transaction