attached 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. data/LICENSE +1 -1
  2. data/README.rdoc +1 -1
  3. data/lib/attached.rb +82 -82
  4. data/lib/attached/attachment.rb +114 -114
  5. data/lib/attached/job.rb +6 -6
  6. data/lib/attached/processor.rb +9 -9
  7. data/lib/attached/processor/audio.rb +29 -29
  8. data/lib/attached/processor/base.rb +14 -14
  9. data/lib/attached/processor/image.rb +34 -34
  10. data/lib/attached/railtie.rb +2 -2
  11. data/lib/attached/storage.rb +8 -8
  12. data/lib/attached/storage/aws.rb +69 -69
  13. data/lib/attached/storage/base.rb +26 -26
  14. data/lib/attached/storage/google.rb +71 -71
  15. data/lib/attached/storage/local.rb +44 -44
  16. data/lib/attached/storage/rackspace.rb +68 -68
  17. data/lib/attached/version.rb +1 -1
  18. data/test/dummy/app/assets/javascripts/application.js +2 -1
  19. data/test/dummy/app/assets/javascripts/{audios.js → main.js.coffee} +0 -0
  20. data/test/dummy/app/assets/stylesheets/application.css +3 -10
  21. data/test/dummy/app/assets/stylesheets/main.css.scss +6 -0
  22. data/test/dummy/app/views/audios/_form.html.haml +17 -0
  23. data/test/dummy/app/views/audios/edit.html.haml +5 -0
  24. data/test/dummy/app/views/audios/index.html.haml +20 -0
  25. data/test/dummy/app/views/audios/new.html.haml +5 -0
  26. data/test/dummy/app/views/audios/show.html.haml +13 -0
  27. data/test/dummy/app/views/images/_form.html.haml +17 -0
  28. data/test/dummy/app/views/images/edit.html.haml +5 -0
  29. data/test/dummy/app/views/images/index.html.haml +20 -0
  30. data/test/dummy/app/views/images/new.html.haml +5 -0
  31. data/test/dummy/app/views/images/show.html.haml +13 -0
  32. data/test/dummy/app/views/layouts/application.html.haml +17 -0
  33. data/test/dummy/app/views/main/index.html.haml +8 -0
  34. data/test/dummy/app/views/shared/_error.html.haml +4 -0
  35. data/test/dummy/db/development.sqlite3 +0 -0
  36. data/test/dummy/db/test.sqlite3 +0 -0
  37. data/test/dummy/log/development.log +37 -0
  38. data/test/dummy/log/test.log +390 -1166
  39. data/test/dummy/public/system/audios/files/full/{07a3f586-805d-4c68-be01-7ba4d787aa9e.aac → 151d9dff-7259-41a3-9fc3-988a3099fe22.aac} +0 -0
  40. data/test/dummy/public/system/audios/files/full/{1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.aac → 2b5e47b9-b441-4c49-a98f-5bf89f19848e.aac} +0 -0
  41. data/test/dummy/public/system/audios/files/full/{3729319f-299b-47e2-bd7e-d73d38b5cf8f.aac → 33203ced-129f-454c-870a-dc87a2809859.aac} +0 -0
  42. data/test/dummy/public/system/audios/files/full/{41e88b81-2804-4316-86e8-252adad0eaa3.aac → c03bdf7c-ce26-4a31-9c23-d947b2986fa7.aac} +0 -0
  43. data/test/dummy/public/system/audios/files/large/{07a3f586-805d-4c68-be01-7ba4d787aa9e.aac → 151d9dff-7259-41a3-9fc3-988a3099fe22.aac} +0 -0
  44. data/test/dummy/public/system/audios/files/large/{1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.aac → 2b5e47b9-b441-4c49-a98f-5bf89f19848e.aac} +0 -0
  45. data/test/dummy/public/system/audios/files/large/{3729319f-299b-47e2-bd7e-d73d38b5cf8f.aac → 33203ced-129f-454c-870a-dc87a2809859.aac} +0 -0
  46. data/test/dummy/public/system/audios/files/large/{41e88b81-2804-4316-86e8-252adad0eaa3.aac → c03bdf7c-ce26-4a31-9c23-d947b2986fa7.aac} +0 -0
  47. data/test/dummy/public/system/audios/files/original/{07a3f586-805d-4c68-be01-7ba4d787aa9e.wav → 151d9dff-7259-41a3-9fc3-988a3099fe22.wav} +0 -0
  48. data/test/dummy/public/system/audios/files/original/{1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.wav → 2b5e47b9-b441-4c49-a98f-5bf89f19848e.wav} +0 -0
  49. data/test/dummy/public/system/audios/files/original/{3729319f-299b-47e2-bd7e-d73d38b5cf8f.wav → 33203ced-129f-454c-870a-dc87a2809859.wav} +0 -0
  50. data/test/dummy/public/system/audios/files/original/{41e88b81-2804-4316-86e8-252adad0eaa3.wav → c03bdf7c-ce26-4a31-9c23-d947b2986fa7.wav} +0 -0
  51. data/test/dummy/public/system/audios/files/small/{07a3f586-805d-4c68-be01-7ba4d787aa9e.aac → 151d9dff-7259-41a3-9fc3-988a3099fe22.aac} +0 -0
  52. data/test/dummy/public/system/audios/files/small/{1a5d65b6-3d7f-45e3-8fc8-9221f3bca127.aac → 2b5e47b9-b441-4c49-a98f-5bf89f19848e.aac} +0 -0
  53. data/test/dummy/public/system/audios/files/small/{3729319f-299b-47e2-bd7e-d73d38b5cf8f.aac → 33203ced-129f-454c-870a-dc87a2809859.aac} +0 -0
  54. data/test/dummy/public/system/audios/files/small/{41e88b81-2804-4316-86e8-252adad0eaa3.aac → c03bdf7c-ce26-4a31-9c23-d947b2986fa7.aac} +0 -0
  55. data/test/dummy/public/system/images/files/full/15f09efb-0d03-44b3-a372-5ae156e8898e.jpg +0 -0
  56. data/test/dummy/public/system/images/files/full/7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3.jpg +0 -0
  57. data/test/dummy/public/system/images/files/full/84b585ce-9430-4761-8fb1-d94302eb33bd.jpg +0 -0
  58. data/test/dummy/public/system/images/files/full/b8e19d15-db0f-42e7-9372-5f563486928a.jpg +0 -0
  59. data/test/dummy/public/system/images/files/full/baa48120-b3b9-4d2a-830a-e6ebc4db7802.jpg +0 -0
  60. data/test/dummy/public/system/images/files/full/caac47c3-f3c8-4ca9-a682-d79e8c1b5b29.jpg +0 -0
  61. data/test/dummy/public/system/images/files/large/15f09efb-0d03-44b3-a372-5ae156e8898e.jpg +0 -0
  62. data/test/dummy/public/system/images/files/large/7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3.jpg +0 -0
  63. data/test/dummy/public/system/images/files/large/84b585ce-9430-4761-8fb1-d94302eb33bd.jpg +0 -0
  64. data/test/dummy/public/system/images/files/large/b8e19d15-db0f-42e7-9372-5f563486928a.jpg +0 -0
  65. data/test/dummy/public/system/images/files/large/baa48120-b3b9-4d2a-830a-e6ebc4db7802.jpg +0 -0
  66. data/test/dummy/public/system/images/files/large/caac47c3-f3c8-4ca9-a682-d79e8c1b5b29.jpg +0 -0
  67. data/test/dummy/public/system/images/files/original/{0850c86c-78a8-4319-8852-bed744b792e6.png → 15f09efb-0d03-44b3-a372-5ae156e8898e.png} +0 -0
  68. data/test/dummy/public/system/images/files/original/{12ace664-b553-45a6-b02b-37e15ac2981b.png → 7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3.png} +0 -0
  69. data/test/dummy/public/system/images/files/original/{2ac8ebdb-bc96-49c4-befd-5c96b47646e5.png → 84b585ce-9430-4761-8fb1-d94302eb33bd.png} +0 -0
  70. data/test/dummy/public/system/images/files/original/{3e9c5921-4820-441d-9f90-90b518cd582e.png → b8e19d15-db0f-42e7-9372-5f563486928a.png} +0 -0
  71. data/test/dummy/public/system/images/files/original/{444d0123-908a-4616-83e3-88942a66a075.png → baa48120-b3b9-4d2a-830a-e6ebc4db7802.png} +0 -0
  72. data/test/dummy/public/system/images/files/original/{5af89da1-b1fa-421a-a52e-01607d89fb5d.png → caac47c3-f3c8-4ca9-a682-d79e8c1b5b29.png} +0 -0
  73. data/test/dummy/public/system/images/files/small/15f09efb-0d03-44b3-a372-5ae156e8898e.jpg +0 -0
  74. data/test/dummy/public/system/images/files/small/7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3.jpg +0 -0
  75. data/test/dummy/public/system/images/files/small/84b585ce-9430-4761-8fb1-d94302eb33bd.jpg +0 -0
  76. data/test/dummy/public/system/images/files/small/b8e19d15-db0f-42e7-9372-5f563486928a.jpg +0 -0
  77. data/test/dummy/public/system/images/files/small/baa48120-b3b9-4d2a-830a-e6ebc4db7802.jpg +0 -0
  78. data/test/dummy/public/system/images/files/small/caac47c3-f3c8-4ca9-a682-d79e8c1b5b29.jpg +0 -0
  79. data/test/dummy/public/system/images/files/thumb/15f09efb-0d03-44b3-a372-5ae156e8898e.jpg +0 -0
  80. data/test/dummy/public/system/images/files/thumb/7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3.jpg +0 -0
  81. data/test/dummy/public/system/images/files/thumb/84b585ce-9430-4761-8fb1-d94302eb33bd.jpg +0 -0
  82. data/test/dummy/public/system/images/files/thumb/b8e19d15-db0f-42e7-9372-5f563486928a.jpg +0 -0
  83. data/test/dummy/public/system/images/files/thumb/baa48120-b3b9-4d2a-830a-e6ebc4db7802.jpg +0 -0
  84. data/test/dummy/public/system/images/files/thumb/caac47c3-f3c8-4ca9-a682-d79e8c1b5b29.jpg +0 -0
  85. metadata +168 -337
  86. data/test/dummy/app/assets/javascripts/images.js +0 -0
  87. data/test/dummy/app/assets/javascripts/main.js +0 -0
  88. data/test/dummy/app/assets/stylesheets/audios.css +0 -0
  89. data/test/dummy/app/assets/stylesheets/images.css +0 -0
  90. data/test/dummy/app/assets/stylesheets/main.css +0 -0
  91. data/test/dummy/app/views/audios/_form.html.erb +0 -27
  92. data/test/dummy/app/views/audios/edit.html.erb +0 -3
  93. data/test/dummy/app/views/audios/index.html.erb +0 -17
  94. data/test/dummy/app/views/audios/new.html.erb +0 -3
  95. data/test/dummy/app/views/audios/show.html.erb +0 -17
  96. data/test/dummy/app/views/images/_form.html.erb +0 -27
  97. data/test/dummy/app/views/images/edit.html.erb +0 -3
  98. data/test/dummy/app/views/images/index.html.erb +0 -17
  99. data/test/dummy/app/views/images/new.html.erb +0 -3
  100. data/test/dummy/app/views/images/show.html.erb +0 -18
  101. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  102. data/test/dummy/app/views/main/index.html.erb +0 -6
  103. data/test/dummy/public/system/audios/files/full/5d262d6b-4789-42f9-b985-1c39c9eca0c0.aac +0 -0
  104. data/test/dummy/public/system/audios/files/full/67645888-cf0b-47db-8202-2df3a1ce594d.aac +0 -0
  105. data/test/dummy/public/system/audios/files/full/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.aac +0 -0
  106. data/test/dummy/public/system/audios/files/full/8d116bcb-2605-429e-9edc-b1a91fa66d0a.aac +0 -0
  107. data/test/dummy/public/system/audios/files/full/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.aac +0 -0
  108. data/test/dummy/public/system/audios/files/full/9dddf071-ac43-4232-9a9d-fb5d26862bd1.aac +0 -0
  109. data/test/dummy/public/system/audios/files/full/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.aac +0 -0
  110. data/test/dummy/public/system/audios/files/full/a79a531d-5de4-4aa3-9c04-275cf6307d13.aac +0 -0
  111. data/test/dummy/public/system/audios/files/full/c6768282-9787-45dc-a39f-37d23b83f8f2.aac +0 -0
  112. data/test/dummy/public/system/audios/files/full/e8389286-fda2-4614-906f-bd646383333a.aac +0 -0
  113. data/test/dummy/public/system/audios/files/full/ee0041b9-6482-4d4f-96cc-1a6e28c93570.aac +0 -0
  114. data/test/dummy/public/system/audios/files/full/ffb3df30-8dbf-4938-abde-21cdfced70d1.aac +0 -0
  115. data/test/dummy/public/system/audios/files/large/5d262d6b-4789-42f9-b985-1c39c9eca0c0.aac +0 -0
  116. data/test/dummy/public/system/audios/files/large/67645888-cf0b-47db-8202-2df3a1ce594d.aac +0 -0
  117. data/test/dummy/public/system/audios/files/large/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.aac +0 -0
  118. data/test/dummy/public/system/audios/files/large/8d116bcb-2605-429e-9edc-b1a91fa66d0a.aac +0 -0
  119. data/test/dummy/public/system/audios/files/large/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.aac +0 -0
  120. data/test/dummy/public/system/audios/files/large/9dddf071-ac43-4232-9a9d-fb5d26862bd1.aac +0 -0
  121. data/test/dummy/public/system/audios/files/large/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.aac +0 -0
  122. data/test/dummy/public/system/audios/files/large/a79a531d-5de4-4aa3-9c04-275cf6307d13.aac +0 -0
  123. data/test/dummy/public/system/audios/files/large/c6768282-9787-45dc-a39f-37d23b83f8f2.aac +0 -0
  124. data/test/dummy/public/system/audios/files/large/e8389286-fda2-4614-906f-bd646383333a.aac +0 -0
  125. data/test/dummy/public/system/audios/files/large/ee0041b9-6482-4d4f-96cc-1a6e28c93570.aac +0 -0
  126. data/test/dummy/public/system/audios/files/large/ffb3df30-8dbf-4938-abde-21cdfced70d1.aac +0 -0
  127. data/test/dummy/public/system/audios/files/original/5d262d6b-4789-42f9-b985-1c39c9eca0c0.wav +0 -0
  128. data/test/dummy/public/system/audios/files/original/67645888-cf0b-47db-8202-2df3a1ce594d.wav +0 -0
  129. data/test/dummy/public/system/audios/files/original/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.wav +0 -0
  130. data/test/dummy/public/system/audios/files/original/8d116bcb-2605-429e-9edc-b1a91fa66d0a.wav +0 -0
  131. data/test/dummy/public/system/audios/files/original/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.wav +0 -0
  132. data/test/dummy/public/system/audios/files/original/9dddf071-ac43-4232-9a9d-fb5d26862bd1.wav +0 -0
  133. data/test/dummy/public/system/audios/files/original/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.wav +0 -0
  134. data/test/dummy/public/system/audios/files/original/a79a531d-5de4-4aa3-9c04-275cf6307d13.wav +0 -0
  135. data/test/dummy/public/system/audios/files/original/c6768282-9787-45dc-a39f-37d23b83f8f2.wav +0 -0
  136. data/test/dummy/public/system/audios/files/original/e8389286-fda2-4614-906f-bd646383333a.wav +0 -0
  137. data/test/dummy/public/system/audios/files/original/ee0041b9-6482-4d4f-96cc-1a6e28c93570.wav +0 -0
  138. data/test/dummy/public/system/audios/files/original/ffb3df30-8dbf-4938-abde-21cdfced70d1.wav +0 -0
  139. data/test/dummy/public/system/audios/files/small/5d262d6b-4789-42f9-b985-1c39c9eca0c0.aac +0 -0
  140. data/test/dummy/public/system/audios/files/small/67645888-cf0b-47db-8202-2df3a1ce594d.aac +0 -0
  141. data/test/dummy/public/system/audios/files/small/6cecb6b5-46cd-47a5-bf8a-10849e30f1f6.aac +0 -0
  142. data/test/dummy/public/system/audios/files/small/8d116bcb-2605-429e-9edc-b1a91fa66d0a.aac +0 -0
  143. data/test/dummy/public/system/audios/files/small/9b084b16-eb46-4730-ad80-c5d7d8ef92d2.aac +0 -0
  144. data/test/dummy/public/system/audios/files/small/9dddf071-ac43-4232-9a9d-fb5d26862bd1.aac +0 -0
  145. data/test/dummy/public/system/audios/files/small/a6880c5f-d130-469f-9c30-d8aa1b9f7b71.aac +0 -0
  146. data/test/dummy/public/system/audios/files/small/a79a531d-5de4-4aa3-9c04-275cf6307d13.aac +0 -0
  147. data/test/dummy/public/system/audios/files/small/c6768282-9787-45dc-a39f-37d23b83f8f2.aac +0 -0
  148. data/test/dummy/public/system/audios/files/small/e8389286-fda2-4614-906f-bd646383333a.aac +0 -0
  149. data/test/dummy/public/system/audios/files/small/ee0041b9-6482-4d4f-96cc-1a6e28c93570.aac +0 -0
  150. data/test/dummy/public/system/audios/files/small/ffb3df30-8dbf-4938-abde-21cdfced70d1.aac +0 -0
  151. data/test/dummy/public/system/images/files/full/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
  152. data/test/dummy/public/system/images/files/full/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
  153. data/test/dummy/public/system/images/files/full/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
  154. data/test/dummy/public/system/images/files/full/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
  155. data/test/dummy/public/system/images/files/full/444d0123-908a-4616-83e3-88942a66a075.jpg +0 -0
  156. data/test/dummy/public/system/images/files/full/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
  157. data/test/dummy/public/system/images/files/full/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
  158. data/test/dummy/public/system/images/files/full/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
  159. data/test/dummy/public/system/images/files/full/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
  160. data/test/dummy/public/system/images/files/full/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
  161. data/test/dummy/public/system/images/files/full/cd5745af-c9c5-4ea4-9fca-711fb58c4604.jpg +0 -0
  162. data/test/dummy/public/system/images/files/full/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
  163. data/test/dummy/public/system/images/files/full/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
  164. data/test/dummy/public/system/images/files/full/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
  165. data/test/dummy/public/system/images/files/full/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
  166. data/test/dummy/public/system/images/files/full/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
  167. data/test/dummy/public/system/images/files/large/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
  168. data/test/dummy/public/system/images/files/large/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
  169. data/test/dummy/public/system/images/files/large/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
  170. data/test/dummy/public/system/images/files/large/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
  171. data/test/dummy/public/system/images/files/large/444d0123-908a-4616-83e3-88942a66a075.jpg +0 -0
  172. data/test/dummy/public/system/images/files/large/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
  173. data/test/dummy/public/system/images/files/large/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
  174. data/test/dummy/public/system/images/files/large/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
  175. data/test/dummy/public/system/images/files/large/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
  176. data/test/dummy/public/system/images/files/large/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
  177. data/test/dummy/public/system/images/files/large/cd5745af-c9c5-4ea4-9fca-711fb58c4604.jpg +0 -0
  178. data/test/dummy/public/system/images/files/large/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
  179. data/test/dummy/public/system/images/files/large/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
  180. data/test/dummy/public/system/images/files/large/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
  181. data/test/dummy/public/system/images/files/large/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
  182. data/test/dummy/public/system/images/files/large/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
  183. data/test/dummy/public/system/images/files/original/8628fbe3-bd09-4713-babe-e38c1492788e.png +0 -0
  184. data/test/dummy/public/system/images/files/original/a0158251-8d9c-42fb-a854-e56b915713df.png +0 -0
  185. data/test/dummy/public/system/images/files/original/b7318aed-63ee-43a2-9365-755bcc2815df.png +0 -0
  186. data/test/dummy/public/system/images/files/original/c292008f-764f-4f8a-8df1-82c63d87a653.png +0 -0
  187. data/test/dummy/public/system/images/files/original/cd5745af-c9c5-4ea4-9fca-711fb58c4604.png +0 -0
  188. data/test/dummy/public/system/images/files/original/d39266e6-2426-4888-9f12-031ade4f872e.png +0 -0
  189. data/test/dummy/public/system/images/files/original/e9e4c240-1426-4951-a600-c5a07c30d80d.png +0 -0
  190. data/test/dummy/public/system/images/files/original/ee1f8491-6e52-410f-9d62-bd544715d066.png +0 -0
  191. data/test/dummy/public/system/images/files/original/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.png +0 -0
  192. data/test/dummy/public/system/images/files/original/ffc3f5fd-ff40-4a77-8e08-0517e519f857.png +0 -0
  193. data/test/dummy/public/system/images/files/small/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
  194. data/test/dummy/public/system/images/files/small/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
  195. data/test/dummy/public/system/images/files/small/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
  196. data/test/dummy/public/system/images/files/small/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
  197. data/test/dummy/public/system/images/files/small/444d0123-908a-4616-83e3-88942a66a075.jpg +0 -0
  198. data/test/dummy/public/system/images/files/small/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
  199. data/test/dummy/public/system/images/files/small/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
  200. data/test/dummy/public/system/images/files/small/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
  201. data/test/dummy/public/system/images/files/small/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
  202. data/test/dummy/public/system/images/files/small/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
  203. data/test/dummy/public/system/images/files/small/cd5745af-c9c5-4ea4-9fca-711fb58c4604.jpg +0 -0
  204. data/test/dummy/public/system/images/files/small/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
  205. data/test/dummy/public/system/images/files/small/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
  206. data/test/dummy/public/system/images/files/small/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
  207. data/test/dummy/public/system/images/files/small/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
  208. data/test/dummy/public/system/images/files/small/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
  209. data/test/dummy/public/system/images/files/thumb/0850c86c-78a8-4319-8852-bed744b792e6.jpg +0 -0
  210. data/test/dummy/public/system/images/files/thumb/12ace664-b553-45a6-b02b-37e15ac2981b.jpg +0 -0
  211. data/test/dummy/public/system/images/files/thumb/2ac8ebdb-bc96-49c4-befd-5c96b47646e5.jpg +0 -0
  212. data/test/dummy/public/system/images/files/thumb/3e9c5921-4820-441d-9f90-90b518cd582e.jpg +0 -0
  213. data/test/dummy/public/system/images/files/thumb/444d0123-908a-4616-83e3-88942a66a075.jpg +0 -0
  214. data/test/dummy/public/system/images/files/thumb/5af89da1-b1fa-421a-a52e-01607d89fb5d.jpg +0 -0
  215. data/test/dummy/public/system/images/files/thumb/8628fbe3-bd09-4713-babe-e38c1492788e.jpg +0 -0
  216. data/test/dummy/public/system/images/files/thumb/a0158251-8d9c-42fb-a854-e56b915713df.jpg +0 -0
  217. data/test/dummy/public/system/images/files/thumb/b7318aed-63ee-43a2-9365-755bcc2815df.jpg +0 -0
  218. data/test/dummy/public/system/images/files/thumb/c292008f-764f-4f8a-8df1-82c63d87a653.jpg +0 -0
  219. data/test/dummy/public/system/images/files/thumb/cd5745af-c9c5-4ea4-9fca-711fb58c4604.jpg +0 -0
  220. data/test/dummy/public/system/images/files/thumb/d39266e6-2426-4888-9f12-031ade4f872e.jpg +0 -0
  221. data/test/dummy/public/system/images/files/thumb/e9e4c240-1426-4951-a600-c5a07c30d80d.jpg +0 -0
  222. data/test/dummy/public/system/images/files/thumb/ee1f8491-6e52-410f-9d62-bd544715d066.jpg +0 -0
  223. data/test/dummy/public/system/images/files/thumb/f7ccd0c4-6d8d-4d26-afe7-ab62a448baf9.jpg +0 -0
  224. data/test/dummy/public/system/images/files/thumb/ffc3f5fd-ff40-4a77-8e08-0517e519f857.jpg +0 -0
@@ -8,119 +8,119 @@ end
8
8
 
9
9
 
10
10
  module Attached
11
- module Storage
12
- class Rackspace < Base
13
-
14
-
15
- attr_reader :permissions
16
- attr_reader :container
17
- attr_reader :username
18
- attr_reader :api_key
19
-
20
-
21
- # Create a new interface supporting save and destroy operations.
22
- #
23
- # Usage:
24
- #
25
- # Attached::Storage::Rackspace.new()
26
- # Attached::Storage::Rackspace.new("rackspace.yml")
27
-
28
- def initialize(credentials)
29
- credentials = parse(credentials)
30
-
31
- @permissions = { :public => true }
32
-
33
- @container = credentials[:container] || credentials['container']
34
- @username = credentials[:username] || credentials['username']
35
- @api_key = credentials[:api_key] || credentials['api_key']
36
-
37
- raise "'container' must be specified if using 'rackspace' for storage" unless @container
38
- end
39
-
40
-
41
- # Access the host (e.g. https://storage.clouddrive.com/container) for a storage service.
42
- #
43
- # Usage:
44
- #
45
- # storage.host
46
-
47
- def host()
48
- "https://storage.clouddrive.com/#{self.container}/"
49
- end
50
-
51
-
11
+ module Storage
12
+ class Rackspace < Base
13
+
14
+
15
+ attr_reader :permissions
16
+ attr_reader :container
17
+ attr_reader :username
18
+ attr_reader :api_key
19
+
20
+
21
+ # Create a new interface supporting save and destroy operations.
22
+ #
23
+ # Usage:
24
+ #
25
+ # Attached::Storage::Rackspace.new()
26
+ # Attached::Storage::Rackspace.new("rackspace.yml")
27
+
28
+ def initialize(credentials)
29
+ credentials = parse(credentials)
30
+
31
+ @permissions = { :public => true }
32
+
33
+ @container = credentials[:container] || credentials['container']
34
+ @username = credentials[:username] || credentials['username']
35
+ @api_key = credentials[:api_key] || credentials['api_key']
36
+
37
+ raise "'container' must be specified if using 'rackspace' for storage" unless @container
38
+ end
39
+
40
+
41
+ # Access the host (e.g. https://storage.clouddrive.com/container) for a storage service.
42
+ #
43
+ # Usage:
44
+ #
45
+ # storage.host
46
+
47
+ def host()
48
+ "https://storage.clouddrive.com/#{self.container}/"
49
+ end
50
+
51
+
52
52
  # Save a file to a given path.
53
53
  #
54
54
  # Parameters:
55
55
  #
56
56
  # * file - The file to save.
57
57
  # * path - The path to save.
58
-
58
+
59
59
  def save(file, path)
60
60
  file = File.open(file.path)
61
-
61
+
62
62
  directory = connection.directories.get(self.container)
63
63
  directory ||= connection.directories.create(self.permissions.merge(:key => self.container))
64
-
64
+
65
65
  directory.files.create(self.options(path).merge(self.permissions.merge(:key => path, :body => file)))
66
-
66
+
67
67
  file.close
68
68
  end
69
-
70
-
69
+
70
+
71
71
  # Retrieve a file from a given path.
72
72
  #
73
73
  # Parameters:
74
74
  #
75
75
  # * path - The path to retrieve.
76
-
76
+
77
77
  def retrieve(path)
78
78
  directory = connection.directories.get(self.bucket)
79
79
  directory ||= connection.directories.create(self.permissions.merge(:key => self.bucket))
80
-
80
+
81
81
  file = directory.files.get(path)
82
-
82
+
83
83
  body = file.body
84
-
84
+
85
85
  extname = File.extname(path)
86
86
  basename = File.basename(path, extname)
87
-
87
+
88
88
  file = Tempfile.new([basename, extname])
89
89
  file.binmode
90
90
  file.write(body)
91
91
  file.rewind
92
-
92
+
93
93
  file
94
94
  end
95
-
96
-
95
+
96
+
97
97
  # Destroy a file at a given path.
98
98
  #
99
99
  # Parameters:
100
100
  #
101
101
  # * path - The path to destroy.
102
-
102
+
103
103
  def destroy(path)
104
104
  directory = connection.directories.get(self.container)
105
105
  directory ||= connection.directories.create(self.permissions.merge(:key => self.container))
106
-
106
+
107
107
  file = directory.files.get(path)
108
108
  file.destroy if file
109
109
  end
110
-
111
-
112
- private
113
110
 
114
-
115
- def connection
116
- @connection ||= Fog::Storage.new(
111
+
112
+ private
113
+
114
+
115
+ def connection
116
+ @connection ||= Fog::Storage.new(
117
117
  :rackspace_username => self.username,
118
118
  :rackspace_api_key => self.api_key,
119
119
  :provider => 'Rackspace'
120
120
  )
121
- end
122
-
123
-
124
- end
125
- end
121
+ end
122
+
123
+
124
+ end
125
+ end
126
126
  end
@@ -1,3 +1,3 @@
1
1
  module Attached
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
@@ -1,3 +1,4 @@
1
1
  //= require jquery
2
2
  //= require jquery_ujs
3
- //= require_tree .
3
+ //= require bootstrap
4
+ //= require_tree .
@@ -1,16 +1,9 @@
1
1
  /*
2
2
  *= require_self
3
- *= require_tree .
3
+ *= require_tree .
4
4
  */
5
5
 
6
- html, body
6
+ body
7
7
  {
8
- font-family: Helvetica, Verdana, Arial, sans-serif;
9
- font-style: normal;
10
- font-weight: normal;
11
- }
12
-
13
- .field_with_errors
14
- {
15
- display: inline;
8
+ padding: 80px 0px;
16
9
  }
@@ -0,0 +1,6 @@
1
+ @import "bootstrap";
2
+
3
+ .modal form
4
+ {
5
+ margin: auto;
6
+ }
@@ -0,0 +1,17 @@
1
+ = form_for audio, :html => { :multipart => true, :class => 'form-horizontal' } do |form|
2
+ - audio.errors.each do |method, message|
3
+ = render 'shared/error', :method => method, :message => message
4
+
5
+ .control-group
6
+ = form.label :name, :class => "control-label"
7
+ .controls
8
+ = form.text_field :name
9
+
10
+ .control-group
11
+ = form.label :file, :class => "control-label"
12
+ .controls
13
+ = form.file_field :file
14
+
15
+ .form-actions
16
+ = form.submit "Submit", :class => 'btn btn-primary'
17
+ = link_to 'Cancel', :back, :class => 'btn'
@@ -0,0 +1,5 @@
1
+ .page-header
2
+ %h1
3
+ Edit
4
+ %small Audio
5
+ = render 'form', :audio => @audio
@@ -0,0 +1,20 @@
1
+ .page-header
2
+ %h1
3
+ List
4
+ %small Audios
5
+ %table.table.table-striped.table-bordered
6
+ %colgroup{ :width => '60%' }
7
+ %colgroup{ :width => '20%' }
8
+ %colgroup{ :width => '20%' }
9
+ - @audios.each do |audio|
10
+ %tr
11
+ %th= audio.name
12
+ %td= audio.file_extension
13
+ %td= number_to_human_size audio.file_size
14
+ %td= link_to 'Show', audio_path(audio), :class => 'btn btn-info'
15
+ %td= link_to 'Edit', edit_audio_path(audio), :class => 'btn btn-warning'
16
+ %td= link_to 'Destroy', audio_path(audio), :method => :delete, :class => 'btn btn-danger'
17
+
18
+ %p
19
+ = link_to 'New', new_audio_path, :class => 'btn btn-primary'
20
+ = link_to 'Back', root_path, :class => 'btn'
@@ -0,0 +1,5 @@
1
+ .page-header
2
+ %h1
3
+ New
4
+ %small Audio
5
+ = render 'form', :audio => @audio
@@ -0,0 +1,13 @@
1
+ .page-header
2
+ %h1
3
+ Show
4
+ %small Audio
5
+ %p#notice= notice
6
+ %p
7
+ %strong Name:
8
+ = @audio.name
9
+ %p
10
+ = audio_tag @audio.file.url(:large)
11
+ %p
12
+ = link_to 'Edit', edit_audio_path(@audio), :class => 'btn btn-warning'
13
+ = link_to 'Back', audios_path, :class => 'btn'
@@ -0,0 +1,17 @@
1
+ = form_for image, :html => { :multipart => true, :class => 'form-horizontal' } do |form|
2
+ - image.errors.each do |method, message|
3
+ = render 'shared/error', :method => method, :message => message
4
+
5
+ .control-group
6
+ = form.label :name, :class => "control-label"
7
+ .controls
8
+ = form.text_field :name
9
+
10
+ .control-group
11
+ = form.label :file, :class => "control-label"
12
+ .controls
13
+ = form.file_field :file
14
+
15
+ .form-actions
16
+ = form.submit "Submit", :class => 'btn btn-primary'
17
+ = link_to 'Cancel', :back, :class => 'btn'
@@ -0,0 +1,5 @@
1
+ .page-header
2
+ %h1
3
+ Edit
4
+ %small Image
5
+ = render 'form', :image => @image
@@ -0,0 +1,20 @@
1
+ .page-header
2
+ %h1
3
+ List
4
+ %small Images
5
+ %table.table.table-striped.table-bordered
6
+ %colgroup{ :width => '60%' }
7
+ %colgroup{ :width => '20%' }
8
+ %colgroup{ :width => '20%' }
9
+ - @images.each do |image|
10
+ %tr
11
+ %th= image.name
12
+ %td= image.file_extension
13
+ %td= number_to_human_size image.file_size
14
+ %td= link_to 'Show', image_path(image), :class => 'btn btn-info'
15
+ %td= link_to 'Edit', edit_image_path(image), :class => 'btn btn-warning'
16
+ %td= link_to 'Destroy', image_path(image), :method => :delete, :class => 'btn btn-danger'
17
+
18
+ %p
19
+ = link_to 'New', new_image_path, :class => 'btn btn-primary'
20
+ = link_to 'Back', root_path, :class => 'btn'
@@ -0,0 +1,5 @@
1
+ .page-header
2
+ %h1
3
+ New
4
+ %small Image
5
+ = render 'form', :image => @image
@@ -0,0 +1,13 @@
1
+ .page-header
2
+ %h1
3
+ Show
4
+ %small Image
5
+ %p#notice= notice
6
+ %p
7
+ %strong Name:
8
+ = @image.name
9
+ %p
10
+ = image_tag @image.file.url(:full), :size => "400x400"
11
+ %p
12
+ = link_to 'Edit', edit_image_path(@image), :class => 'btn btn-warning'
13
+ = link_to 'Back', images_path, :class => 'btn'
@@ -0,0 +1,17 @@
1
+ !!!
2
+ %html
3
+ %head
4
+ %title Attached
5
+ = stylesheet_link_tag "application"
6
+ = javascript_include_tag "application"
7
+ = csrf_meta_tags
8
+ %body
9
+ .navbar.navbar-fixed-top
10
+ .navbar-inner
11
+ .container
12
+ = link_to 'Attached', root_path, :class => 'brand'
13
+ %ul.nav
14
+ %li= link_to 'Audios', audios_path
15
+ %li= link_to 'Images', images_path
16
+ .container
17
+ = yield
@@ -0,0 +1,8 @@
1
+ .hero-unit
2
+ %h1
3
+ Attached
4
+ %small a Ruby on Rails file attachment library
5
+ %p Attached is a Ruby on Rails file attachment tool that lets users upload to the cloud. The gem supports AWS, Google and Rackspace for storage networks by default. It is influenced (and copied) from Paperclip and makes heavy use of the incredibly awesome Fog library.
6
+ %p
7
+ = link_to 'Audios', audios_path, :class => 'btn btn-primary btn-large'
8
+ = link_to 'Images', images_path, :class => 'btn btn-primary btn-large'
@@ -0,0 +1,4 @@
1
+ .alert.alert-error
2
+ .close{ :data => { :dismiss => "alert" } } &times;
3
+ %strong= "#{method}".humanize
4
+ = message
Binary file
@@ -0,0 +1,37 @@
1
+ Connecting to database specified by database.yml
2
+  (2.2ms) select sqlite_version(*)
3
+  (1.6ms) CREATE TABLE "audios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime)
4
+  (1.3ms) CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime) 
5
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
6
+  (0.0ms) PRAGMA index_list("schema_migrations")
7
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8
+  (0.1ms) SELECT version FROM "schema_migrations"
9
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191846')
10
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191836')
11
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
12
+ Connecting to database specified by database.yml
13
+  (1.9ms) select sqlite_version(*)
14
+  (1.2ms) DROP TABLE "audios"
15
+  (1.0ms) CREATE TABLE "audios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime) 
16
+  (0.9ms) DROP TABLE "images"
17
+  (0.9ms) CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime) 
18
+  (0.1ms) SELECT version FROM "schema_migrations"
19
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
20
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
21
+ Migrating to CreateAudios (20101223191836)
22
+ Migrating to CreateImages (20101223191846)
23
+  (0.4ms) select sqlite_version(*)
24
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
25
+  (0.0ms) PRAGMA index_list("audios")
26
+  (0.0ms) PRAGMA index_list("images")
27
+ Connecting to database specified by database.yml
28
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
29
+  (0.5ms) select sqlite_version(*)
30
+  (1.2ms) CREATE TABLE "audios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime) 
31
+  (1.4ms) CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime)
32
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
33
+  (0.0ms) PRAGMA index_list("schema_migrations")
34
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
35
+  (0.1ms) SELECT version FROM "schema_migrations"
36
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191846')
37
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191836')
@@ -1,1089 +1,312 @@
1
-  (0.1ms) SAVEPOINT active_record_6
2
- Fixture Delete (0.6ms) DELETE FROM "audios"
3
- Fixture Insert (0.3ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2011-12-25 23:36:32', '2011-12-25 23:36:32', 410859157)
4
- Fixture Delete (0.3ms) DELETE FROM "images"
5
- 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, '2011-12-25 23:36:32', '2011-12-25 23:36:32', 87884898)
6
-  (0.0ms) RELEASE SAVEPOINT active_record_6
7
- Audio Load (0.4ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
8
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
9
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
10
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
11
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
12
- Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
13
- Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
14
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
15
- Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
16
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
17
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
18
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
19
- Processing by MainController#index as HTML
20
- Completed 200 OK in 65ms (Views: 64.6ms | ActiveRecord: 0.0ms)
21
-  (0.1ms) SAVEPOINT active_record_1
22
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
23
-  (0.1ms) SAVEPOINT active_record_1
24
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
25
-  (0.1ms) SAVEPOINT active_record_1
26
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
27
-  (0.1ms) SAVEPOINT active_record_1
28
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
29
-  (0.2ms) SAVEPOINT active_record_1
30
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31
-  (0.1ms) SAVEPOINT active_record_1
32
- [attached] save attached
33
- SQL (15.1ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 25 Dec 2011 23:38:47 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "e8389286-fda2-4614-906f-bd646383333a"], ["file_size", 1055276], ["name", nil], ["updated_at", Sun, 25 Dec 2011 23:38:47 UTC +00:00]]
34
-  (0.3ms) RELEASE SAVEPOINT active_record_1
35
- Fixture Delete (0.2ms) DELETE FROM "audios"
36
- 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, '2011-12-25 23:38:47', '2011-12-25 23:38:47', 410859157)
37
- Fixture Delete (0.4ms) DELETE FROM "images"
38
- 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, '2011-12-25 23:38:47', '2011-12-25 23:38:47', 87884898)
39
- Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
40
-  (0.1ms) SELECT COUNT(*) FROM "audios" 
41
- Processing by AudiosController#create as HTML
42
- Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007fbc921469b8 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/audio.wav20111225-13496-1v96v3b>>}}
43
-  (0.1ms) SAVEPOINT active_record_1
44
- [attached] save attached
45
- SQL (0.9ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 25 Dec 2011 23:38:48 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "c6768282-9787-45dc-a39f-37d23b83f8f2"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sun, 25 Dec 2011 23:38:48 UTC +00:00]]
46
-  (0.1ms) RELEASE SAVEPOINT active_record_1
47
- Redirected to http://test.host/audios/410859158
48
- Completed 302 Found in 772ms
49
-  (0.1ms) SELECT COUNT(*) FROM "audios" 
50
- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
51
-  (0.2ms) SELECT COUNT(*) FROM "audios" 
52
- Processing by AudiosController#destroy as HTML
53
- Parameters: {"id"=>"410859157"}
54
- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
55
-  (0.1ms) SAVEPOINT active_record_1
56
- [attached] destroy attached
57
- SQL (0.3ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
58
-  (0.0ms) RELEASE SAVEPOINT active_record_1
59
- Redirected to http://test.host/audios
60
- Completed 302 Found in 5ms
61
-  (0.1ms) SELECT COUNT(*) FROM "audios"
62
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
63
- Processing by AudiosController#edit as HTML
64
- Parameters: {"id"=>"410859157"}
65
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
66
- Rendered audios/_form.html.erb (4.5ms)
67
- Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 0.1ms)
68
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
69
- Processing by AudiosController#index as HTML
70
- Audio Load (0.2ms) SELECT "audios".* FROM "audios"
71
- Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
72
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
73
- Processing by AudiosController#new as HTML
74
- Rendered audios/_form.html.erb (2.2ms)
75
- Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
76
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
77
- Processing by AudiosController#show as HTML
78
- Parameters: {"id"=>"410859157"}
79
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
80
- Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms)
81
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
82
- Processing by AudiosController#update as HTML
83
- Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2011-12-25 23:38:47 UTC", "updated_at"=>"2011-12-25 23:38:47 UTC"}, "id"=>"410859157"}
84
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
85
- WARNING: Can't mass-assign protected attributes: id
86
-  (0.1ms) SAVEPOINT active_record_1
87
- [attached] save attached
88
-  (0.0ms) RELEASE SAVEPOINT active_record_1
89
- Redirected to http://test.host/audios/410859157
90
- Completed 302 Found in 10ms
91
-  (0.1ms) SAVEPOINT active_record_1
92
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
93
-  (0.0ms) SAVEPOINT active_record_1
94
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
95
-  (0.1ms) SAVEPOINT active_record_1
96
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
97
-  (0.1ms) SAVEPOINT active_record_1
98
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
99
-  (0.1ms) SAVEPOINT active_record_1
100
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
101
-  (0.1ms) SAVEPOINT active_record_1
102
- [attached] save attached
103
- SQL (1.2ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 25 Dec 2011 23:38:49 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "cd5745af-c9c5-4ea4-9fca-711fb58c4604"], ["file_size", 399085], ["name", nil], ["updated_at", Sun, 25 Dec 2011 23:38:49 UTC +00:00]]
104
-  (0.1ms) RELEASE SAVEPOINT active_record_1
105
- Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
106
-  (0.1ms) SELECT COUNT(*) FROM "images"
107
- Processing by ImagesController#create as HTML
108
- Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007fbc92c4f850 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/image.png20111225-13496-1kdhz0x>>}}
109
-  (0.3ms) SAVEPOINT active_record_1
110
- [attached] save attached
111
- SQL (1.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 25 Dec 2011 23:38:49 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "444d0123-908a-4616-83e3-88942a66a075"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sun, 25 Dec 2011 23:38:49 UTC +00:00]]
112
-  (0.1ms) RELEASE SAVEPOINT active_record_1
113
-  (0.0ms) SAVEPOINT active_record_1
114
- [attached] save attached
115
-  (0.1ms) RELEASE SAVEPOINT active_record_1
116
- Redirected to http://test.host/images/87884899
117
- Completed 302 Found in 221ms
118
-  (0.2ms) SELECT COUNT(*) FROM "images"
119
- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
120
-  (0.1ms) SELECT COUNT(*) FROM "images"
121
- Processing by ImagesController#destroy as HTML
122
- Parameters: {"id"=>"87884898"}
123
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
124
-  (0.1ms) SAVEPOINT active_record_1
125
- [attached] destroy attached
126
- SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
127
-  (0.1ms) RELEASE SAVEPOINT active_record_1
128
- Redirected to http://test.host/images
129
- Completed 302 Found in 8ms
130
-  (0.1ms) SELECT COUNT(*) FROM "images" 
131
- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
132
- Processing by ImagesController#edit as HTML
133
- Parameters: {"id"=>"87884898"}
134
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
135
- Rendered images/_form.html.erb (4.3ms)
136
- Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.1ms)
137
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
138
- Processing by ImagesController#index as HTML
139
- Image Load (0.2ms) SELECT "images".* FROM "images" 
140
- Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms)
141
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
142
- Processing by ImagesController#new as HTML
143
- Rendered images/_form.html.erb (2.3ms)
144
- Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
145
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
146
- Processing by ImagesController#show as HTML
147
- Parameters: {"id"=>"87884898"}
148
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
149
- Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.1ms)
150
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
151
- Processing by ImagesController#update as HTML
152
- Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2011-12-25 23:38:47 UTC", "updated_at"=>"2011-12-25 23:38:47 UTC"}, "id"=>"87884898"}
153
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
154
- Redirected to http://test.host/images/87884898
155
- Completed 302 Found in 4ms
156
- Processing by MainController#index as HTML
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)
1
+ Connecting to database specified by database.yml
2
+  (0.5ms) begin transaction
3
+  (0.1ms) rollback transaction
4
+  (0.1ms) begin transaction
860
5
   (0.1ms) rollback transaction
861
6
   (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
7
   (0.1ms) rollback transaction
868
8
   (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)
9
+  (0.1ms) rollback transaction
10
+  (0.0ms) begin transaction
11
+  (0.1ms) rollback transaction
12
+  (0.1ms) begin transaction
13
+  (0.0ms) rollback transaction
14
+  (0.0ms) begin transaction
15
+  (0.0ms) rollback transaction
16
+  (0.1ms) begin transaction
17
+  (0.0ms) rollback transaction
18
+  (0.1ms) begin transaction
19
+  (0.0ms) rollback transaction
20
+  (0.1ms) begin transaction
21
+  (0.0ms) rollback transaction
22
+  (0.1ms) begin transaction
23
+  (0.0ms) rollback transaction
24
+  (0.1ms) begin transaction
25
+  (0.0ms) rollback transaction
26
+  (0.1ms) begin transaction
27
+  (0.0ms) rollback transaction
28
+  (0.1ms) begin transaction
29
+  (0.0ms) rollback transaction
30
+  (0.1ms) begin transaction
31
+  (0.1ms) rollback transaction
32
+  (0.1ms) begin transaction
33
+  (0.0ms) rollback transaction
34
+  (0.0ms) begin transaction
35
+  (0.0ms) rollback transaction
36
+  (0.0ms) begin transaction
37
+  (0.0ms) rollback transaction
38
+  (0.0ms) begin transaction
39
+  (0.0ms) rollback transaction
40
+  (0.0ms) begin transaction
41
+  (0.0ms) rollback transaction
42
+  (0.1ms) begin transaction
43
+  (0.0ms) rollback transaction
44
+  (0.1ms) begin transaction
45
+  (0.0ms) rollback transaction
46
+  (0.1ms) begin transaction
47
+  (0.0ms) rollback transaction
48
+  (0.1ms) begin transaction
49
+  (0.0ms) rollback transaction
50
+  (0.1ms) begin transaction
875
51
   (0.1ms) rollback transaction
876
52
   (0.1ms) begin transaction
53
+  (0.0ms) rollback transaction
54
+  (0.1ms) begin transaction
55
+  (0.0ms) rollback transaction
56
+  (0.1ms) begin transaction
877
57
  Processing by MainController#index as HTML
878
- Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
58
+ Completed 200 OK in 67ms (Views: 66.8ms | ActiveRecord: 0.0ms)
879
59
   (0.1ms) rollback transaction
880
-  (0.5ms) begin transaction
60
+ Connecting to database specified by database.yml
61
+  (0.4ms) begin transaction
62
+  (0.1ms) rollback transaction
63
+  (0.1ms) begin transaction
64
+  (0.1ms) rollback transaction
65
+  (0.0ms) begin transaction
66
+  (0.1ms) rollback transaction
67
+  (0.0ms) begin transaction
68
+  (0.1ms) rollback transaction
69
+  (0.0ms) begin transaction
70
+  (0.0ms) rollback transaction
71
+  (0.0ms) begin transaction
881
72
   (0.0ms) rollback transaction
882
73
   (0.0ms) begin transaction
883
-  (0.1ms) SAVEPOINT active_record_1
884
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
885
74
   (0.1ms) rollback transaction
75
+  (0.1ms) begin transaction
76
+  (0.0ms) rollback transaction
77
+  (0.1ms) begin transaction
78
+  (0.0ms) rollback transaction
79
+  (0.1ms) begin transaction
80
+  (0.0ms) rollback transaction
886
81
   (0.0ms) begin transaction
887
-  (0.0ms) SAVEPOINT active_record_1
888
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
82
+  (0.0ms) rollback transaction
83
+  (0.1ms) begin transaction
84
+  (0.0ms) rollback transaction
85
+  (0.1ms) begin transaction
86
+  (0.0ms) rollback transaction
87
+  (0.1ms) begin transaction
88
+  (0.0ms) rollback transaction
89
+  (0.1ms) begin transaction
889
90
   (0.0ms) rollback transaction
890
91
   (0.0ms) begin transaction
891
-  (0.2ms) SAVEPOINT active_record_1
892
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
893
92
   (0.0ms) rollback transaction
894
93
   (0.0ms) begin transaction
895
-  (0.2ms) SAVEPOINT active_record_1
896
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
897
94
   (0.0ms) rollback transaction
898
95
   (0.0ms) begin transaction
899
-  (0.2ms) SAVEPOINT active_record_1
900
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
901
96
   (0.0ms) rollback transaction
902
97
   (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"
98
+  (0.0ms) rollback transaction
99
+  (0.0ms) begin transaction
100
+  (0.0ms) rollback transaction
101
+  (0.1ms) begin transaction
102
+  (0.0ms) rollback transaction
103
+  (0.1ms) begin transaction
104
+  (0.0ms) rollback transaction
105
+  (0.1ms) begin transaction
106
+  (0.0ms) rollback transaction
107
+  (0.1ms) begin transaction
108
+  (0.0ms) rollback transaction
109
+  (0.0ms) begin transaction
110
+  (0.0ms) rollback transaction
111
+  (0.1ms) begin transaction
112
+  (0.0ms) rollback transaction
113
+  (0.1ms) begin transaction
114
+  (0.0ms) rollback transaction
115
+  (0.1ms) begin transaction
116
+ Processing by MainController#index as HTML
117
+ Completed 200 OK in 49ms (Views: 48.4ms | ActiveRecord: 0.0ms)
118
+  (0.1ms) rollback transaction
119
+ Connecting to database specified by database.yml
120
+  (0.5ms) begin transaction
121
+  (0.1ms) rollback transaction
122
+  (0.1ms) begin transaction
123
+  (0.1ms) rollback transaction
124
+  (0.0ms) begin transaction
125
+  (0.1ms) SAVEPOINT active_record_1
126
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
127
+  (0.0ms) rollback transaction
128
+  (0.0ms) begin transaction
129
+  (0.1ms) rollback transaction
130
+  (0.0ms) begin transaction
131
+  (0.1ms) rollback transaction
132
+  (0.1ms) begin transaction
133
+  (0.2ms) rollback transaction
134
+  (0.1ms) begin transaction
135
+  (0.1ms) rollback transaction
136
+  (0.1ms) begin transaction
137
+ Fixture Delete (0.7ms) DELETE FROM "audios"
138
+ Fixture Insert (0.5ms) 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-07-16 05:42:22', '2012-07-16 05:42:22', 410859157)
139
+ Fixture Delete (0.3ms) DELETE FROM "images"
140
+ 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-07-16 05:42:22', '2012-07-16 05:42:22', 87884898)
141
+  (1.0ms) commit transaction
142
+  (0.1ms) begin transaction
143
+ Audio Load (0.5ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
144
+  (0.2ms) SELECT COUNT(*) FROM "audios" 
917
145
  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"
146
+ Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007f92fb841738 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/audio.wav20120715-43658-b8d2yz>>}}
147
+ Completed 500 Internal Server Error in 8ms
148
+  (0.2ms) rollback transaction
149
+  (0.0ms) begin transaction
150
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
151
+  (0.2ms) SELECT COUNT(*) FROM "audios" 
930
152
  Processing by AudiosController#destroy as HTML
931
153
  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
154
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
155
+  (0.1ms) SAVEPOINT active_record_1
934
156
  [attached] destroy attached
935
- SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
936
-  (0.1ms) RELEASE SAVEPOINT active_record_1
157
+ SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
158
+  (0.0ms) RELEASE SAVEPOINT active_record_1
937
159
  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]]
160
+ Completed 302 Found in 24ms (ActiveRecord: 0.0ms)
161
+  (0.2ms) SELECT COUNT(*) FROM "audios"
162
+  (0.3ms) rollback transaction
163
+  (0.0ms) begin transaction
164
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
943
165
  Processing by AudiosController#edit as HTML
944
166
  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]]
167
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
168
+ Rendered audios/_form.html.haml (7.9ms)
169
+ Completed 200 OK in 31ms (Views: 29.0ms | ActiveRecord: 0.1ms)
170
+  (0.1ms) rollback transaction
171
+  (0.1ms) begin transaction
172
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
951
173
  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)
174
+ Audio Load (0.3ms) SELECT "audios".* FROM "audios"
175
+ Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.3ms)
960
176
   (0.1ms) rollback transaction
961
177
   (0.0ms) begin transaction
962
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
178
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
179
+ Processing by AudiosController#new as HTML
180
+ Rendered audios/_form.html.haml (4.5ms)
181
+ Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.0ms)
182
+  (0.1ms) rollback transaction
183
+  (0.0ms) begin transaction
184
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
963
185
  Processing by AudiosController#show as HTML
964
186
  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]]
187
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
188
+ Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.2ms)
189
+  (0.1ms) rollback transaction
190
+  (0.0ms) begin transaction
191
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
970
192
  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"]]
193
+ Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-16 05:42:22 UTC", "updated_at"=>"2012-07-16 05:42:22 UTC"}, "id"=>"410859157"}
194
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
973
195
  WARNING: Can't mass-assign protected attributes: id
974
-  (0.1ms) SAVEPOINT active_record_1
196
+  (0.1ms) SAVEPOINT active_record_1
975
197
  [attached] save attached
976
-  (0.0ms) RELEASE SAVEPOINT active_record_1
198
+  (0.0ms) RELEASE SAVEPOINT active_record_1
977
199
  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
200
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
201
+  (0.1ms) rollback transaction
202
+  (0.1ms) begin transaction
203
+  (0.2ms) SAVEPOINT active_record_1
204
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
205
+  (0.1ms) rollback transaction
206
+  (0.1ms) begin transaction
207
+  (0.1ms) SAVEPOINT active_record_1
208
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
209
+  (0.0ms) rollback transaction
210
+  (0.0ms) begin transaction
211
+  (0.1ms) SAVEPOINT active_record_1
212
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
213
+  (0.0ms) rollback transaction
214
+  (0.0ms) begin transaction
215
+  (0.1ms) SAVEPOINT active_record_1
216
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
217
+  (0.1ms) rollback transaction
1006
218
   (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
219
+  (0.1ms) SAVEPOINT active_record_1
220
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
221
+  (0.0ms) rollback transaction
222
+  (0.0ms) begin transaction
223
+  (0.1ms) SAVEPOINT active_record_1
1012
224
  [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]]
225
+ SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:42:23 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "caac47c3-f3c8-4ca9-a682-d79e8c1b5b29"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 16 Jul 2012 05:42:23 UTC +00:00]]
1014
226
   (0.1ms) RELEASE SAVEPOINT active_record_1
1015
-  (0.0ms) SAVEPOINT active_record_1
227
+  (0.3ms) rollback transaction
228
+  (0.1ms) begin transaction
229
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
230
+  (0.1ms) SELECT COUNT(*) FROM "images"
231
+ Processing by ImagesController#create as HTML
232
+ Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007f92fc97dee8 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/image.png20120715-43658-1efx15q>>}}
233
+  (0.2ms) SAVEPOINT active_record_1
1016
234
  [attached] save attached
1017
-  (0.1ms) RELEASE SAVEPOINT active_record_1
235
+ SQL (1.5ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:42:23 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 16 Jul 2012 05:42:23 UTC +00:00]]
236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
237
+  (0.0ms) SAVEPOINT active_record_1
238
+ [attached] save attached
239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1018
240
  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" 
241
+ Completed 302 Found in 265ms (ActiveRecord: 0.0ms)
242
+  (0.1ms) SELECT COUNT(*) FROM "images"
243
+  (1.9ms) rollback transaction
244
+  (0.1ms) begin transaction
245
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
246
+  (0.1ms) SELECT COUNT(*) FROM "images"
1025
247
  Processing by ImagesController#destroy as HTML
1026
248
  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
249
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
250
+  (0.1ms) SAVEPOINT active_record_1
1029
251
  [attached] destroy attached
1030
- SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
1031
-  (0.0ms) RELEASE SAVEPOINT active_record_1
252
+ SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1032
254
  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]]
255
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
256
+  (0.1ms) SELECT COUNT(*) FROM "images" 
257
+  (0.2ms) rollback transaction
258
+  (0.0ms) begin transaction
259
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1038
260
  Processing by ImagesController#edit as HTML
1039
261
  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]]
262
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
263
+ Rendered images/_form.html.haml (7.5ms)
264
+ Completed 200 OK in 17ms (Views: 14.4ms | ActiveRecord: 0.1ms)
265
+  (0.1ms) rollback transaction
266
+  (0.1ms) begin transaction
267
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1046
268
  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)
269
+ Image Load (0.2ms) SELECT "images".* FROM "images" 
270
+ Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.2ms)
1055
271
   (0.1ms) rollback transaction
1056
272
   (0.0ms) begin transaction
1057
273
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
274
+ Processing by ImagesController#new as HTML
275
+ Rendered images/_form.html.haml (3.8ms)
276
+ Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms)
277
+  (0.1ms) rollback transaction
278
+  (0.1ms) begin transaction
279
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1058
280
  Processing by ImagesController#show as HTML
1059
281
  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]]
282
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
283
+ Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.1ms)
284
+  (0.1ms) rollback transaction
285
+  (0.1ms) begin transaction
286
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1065
287
  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"]]
288
+ Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-16 05:42:22 UTC", "updated_at"=>"2012-07-16 05:42:22 UTC"}, "id"=>"87884898"}
289
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1068
290
  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
291
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
292
+  (0.1ms) rollback transaction
293
+  (0.1ms) begin transaction
1072
294
  Processing by MainController#index as HTML
1073
- Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
1074
-  (0.1ms) rollback transaction
295
+ Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
296
+  (0.1ms) rollback transaction
297
+ Connecting to database specified by database.yml
1075
298
   (0.4ms) begin transaction
1076
299
   (0.0ms) rollback transaction
1077
300
   (0.0ms) begin transaction
1078
301
   (0.1ms) SAVEPOINT active_record_1
1079
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
302
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1080
303
   (0.1ms) rollback transaction
1081
-  (0.1ms) begin transaction
304
+  (0.0ms) begin transaction
1082
305
   (0.0ms) SAVEPOINT active_record_1
1083
306
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1084
307
   (0.0ms) rollback transaction
1085
308
   (0.0ms) begin transaction
1086
-  (0.3ms) SAVEPOINT active_record_1
309
+  (0.1ms) SAVEPOINT active_record_1
1087
310
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1088
311
   (0.0ms) rollback transaction
1089
312
   (0.0ms) begin transaction
@@ -1091,34 +314,34 @@ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
1091
314
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1092
315
   (0.0ms) rollback transaction
1093
316
   (0.0ms) begin transaction
1094
-  (0.1ms) SAVEPOINT active_record_1
317
+  (0.2ms) SAVEPOINT active_record_1
1095
318
   (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
319
+  (0.1ms) rollback transaction
320
+  (0.1ms) begin transaction
321
+  (0.2ms) SAVEPOINT active_record_1
1099
322
  [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]]
323
+ SQL (9.4ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:43:52 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "33203ced-129f-454c-870a-dc87a2809859"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 16 Jul 2012 05:43:52 UTC +00:00]]
1101
324
   (0.1ms) RELEASE SAVEPOINT active_record_1
1102
325
   (0.3ms) rollback transaction
1103
326
   (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)
327
+ Fixture Delete (0.3ms) DELETE FROM "audios"
328
+ 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-07-16 05:43:52', '2012-07-16 05:43:52', 410859157)
1106
329
  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
330
+ 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-07-16 05:43:52', '2012-07-16 05:43:52', 87884898)
331
+  (1.2ms) commit transaction
1109
332
   (0.1ms) begin transaction
1110
333
  Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1111
-  (0.1ms) SELECT COUNT(*) FROM "audios"
334
+  (0.2ms) SELECT COUNT(*) FROM "audios"
1112
335
  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
336
+ Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007fdebab011c0 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/audio.wav20120715-49463-as2kuf>>}}
337
+  (0.4ms) SAVEPOINT active_record_1
1115
338
  [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]]
339
+ SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "2b5e47b9-b441-4c49-a98f-5bf89f19848e"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00]]
1117
340
   (0.1ms) RELEASE SAVEPOINT active_record_1
1118
341
  Redirected to http://test.host/audios/410859158
1119
- Completed 302 Found in 732ms (ActiveRecord: 0.0ms)
342
+ Completed 302 Found in 684ms (ActiveRecord: 0.0ms)
1120
343
   (0.2ms) SELECT COUNT(*) FROM "audios"
1121
-  (0.3ms) rollback transaction
344
+  (0.5ms) rollback transaction
1122
345
   (0.1ms) begin transaction
1123
346
  Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1124
347
   (0.2ms) SELECT COUNT(*) FROM "audios"
@@ -1127,194 +350,195 @@ Processing by AudiosController#destroy as HTML
1127
350
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
1128
351
   (0.1ms) SAVEPOINT active_record_1
1129
352
  [attached] destroy attached
1130
- SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
353
+ SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
1131
354
   (0.1ms) RELEASE SAVEPOINT active_record_1
1132
355
  Redirected to http://test.host/audios
1133
- Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
1134
-  (0.2ms) SELECT COUNT(*) FROM "audios" 
356
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
357
+  (0.1ms) SELECT COUNT(*) FROM "audios" 
1135
358
   (0.4ms) rollback transaction
1136
359
   (0.1ms) begin transaction
1137
360
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1138
361
  Processing by AudiosController#edit as HTML
1139
362
  Parameters: {"id"=>"410859157"}
1140
363
  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)
364
+ Rendered audios/_form.html.haml (5.4ms)
365
+ Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.1ms)
1143
366
   (0.1ms) rollback transaction
1144
367
   (0.0ms) begin transaction
1145
368
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1146
369
  Processing by AudiosController#index as HTML
1147
370
  Audio Load (0.2ms) SELECT "audios".* FROM "audios" 
1148
- Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)
371
+ Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.2ms)
1149
372
   (0.1ms) rollback transaction
1150
373
   (0.0ms) begin transaction
1151
374
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1152
375
  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)
376
+ Rendered audios/_form.html.haml (2.5ms)
377
+ Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
1155
378
   (0.1ms) rollback transaction
1156
-  (0.1ms) begin transaction
379
+  (0.0ms) begin transaction
1157
380
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1158
381
  Processing by AudiosController#show as HTML
1159
382
  Parameters: {"id"=>"410859157"}
1160
383
  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)
384
+ Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)
1162
385
   (0.1ms) rollback transaction
1163
386
   (0.0ms) begin transaction
1164
387
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1165
388
  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"}
389
+ Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-16 05:43:52 UTC", "updated_at"=>"2012-07-16 05:43:52 UTC"}, "id"=>"410859157"}
1167
390
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
1168
391
  WARNING: Can't mass-assign protected attributes: id
1169
392
   (0.1ms) SAVEPOINT active_record_1
1170
393
  [attached] save attached
1171
-  (0.1ms) RELEASE SAVEPOINT active_record_1
394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1172
395
  Redirected to http://test.host/audios/410859157
1173
- Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
396
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
1174
397
   (0.1ms) rollback transaction
1175
398
   (0.1ms) begin transaction
1176
399
   (0.2ms) SAVEPOINT active_record_1
1177
400
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1178
401
   (0.1ms) rollback transaction
1179
-  (0.0ms) begin transaction
1180
-  (0.0ms) SAVEPOINT active_record_1
402
+  (0.1ms) begin transaction
403
+  (0.1ms) SAVEPOINT active_record_1
1181
404
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1182
405
   (0.1ms) rollback transaction
1183
406
   (0.0ms) begin transaction
407
+  (0.3ms) SAVEPOINT active_record_1
408
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
409
+  (0.0ms) rollback transaction
410
+  (0.1ms) begin transaction
1184
411
   (0.2ms) SAVEPOINT active_record_1
1185
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
412
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1186
413
   (0.0ms) rollback transaction
1187
414
   (0.0ms) begin transaction
1188
415
   (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
416
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1194
417
   (0.0ms) rollback transaction
1195
418
   (0.0ms) begin transaction
1196
-  (0.3ms) SAVEPOINT active_record_1
419
+  (0.2ms) SAVEPOINT active_record_1
1197
420
  [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]]
421
+ SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "b8e19d15-db0f-42e7-9372-5f563486928a"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00]]
1199
422
   (0.1ms) RELEASE SAVEPOINT active_record_1
1200
-  (0.4ms) rollback transaction
423
+  (0.3ms) rollback transaction
1201
424
   (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" 
425
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
426
+  (0.1ms) SELECT COUNT(*) FROM "images" 
1204
427
  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
428
+ Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007fdebbcc5a00 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/image.png20120715-49463-10l1in1>>}}
429
+  (0.3ms) SAVEPOINT active_record_1
1207
430
  [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
431
+ SQL (0.6ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "baa48120-b3b9-4d2a-830a-e6ebc4db7802"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00]]
432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1210
433
   (0.0ms) SAVEPOINT active_record_1
1211
434
  [attached] save attached
1212
435
   (0.1ms) RELEASE SAVEPOINT active_record_1
1213
436
  Redirected to http://test.host/images/87884899
1214
- Completed 302 Found in 209ms (ActiveRecord: 0.0ms)
437
+ Completed 302 Found in 274ms (ActiveRecord: 0.0ms)
1215
438
   (0.1ms) SELECT COUNT(*) FROM "images" 
1216
-  (0.5ms) rollback transaction
439
+  (0.6ms) rollback transaction
1217
440
   (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" 
441
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
442
+  (0.1ms) SELECT COUNT(*) FROM "images" 
1220
443
  Processing by ImagesController#destroy as HTML
1221
444
  Parameters: {"id"=>"87884898"}
1222
445
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1223
-  (0.1ms) SAVEPOINT active_record_1
446
+  (0.0ms) SAVEPOINT active_record_1
1224
447
  [attached] destroy attached
1225
- SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
1226
-  (0.1ms) RELEASE SAVEPOINT active_record_1
448
+ SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1227
450
  Redirected to http://test.host/images
1228
- Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
451
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
1229
452
   (0.1ms) SELECT COUNT(*) FROM "images"
1230
-  (0.4ms) rollback transaction
453
+  (0.6ms) rollback transaction
1231
454
   (0.0ms) begin transaction
1232
455
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1233
456
  Processing by ImagesController#edit as HTML
1234
457
  Parameters: {"id"=>"87884898"}
1235
458
  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)
459
+ Rendered images/_form.html.haml (5.3ms)
460
+ Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.1ms)
1238
461
   (0.1ms) rollback transaction
1239
462
   (0.0ms) begin transaction
1240
463
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1241
464
  Processing by ImagesController#index as HTML
1242
465
  Image Load (0.2ms) SELECT "images".* FROM "images"
1243
- Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.2ms)
466
+ Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.2ms)
1244
467
   (0.1ms) rollback transaction
1245
-  (0.1ms) begin transaction
468
+  (0.0ms) begin transaction
1246
469
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1247
470
  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
471
+ Rendered images/_form.html.haml (2.9ms)
472
+ Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)
473
+  (0.2ms) rollback transaction
1251
474
   (0.0ms) begin transaction
1252
- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
475
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1253
476
  Processing by ImagesController#show as HTML
1254
477
  Parameters: {"id"=>"87884898"}
1255
478
  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)
479
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.1ms)
1257
480
   (0.1ms) rollback transaction
1258
481
   (0.0ms) begin transaction
1259
482
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1260
483
  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"}
484
+ Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-16 05:43:52 UTC", "updated_at"=>"2012-07-16 05:43:52 UTC"}, "id"=>"87884898"}
1262
485
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1263
486
  Redirected to http://test.host/images/87884898
1264
- Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
487
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1265
488
   (0.1ms) rollback transaction
1266
489
   (0.1ms) begin transaction
1267
490
  Processing by MainController#index as HTML
1268
- Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
491
+ Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
1269
492
   (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
493
+ Connecting to database specified by database.yml
494
+  (0.4ms) begin transaction
495
+  (0.0ms) rollback transaction
496
+  (0.0ms) begin transaction
497
+  (0.1ms) SAVEPOINT active_record_1
1274
498
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1275
499
   (0.1ms) rollback transaction
1276
500
   (0.1ms) begin transaction
1277
-  (0.0ms) SAVEPOINT active_record_1
501
+  (0.1ms) SAVEPOINT active_record_1
1278
502
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1279
503
   (0.0ms) rollback transaction
1280
504
   (0.0ms) begin transaction
1281
505
   (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
506
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1291
507
   (0.0ms) rollback transaction
1292
-  (0.1ms) begin transaction
508
+  (0.0ms) begin transaction
1293
509
   (0.2ms) SAVEPOINT active_record_1
510
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
511
+  (0.0ms) rollback transaction
512
+  (0.0ms) begin transaction
513
+  (0.3ms) SAVEPOINT active_record_1
514
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
515
+  (0.0ms) rollback transaction
516
+  (0.0ms) begin transaction
517
+  (0.3ms) SAVEPOINT active_record_1
1294
518
  [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]]
519
+ SQL (7.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:44:32 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "c03bdf7c-ce26-4a31-9c23-d947b2986fa7"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 16 Jul 2012 05:44:32 UTC +00:00]]
1296
520
   (0.1ms) RELEASE SAVEPOINT active_record_1
1297
521
   (0.4ms) rollback transaction
1298
522
   (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
523
+ Fixture Delete (0.2ms) DELETE FROM "audios"
524
+ 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-07-16 05:44:32', '2012-07-16 05:44:32', 410859157)
525
+ Fixture Delete (0.1ms) DELETE FROM "images"
526
+ 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-07-16 05:44:32', '2012-07-16 05:44:32', 87884898)
527
+  (0.8ms) commit transaction
1304
528
   (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"
529
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
530
+  (0.1ms) SELECT COUNT(*) FROM "audios"
1307
531
  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
532
+ Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007fad2d31b3e8 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/audio.wav20120715-49754-1ypuumg>>}}
533
+  (0.3ms) SAVEPOINT active_record_1
1310
534
  [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
535
+ SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:44:33 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "151d9dff-7259-41a3-9fc3-988a3099fe22"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 16 Jul 2012 05:44:33 UTC +00:00]]
536
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1313
537
  Redirected to http://test.host/audios/410859158
1314
- Completed 302 Found in 1258ms (ActiveRecord: 0.0ms)
538
+ Completed 302 Found in 710ms (ActiveRecord: 0.0ms)
1315
539
   (0.1ms) SELECT COUNT(*) FROM "audios"
1316
-  (0.5ms) rollback transaction
1317
-  (0.1ms) begin transaction
540
+  (0.6ms) rollback transaction
541
+  (0.0ms) begin transaction
1318
542
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1319
543
   (0.1ms) SELECT COUNT(*) FROM "audios"
1320
544
  Processing by AudiosController#destroy as HTML
@@ -1325,140 +549,140 @@ Processing by AudiosController#destroy as HTML
1325
549
  SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
1326
550
   (0.0ms) RELEASE SAVEPOINT active_record_1
1327
551
  Redirected to http://test.host/audios
1328
- Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
552
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
1329
553
   (0.1ms) SELECT COUNT(*) FROM "audios" 
1330
-  (0.3ms) rollback transaction
1331
-  (0.1ms) begin transaction
554
+  (0.4ms) rollback transaction
555
+  (0.0ms) begin transaction
1332
556
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1333
557
  Processing by AudiosController#edit as HTML
1334
558
  Parameters: {"id"=>"410859157"}
1335
559
  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)
560
+ Rendered audios/_form.html.haml (7.2ms)
561
+ Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.1ms)
1338
562
   (0.1ms) rollback transaction
1339
-  (0.1ms) begin transaction
563
+  (0.0ms) begin transaction
1340
564
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1341
565
  Processing by AudiosController#index as HTML
1342
566
  Audio Load (0.2ms) SELECT "audios".* FROM "audios" 
1343
- Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.2ms)
567
+ Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.2ms)
1344
568
   (0.1ms) rollback transaction
1345
569
   (0.0ms) begin transaction
1346
570
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1347
571
  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)
572
+ Rendered audios/_form.html.haml (2.4ms)
573
+ Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
1350
574
   (0.1ms) rollback transaction
1351
575
   (0.0ms) begin transaction
1352
576
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1353
577
  Processing by AudiosController#show as HTML
1354
578
  Parameters: {"id"=>"410859157"}
1355
579
  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)
580
+ Completed 200 OK in 67ms (Views: 65.0ms | ActiveRecord: 0.1ms)
1357
581
   (0.1ms) rollback transaction
1358
582
   (0.0ms) begin transaction
1359
583
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
1360
584
  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"}
585
+ Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-16 05:44:32 UTC", "updated_at"=>"2012-07-16 05:44:32 UTC"}, "id"=>"410859157"}
1362
586
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
1363
587
  WARNING: Can't mass-assign protected attributes: id
1364
588
   (0.1ms) SAVEPOINT active_record_1
1365
589
  [attached] save attached
1366
-  (0.1ms) RELEASE SAVEPOINT active_record_1
590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1367
591
  Redirected to http://test.host/audios/410859157
1368
- Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
592
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
1369
593
   (0.1ms) rollback transaction
1370
594
   (0.1ms) begin transaction
1371
595
   (0.2ms) SAVEPOINT active_record_1
1372
596
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1373
597
   (0.1ms) rollback transaction
1374
598
   (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
599
+  (0.0ms) SAVEPOINT active_record_1
1380
600
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1381
601
   (0.0ms) rollback transaction
1382
602
   (0.0ms) begin transaction
1383
-  (0.1ms) SAVEPOINT active_record_1
603
+  (0.2ms) SAVEPOINT active_record_1
1384
604
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1385
605
   (0.0ms) rollback transaction
1386
-  (0.0ms) begin transaction
1387
-  (0.1ms) SAVEPOINT active_record_1
606
+  (0.1ms) begin transaction
607
+  (0.3ms) SAVEPOINT active_record_1
1388
608
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1389
609
   (0.0ms) rollback transaction
1390
610
   (0.0ms) begin transaction
1391
-  (0.1ms) SAVEPOINT active_record_1
611
+  (0.3ms) SAVEPOINT active_record_1
612
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
613
+  (0.1ms) rollback transaction
614
+  (0.1ms) begin transaction
615
+  (0.3ms) SAVEPOINT active_record_1
1392
616
  [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]]
617
+ SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:44:34 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "15f09efb-0d03-44b3-a372-5ae156e8898e"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 16 Jul 2012 05:44:34 UTC +00:00]]
1394
618
   (0.1ms) RELEASE SAVEPOINT active_record_1
1395
619
   (0.4ms) rollback transaction
1396
620
   (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" 
621
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
622
+  (0.1ms) SELECT COUNT(*) FROM "images" 
1399
623
  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
624
+ Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007fad2d37eda8 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/image.png20120715-49754-936n1n>>}}
625
+  (0.3ms) SAVEPOINT active_record_1
1402
626
  [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]]
627
+ SQL (0.7ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:44:34 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "84b585ce-9430-4761-8fb1-d94302eb33bd"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 16 Jul 2012 05:44:34 UTC +00:00]]
1404
628
   (0.1ms) RELEASE SAVEPOINT active_record_1
1405
629
   (0.0ms) SAVEPOINT active_record_1
1406
630
  [attached] save attached
1407
631
   (0.1ms) RELEASE SAVEPOINT active_record_1
1408
632
  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
633
+ Completed 302 Found in 241ms (ActiveRecord: 0.0ms)
634
+  (0.1ms) SELECT COUNT(*) FROM "images" 
635
+  (0.4ms) rollback transaction
636
+  (0.0ms) begin transaction
1413
637
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1414
638
   (0.1ms) SELECT COUNT(*) FROM "images" 
1415
639
  Processing by ImagesController#destroy as HTML
1416
640
  Parameters: {"id"=>"87884898"}
1417
641
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1418
-  (0.0ms) SAVEPOINT active_record_1
642
+  (0.1ms) SAVEPOINT active_record_1
1419
643
  [attached] destroy attached
1420
644
  SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
1421
645
   (0.1ms) RELEASE SAVEPOINT active_record_1
1422
646
  Redirected to http://test.host/images
1423
- Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
647
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
1424
648
   (0.1ms) SELECT COUNT(*) FROM "images"
1425
-  (0.5ms) rollback transaction
649
+  (0.4ms) rollback transaction
1426
650
   (0.1ms) begin transaction
1427
651
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1428
652
  Processing by ImagesController#edit as HTML
1429
653
  Parameters: {"id"=>"87884898"}
1430
654
  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)
655
+ Rendered images/_form.html.haml (6.0ms)
656
+ Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.1ms)
1433
657
   (0.1ms) rollback transaction
1434
658
   (0.0ms) begin transaction
1435
- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
659
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1436
660
  Processing by ImagesController#index as HTML
1437
661
  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]]
662
+ Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.2ms)
663
+  (0.2ms) rollback transaction
664
+  (0.0ms) begin transaction
665
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1442
666
  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)
667
+ Rendered images/_form.html.haml (2.5ms)
668
+ Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
1445
669
   (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]]
670
+  (0.0ms) begin transaction
671
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1448
672
  Processing by ImagesController#show as HTML
1449
673
  Parameters: {"id"=>"87884898"}
1450
674
  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)
675
+ Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.1ms)
1452
676
   (0.1ms) rollback transaction
1453
-  (0.1ms) begin transaction
677
+  (0.0ms) begin transaction
1454
678
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
1455
679
  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"}
680
+ Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-16 05:44:32 UTC", "updated_at"=>"2012-07-16 05:44:32 UTC"}, "id"=>"87884898"}
1457
681
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
1458
682
  Redirected to http://test.host/images/87884898
1459
- Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
683
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1460
684
   (0.1ms) rollback transaction
1461
685
   (0.1ms) begin transaction
1462
686
  Processing by MainController#index as HTML
1463
- Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
687
+ Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
1464
688
   (0.1ms) rollback transaction