attached 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (232) hide show
  1. data/Rakefile +23 -0
  2. data/lib/attached/version.rb +1 -1
  3. data/test/attached_test.rb +7 -0
  4. data/test/dummy/Rakefile +7 -0
  5. data/test/dummy/app/assets/javascripts/application.js +3 -0
  6. data/test/dummy/app/assets/javascripts/audios.js +0 -0
  7. data/test/dummy/app/assets/javascripts/images.js +0 -0
  8. data/test/dummy/app/assets/javascripts/main.js +0 -0
  9. data/test/dummy/app/assets/stylesheets/application.css +16 -0
  10. data/test/dummy/app/assets/stylesheets/audios.css +0 -0
  11. data/test/dummy/app/assets/stylesheets/images.css +0 -0
  12. data/test/dummy/app/assets/stylesheets/main.css +0 -0
  13. data/test/dummy/app/controllers/application_controller.rb +3 -0
  14. data/test/dummy/app/controllers/audios_controller.rb +57 -0
  15. data/test/dummy/app/controllers/images_controller.rb +56 -0
  16. data/test/dummy/app/controllers/main_controller.rb +10 -0
  17. data/test/dummy/app/helpers/application_helper.rb +2 -0
  18. data/test/dummy/app/helpers/audios_helper.rb +2 -0
  19. data/test/dummy/app/helpers/images_helper.rb +2 -0
  20. data/test/dummy/app/helpers/main_helper.rb +2 -0
  21. data/test/dummy/app/models/audio.rb +14 -0
  22. data/test/dummy/app/models/image.rb +15 -0
  23. data/test/dummy/app/views/audios/_form.html.erb +27 -0
  24. data/test/dummy/app/views/audios/edit.html.erb +3 -0
  25. data/test/dummy/app/views/audios/index.html.erb +17 -0
  26. data/test/dummy/app/views/audios/new.html.erb +3 -0
  27. data/test/dummy/app/views/audios/show.html.erb +17 -0
  28. data/test/dummy/app/views/images/_form.html.erb +27 -0
  29. data/test/dummy/app/views/images/edit.html.erb +3 -0
  30. data/test/dummy/app/views/images/index.html.erb +17 -0
  31. data/test/dummy/app/views/images/new.html.erb +3 -0
  32. data/test/dummy/app/views/images/show.html.erb +18 -0
  33. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  34. data/test/dummy/app/views/main/index.html.erb +6 -0
  35. data/test/dummy/config.ru +4 -0
  36. data/test/dummy/config/application.rb +45 -0
  37. data/test/dummy/config/aws.yml +14 -0
  38. data/test/dummy/config/aws.yml.sample +14 -0
  39. data/test/dummy/config/boot.rb +10 -0
  40. data/test/dummy/config/database.yml +17 -0
  41. data/test/dummy/config/environment.rb +5 -0
  42. data/test/dummy/config/environments/development.rb +30 -0
  43. data/test/dummy/config/environments/production.rb +60 -0
  44. data/test/dummy/config/environments/test.rb +39 -0
  45. data/test/dummy/config/google.yml +14 -0
  46. data/test/dummy/config/google.yml.sample +14 -0
  47. data/test/dummy/config/initializers/attached.rb +4 -0
  48. data/test/dummy/config/initializers/other.rb +2 -0
  49. data/test/dummy/config/locales/en.yml +1 -0
  50. data/test/dummy/config/rackspace.yml +14 -0
  51. data/test/dummy/config/rackspace.yml.sample +14 -0
  52. data/test/dummy/config/routes.rb +8 -0
  53. data/test/dummy/db/development.sqlite3 +0 -0
  54. data/test/dummy/db/migrate/20101223191836_create_audios.rb +10 -0
  55. data/test/dummy/db/migrate/20101223191846_create_images.rb +10 -0
  56. data/test/dummy/db/schema.rb +34 -0
  57. data/test/dummy/db/seeds.rb +0 -0
  58. data/test/dummy/db/test.sqlite3 +0 -0
  59. data/test/dummy/log/development.log +593 -0
  60. data/test/dummy/log/test.log +274 -0
  61. data/test/dummy/public/favicon.ico +0 -0
  62. data/test/dummy/public/stylesheets/style.css +11 -0
  63. data/test/dummy/public/system/audios/files/full/17dc7038-52dc-4a06-87c9-a18d16f853b9.aac +0 -0
  64. data/test/dummy/public/system/audios/files/full/226fe84f-54ff-47b8-8f8f-5bc5c966c948.aac +0 -0
  65. data/test/dummy/public/system/audios/files/full/3329b2e4-83d7-43e1-9006-a3e74ae5041d.aac +0 -0
  66. data/test/dummy/public/system/audios/files/full/49bedde0-54ba-4090-89ee-1f7ae0ac5751.aac +0 -0
  67. data/test/dummy/public/system/audios/files/full/4a7209d2-07c1-4681-9648-4b4c7351ad23.aac +0 -0
  68. data/test/dummy/public/system/audios/files/full/6fecf709-77b7-4813-b66f-71ff8345b1d7.aac +0 -0
  69. data/test/dummy/public/system/audios/files/full/7fae925c-b21c-4f62-bb3e-48b584802b2c.aac +0 -0
  70. data/test/dummy/public/system/audios/files/full/a5e09375-fe8d-4231-a4a0-7042c176124a.aac +0 -0
  71. data/test/dummy/public/system/audios/files/full/a9300bd7-74f2-431f-8fe1-08f296faae70.aac +0 -0
  72. data/test/dummy/public/system/audios/files/full/c056b608-3c2b-43c2-a883-fd125d209d54.aac +0 -0
  73. data/test/dummy/public/system/audios/files/full/cc491ac1-b41a-4a0f-a1bd-232f3fd04ad9.aac +0 -0
  74. data/test/dummy/public/system/audios/files/full/e7832cfe-91c1-4f09-a820-763204988b85.aac +0 -0
  75. data/test/dummy/public/system/audios/files/full/ec236266-a550-4706-9755-9a12db3024f4.aac +0 -0
  76. data/test/dummy/public/system/audios/files/full/f347b3a9-5c36-4b72-a23d-1d702ec592c7.aac +0 -0
  77. data/test/dummy/public/system/audios/files/large/17dc7038-52dc-4a06-87c9-a18d16f853b9.aac +0 -0
  78. data/test/dummy/public/system/audios/files/large/226fe84f-54ff-47b8-8f8f-5bc5c966c948.aac +0 -0
  79. data/test/dummy/public/system/audios/files/large/3329b2e4-83d7-43e1-9006-a3e74ae5041d.aac +0 -0
  80. data/test/dummy/public/system/audios/files/large/49bedde0-54ba-4090-89ee-1f7ae0ac5751.aac +0 -0
  81. data/test/dummy/public/system/audios/files/large/4a7209d2-07c1-4681-9648-4b4c7351ad23.aac +0 -0
  82. data/test/dummy/public/system/audios/files/large/6fecf709-77b7-4813-b66f-71ff8345b1d7.aac +0 -0
  83. data/test/dummy/public/system/audios/files/large/7fae925c-b21c-4f62-bb3e-48b584802b2c.aac +0 -0
  84. data/test/dummy/public/system/audios/files/large/a5e09375-fe8d-4231-a4a0-7042c176124a.aac +0 -0
  85. data/test/dummy/public/system/audios/files/large/a9300bd7-74f2-431f-8fe1-08f296faae70.aac +0 -0
  86. data/test/dummy/public/system/audios/files/large/c056b608-3c2b-43c2-a883-fd125d209d54.aac +0 -0
  87. data/test/dummy/public/system/audios/files/large/cc491ac1-b41a-4a0f-a1bd-232f3fd04ad9.aac +0 -0
  88. data/test/dummy/public/system/audios/files/large/e7832cfe-91c1-4f09-a820-763204988b85.aac +0 -0
  89. data/test/dummy/public/system/audios/files/large/ec236266-a550-4706-9755-9a12db3024f4.aac +0 -0
  90. data/test/dummy/public/system/audios/files/large/f347b3a9-5c36-4b72-a23d-1d702ec592c7.aac +0 -0
  91. data/test/dummy/public/system/audios/files/original/17dc7038-52dc-4a06-87c9-a18d16f853b9.wav +0 -0
  92. data/test/dummy/public/system/audios/files/original/226fe84f-54ff-47b8-8f8f-5bc5c966c948.wav +0 -0
  93. data/test/dummy/public/system/audios/files/original/3329b2e4-83d7-43e1-9006-a3e74ae5041d.wav +0 -0
  94. data/test/dummy/public/system/audios/files/original/49bedde0-54ba-4090-89ee-1f7ae0ac5751.wav +0 -0
  95. data/test/dummy/public/system/audios/files/original/4a7209d2-07c1-4681-9648-4b4c7351ad23.wav +0 -0
  96. data/test/dummy/public/system/audios/files/original/6fecf709-77b7-4813-b66f-71ff8345b1d7.wav +0 -0
  97. data/test/dummy/public/system/audios/files/original/7fae925c-b21c-4f62-bb3e-48b584802b2c.wav +0 -0
  98. data/test/dummy/public/system/audios/files/original/a5e09375-fe8d-4231-a4a0-7042c176124a.wav +0 -0
  99. data/test/dummy/public/system/audios/files/original/a9300bd7-74f2-431f-8fe1-08f296faae70.wav +0 -0
  100. data/test/dummy/public/system/audios/files/original/c056b608-3c2b-43c2-a883-fd125d209d54.wav +0 -0
  101. data/test/dummy/public/system/audios/files/original/cc491ac1-b41a-4a0f-a1bd-232f3fd04ad9.wav +0 -0
  102. data/test/dummy/public/system/audios/files/original/e7832cfe-91c1-4f09-a820-763204988b85.wav +0 -0
  103. data/test/dummy/public/system/audios/files/original/ec236266-a550-4706-9755-9a12db3024f4.wav +0 -0
  104. data/test/dummy/public/system/audios/files/original/f347b3a9-5c36-4b72-a23d-1d702ec592c7.wav +0 -0
  105. data/test/dummy/public/system/audios/files/small/17dc7038-52dc-4a06-87c9-a18d16f853b9.aac +0 -0
  106. data/test/dummy/public/system/audios/files/small/226fe84f-54ff-47b8-8f8f-5bc5c966c948.aac +0 -0
  107. data/test/dummy/public/system/audios/files/small/3329b2e4-83d7-43e1-9006-a3e74ae5041d.aac +0 -0
  108. data/test/dummy/public/system/audios/files/small/49bedde0-54ba-4090-89ee-1f7ae0ac5751.aac +0 -0
  109. data/test/dummy/public/system/audios/files/small/4a7209d2-07c1-4681-9648-4b4c7351ad23.aac +0 -0
  110. data/test/dummy/public/system/audios/files/small/6fecf709-77b7-4813-b66f-71ff8345b1d7.aac +0 -0
  111. data/test/dummy/public/system/audios/files/small/7fae925c-b21c-4f62-bb3e-48b584802b2c.aac +0 -0
  112. data/test/dummy/public/system/audios/files/small/a5e09375-fe8d-4231-a4a0-7042c176124a.aac +0 -0
  113. data/test/dummy/public/system/audios/files/small/a9300bd7-74f2-431f-8fe1-08f296faae70.aac +0 -0
  114. data/test/dummy/public/system/audios/files/small/c056b608-3c2b-43c2-a883-fd125d209d54.aac +0 -0
  115. data/test/dummy/public/system/audios/files/small/cc491ac1-b41a-4a0f-a1bd-232f3fd04ad9.aac +0 -0
  116. data/test/dummy/public/system/audios/files/small/e7832cfe-91c1-4f09-a820-763204988b85.aac +0 -0
  117. data/test/dummy/public/system/audios/files/small/ec236266-a550-4706-9755-9a12db3024f4.aac +0 -0
  118. data/test/dummy/public/system/audios/files/small/f347b3a9-5c36-4b72-a23d-1d702ec592c7.aac +0 -0
  119. data/test/dummy/public/system/images/files/full/0398e378-0f37-4963-8d97-07faa1ffb8d0.jpg +0 -0
  120. data/test/dummy/public/system/images/files/full/0deff38e-da37-4b4b-a2e8-134c9ff6eec1.jpg +0 -0
  121. data/test/dummy/public/system/images/files/full/3192b7ef-cf69-4d72-9ee0-e92a9e87894f.jpg +0 -0
  122. data/test/dummy/public/system/images/files/full/623b4f97-a2ee-4f7a-8303-37781145b3af.jpg +0 -0
  123. data/test/dummy/public/system/images/files/full/77106ad8-1f7c-42de-b7ff-3c5526d1ceec.jpg +0 -0
  124. data/test/dummy/public/system/images/files/full/81e9e58a-9d67-4df4-877e-8559be8a0016.jpg +0 -0
  125. data/test/dummy/public/system/images/files/full/9f819af2-f4cc-469f-880c-77e9ae92524c.jpg +0 -0
  126. data/test/dummy/public/system/images/files/full/a942bfae-a9be-48c4-8853-ff69cee18e7a.jpg +0 -0
  127. data/test/dummy/public/system/images/files/full/b77e8578-ea4d-425e-9568-8712f868f07d.jpg +0 -0
  128. data/test/dummy/public/system/images/files/full/bed96328-572e-4dcd-af28-183d1a341f2f.jpg +0 -0
  129. data/test/dummy/public/system/images/files/full/d335b408-a3a4-41c8-aae9-e1b8c33ad2a7.jpg +0 -0
  130. data/test/dummy/public/system/images/files/full/de242f89-0b1b-4b99-a3a0-7ff815c88ca3.jpg +0 -0
  131. data/test/dummy/public/system/images/files/full/f363bd79-106d-4e91-bfdb-f9aa2d040533.jpg +0 -0
  132. data/test/dummy/public/system/images/files/full/f94561f8-0dd5-45cd-9ec8-f739fcedca83.jpg +0 -0
  133. data/test/dummy/public/system/images/files/large/0398e378-0f37-4963-8d97-07faa1ffb8d0.jpg +0 -0
  134. data/test/dummy/public/system/images/files/large/0deff38e-da37-4b4b-a2e8-134c9ff6eec1.jpg +0 -0
  135. data/test/dummy/public/system/images/files/large/3192b7ef-cf69-4d72-9ee0-e92a9e87894f.jpg +0 -0
  136. data/test/dummy/public/system/images/files/large/623b4f97-a2ee-4f7a-8303-37781145b3af.jpg +0 -0
  137. data/test/dummy/public/system/images/files/large/77106ad8-1f7c-42de-b7ff-3c5526d1ceec.jpg +0 -0
  138. data/test/dummy/public/system/images/files/large/81e9e58a-9d67-4df4-877e-8559be8a0016.jpg +0 -0
  139. data/test/dummy/public/system/images/files/large/9f819af2-f4cc-469f-880c-77e9ae92524c.jpg +0 -0
  140. data/test/dummy/public/system/images/files/large/a942bfae-a9be-48c4-8853-ff69cee18e7a.jpg +0 -0
  141. data/test/dummy/public/system/images/files/large/b77e8578-ea4d-425e-9568-8712f868f07d.jpg +0 -0
  142. data/test/dummy/public/system/images/files/large/bed96328-572e-4dcd-af28-183d1a341f2f.jpg +0 -0
  143. data/test/dummy/public/system/images/files/large/d335b408-a3a4-41c8-aae9-e1b8c33ad2a7.jpg +0 -0
  144. data/test/dummy/public/system/images/files/large/de242f89-0b1b-4b99-a3a0-7ff815c88ca3.jpg +0 -0
  145. data/test/dummy/public/system/images/files/large/f363bd79-106d-4e91-bfdb-f9aa2d040533.jpg +0 -0
  146. data/test/dummy/public/system/images/files/large/f94561f8-0dd5-45cd-9ec8-f739fcedca83.jpg +0 -0
  147. data/test/dummy/public/system/images/files/original/0398e378-0f37-4963-8d97-07faa1ffb8d0.png +0 -0
  148. data/test/dummy/public/system/images/files/original/0deff38e-da37-4b4b-a2e8-134c9ff6eec1.png +0 -0
  149. data/test/dummy/public/system/images/files/original/3192b7ef-cf69-4d72-9ee0-e92a9e87894f.png +0 -0
  150. data/test/dummy/public/system/images/files/original/623b4f97-a2ee-4f7a-8303-37781145b3af.png +0 -0
  151. data/test/dummy/public/system/images/files/original/77106ad8-1f7c-42de-b7ff-3c5526d1ceec.png +0 -0
  152. data/test/dummy/public/system/images/files/original/81e9e58a-9d67-4df4-877e-8559be8a0016.png +0 -0
  153. data/test/dummy/public/system/images/files/original/9f819af2-f4cc-469f-880c-77e9ae92524c.png +0 -0
  154. data/test/dummy/public/system/images/files/original/a942bfae-a9be-48c4-8853-ff69cee18e7a.png +0 -0
  155. data/test/dummy/public/system/images/files/original/b77e8578-ea4d-425e-9568-8712f868f07d.png +0 -0
  156. data/test/dummy/public/system/images/files/original/bed96328-572e-4dcd-af28-183d1a341f2f.png +0 -0
  157. data/test/dummy/public/system/images/files/original/d335b408-a3a4-41c8-aae9-e1b8c33ad2a7.png +0 -0
  158. data/test/dummy/public/system/images/files/original/de242f89-0b1b-4b99-a3a0-7ff815c88ca3.png +0 -0
  159. data/test/dummy/public/system/images/files/original/f363bd79-106d-4e91-bfdb-f9aa2d040533.png +0 -0
  160. data/test/dummy/public/system/images/files/original/f94561f8-0dd5-45cd-9ec8-f739fcedca83.png +0 -0
  161. data/test/dummy/public/system/images/files/small/0398e378-0f37-4963-8d97-07faa1ffb8d0.jpg +0 -0
  162. data/test/dummy/public/system/images/files/small/0deff38e-da37-4b4b-a2e8-134c9ff6eec1.jpg +0 -0
  163. data/test/dummy/public/system/images/files/small/3192b7ef-cf69-4d72-9ee0-e92a9e87894f.jpg +0 -0
  164. data/test/dummy/public/system/images/files/small/623b4f97-a2ee-4f7a-8303-37781145b3af.jpg +0 -0
  165. data/test/dummy/public/system/images/files/small/77106ad8-1f7c-42de-b7ff-3c5526d1ceec.jpg +0 -0
  166. data/test/dummy/public/system/images/files/small/81e9e58a-9d67-4df4-877e-8559be8a0016.jpg +0 -0
  167. data/test/dummy/public/system/images/files/small/9f819af2-f4cc-469f-880c-77e9ae92524c.jpg +0 -0
  168. data/test/dummy/public/system/images/files/small/a942bfae-a9be-48c4-8853-ff69cee18e7a.jpg +0 -0
  169. data/test/dummy/public/system/images/files/small/b77e8578-ea4d-425e-9568-8712f868f07d.jpg +0 -0
  170. data/test/dummy/public/system/images/files/small/bed96328-572e-4dcd-af28-183d1a341f2f.jpg +0 -0
  171. data/test/dummy/public/system/images/files/small/d335b408-a3a4-41c8-aae9-e1b8c33ad2a7.jpg +0 -0
  172. data/test/dummy/public/system/images/files/small/de242f89-0b1b-4b99-a3a0-7ff815c88ca3.jpg +0 -0
  173. data/test/dummy/public/system/images/files/small/f363bd79-106d-4e91-bfdb-f9aa2d040533.jpg +0 -0
  174. data/test/dummy/public/system/images/files/small/f94561f8-0dd5-45cd-9ec8-f739fcedca83.jpg +0 -0
  175. data/test/dummy/public/system/images/files/thumb/0398e378-0f37-4963-8d97-07faa1ffb8d0.jpg +0 -0
  176. data/test/dummy/public/system/images/files/thumb/0deff38e-da37-4b4b-a2e8-134c9ff6eec1.jpg +0 -0
  177. data/test/dummy/public/system/images/files/thumb/3192b7ef-cf69-4d72-9ee0-e92a9e87894f.jpg +0 -0
  178. data/test/dummy/public/system/images/files/thumb/623b4f97-a2ee-4f7a-8303-37781145b3af.jpg +0 -0
  179. data/test/dummy/public/system/images/files/thumb/77106ad8-1f7c-42de-b7ff-3c5526d1ceec.jpg +0 -0
  180. data/test/dummy/public/system/images/files/thumb/81e9e58a-9d67-4df4-877e-8559be8a0016.jpg +0 -0
  181. data/test/dummy/public/system/images/files/thumb/9f819af2-f4cc-469f-880c-77e9ae92524c.jpg +0 -0
  182. data/test/dummy/public/system/images/files/thumb/a942bfae-a9be-48c4-8853-ff69cee18e7a.jpg +0 -0
  183. data/test/dummy/public/system/images/files/thumb/b77e8578-ea4d-425e-9568-8712f868f07d.jpg +0 -0
  184. data/test/dummy/public/system/images/files/thumb/bed96328-572e-4dcd-af28-183d1a341f2f.jpg +0 -0
  185. data/test/dummy/public/system/images/files/thumb/d335b408-a3a4-41c8-aae9-e1b8c33ad2a7.jpg +0 -0
  186. data/test/dummy/public/system/images/files/thumb/de242f89-0b1b-4b99-a3a0-7ff815c88ca3.jpg +0 -0
  187. data/test/dummy/public/system/images/files/thumb/f363bd79-106d-4e91-bfdb-f9aa2d040533.jpg +0 -0
  188. data/test/dummy/public/system/images/files/thumb/f94561f8-0dd5-45cd-9ec8-f739fcedca83.jpg +0 -0
  189. data/test/dummy/script/rails +6 -0
  190. data/test/dummy/test/fixtures/audios.yml +5 -0
  191. data/test/dummy/test/fixtures/audios/audio.wav +0 -0
  192. data/test/dummy/test/fixtures/audios/invalid.wav +0 -0
  193. data/test/dummy/test/fixtures/audios/large.wav +0 -0
  194. data/test/dummy/test/fixtures/audios/small.wav +0 -0
  195. data/test/dummy/test/fixtures/audios/undefined.zip +0 -0
  196. data/test/dummy/test/fixtures/images.yml +5 -0
  197. data/test/dummy/test/fixtures/images/image.png +0 -0
  198. data/test/dummy/test/fixtures/images/invalid.png +0 -0
  199. data/test/dummy/test/fixtures/images/large.png +0 -0
  200. data/test/dummy/test/fixtures/images/small.png +0 -0
  201. data/test/dummy/test/fixtures/images/undefined.zip +0 -0
  202. data/test/dummy/test/functional/audios_controller_test.rb +53 -0
  203. data/test/dummy/test/functional/images_controller_test.rb +53 -0
  204. data/test/dummy/test/functional/main_controller_test.rb +10 -0
  205. data/test/dummy/test/unit/audio_test.rb +57 -0
  206. data/test/dummy/test/unit/helpers/audios_helper_test.rb +4 -0
  207. data/test/dummy/test/unit/helpers/images_helper_test.rb +4 -0
  208. data/test/dummy/test/unit/helpers/main_helper_test.rb +4 -0
  209. data/test/dummy/test/unit/image_test.rb +57 -0
  210. data/test/dummy/tmp/cache/assets/BAB/A00/sprockets%2F347f335128024408181207cbc0461526 +0 -0
  211. data/test/dummy/tmp/cache/assets/C77/F30/sprockets%2F021780432569bfa6c8135d5d4111f2e8 +0 -0
  212. data/test/dummy/tmp/cache/assets/CAC/690/sprockets%2F20731254590065ab425f737b9e2bf9fa +0 -0
  213. data/test/dummy/tmp/cache/assets/D02/3F0/sprockets%2Fd44d45a0620ff596f72b107a5a95a1b2 +0 -0
  214. data/test/dummy/tmp/cache/assets/D06/B40/sprockets%2F25fca4643219052b0d5c66cf2c71f72f +0 -0
  215. data/test/dummy/tmp/cache/assets/D11/430/sprockets%2F25ea8d6063b1eb98361b1196f2fce807 +0 -0
  216. data/test/dummy/tmp/cache/assets/D24/5A0/sprockets%2F3a89b583dd80975d1e0968e730de5bc9 +0 -0
  217. data/test/dummy/tmp/cache/assets/D2D/490/sprockets%2F52514897c01dab621a0d9892aafb1ea2 +0 -0
  218. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  219. data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
  220. data/test/dummy/tmp/cache/assets/D64/230/sprockets%2F7cf200c925cfe75d60cb8f04280ac52c +0 -0
  221. data/test/dummy/tmp/cache/assets/D76/040/sprockets%2Fa9ced37f816b91e0f46c9c5e222149eb +0 -0
  222. data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
  223. data/test/dummy/tmp/cache/assets/DA5/7E0/sprockets%2F87a5f378354ce6e80dda84ab1cfd06f3 +0 -0
  224. data/test/dummy/tmp/cache/assets/DA7/530/sprockets%2Fe36b8fcf5914a3a6bf058abfe7367b19 +0 -0
  225. data/test/dummy/tmp/cache/assets/DA9/950/sprockets%2Ff7bd0c153686b3ff51dd8b94aac8b948 +0 -0
  226. data/test/dummy/tmp/cache/assets/DD6/4E0/sprockets%2Fbb9c4c73eea29c0284c46299a9d9ccac +0 -0
  227. data/test/dummy/tmp/cache/assets/DE9/090/sprockets%2F6dfa7c7f1179d5dd3c8d75ef6952cfa9 +0 -0
  228. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  229. data/test/dummy/tmp/cache/assets/E34/0E0/sprockets%2F0fefcc68a94a693fb476eefa0b7eb2e1 +0 -0
  230. data/test/test_helper.rb +8 -0
  231. metadata +481 -9
  232. data/Gemfile +0 -3
@@ -0,0 +1,6 @@
1
+ <h1>Attached</h1>
2
+
3
+ <ul>
4
+ <li><%= link_to 'Audios', audios_path %></li>
5
+ <li><%= link_to 'Images', images_path %></li>
6
+ </ul>
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
@@ -0,0 +1,45 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+
3
+ require 'rails/all'
4
+
5
+ Bundler.require
6
+ require "attached"
7
+
8
+ module Dummy
9
+ class Application < Rails::Application
10
+ # Settings in config/environments/* take precedence over those specified here.
11
+ # Application configuration should go into files in config/initializers
12
+ # -- all .rb files in that directory are automatically loaded.
13
+
14
+ # Custom directories with classes and modules you want to be autoloadable.
15
+ # config.autoload_paths += %W(#{config.root}/extras)
16
+
17
+ # Only load the plugins named here, in the order given (default is alphabetical).
18
+ # :all can be used as a placeholder for all plugins not explicitly named.
19
+ # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
20
+
21
+ # Activate observers that should always be running.
22
+ # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
23
+
24
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
25
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
26
+ # config.time_zone = 'Central Time (US & Canada)'
27
+
28
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
29
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
30
+ # config.i18n.default_locale = :de
31
+
32
+ # Configure the default encoding used in templates for Ruby 1.9.
33
+ config.encoding = "utf-8"
34
+
35
+ # Configure sensitive parameters which will be filtered from the log file.
36
+ config.filter_parameters += [:password]
37
+
38
+ # Enable the asset pipeline
39
+ config.assets.enabled = true
40
+
41
+ # Version of your assets, change this if you want to expire all your assets
42
+ config.assets.version = '1.0'
43
+ end
44
+ end
45
+
@@ -0,0 +1,14 @@
1
+ development:
2
+ bucket: attached-development
3
+ access_key_id: AKIAICP2EOJXBRZN4CKA
4
+ secret_access_key: emjS8OqkBHUtjCpAp7Ox927uyDAhYoa09wCLLQYP
5
+
6
+ test:
7
+ bucket: attached-test
8
+ access_key_id: AKIAICP2EOJXBRZN4CKA
9
+ secret_access_key: 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
10
+
11
+ production:
12
+ bucket: attached-production
13
+ access_key_id: AKIAICP2EOJXBRZN4CKA
14
+ secret_access_key: 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
@@ -0,0 +1,14 @@
1
+ development:
2
+ bucket: attached-development
3
+ access_key_id:
4
+ secret_access_key:
5
+
6
+ test:
7
+ bucket: attached-test
8
+ access_key_id:
9
+ secret_access_key:
10
+
11
+ production:
12
+ bucket: attached-production
13
+ access_key_id:
14
+ secret_access_key:
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ if File.exist?(gemfile)
5
+ ENV['BUNDLE_GEMFILE'] = gemfile
6
+ require 'bundler'
7
+ Bundler.setup
8
+ end
9
+
10
+ $:.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,17 @@
1
+ development:
2
+ adapter: sqlite3
3
+ database: db/development.sqlite3
4
+ pool: 5
5
+ timeout: 5000
6
+
7
+ test:
8
+ adapter: sqlite3
9
+ database: db/test.sqlite3
10
+ pool: 5
11
+ timeout: 5000
12
+
13
+ production:
14
+ adapter: sqlite3
15
+ database: db/production.sqlite3
16
+ pool: 5
17
+ timeout: 5000
@@ -0,0 +1,5 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ Dummy::Application.initialize!
@@ -0,0 +1,30 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger
20
+ config.active_support.deprecation = :log
21
+
22
+ # Only use best-standards-support built into browsers
23
+ config.action_dispatch.best_standards_support = :builtin
24
+
25
+ # Do not compress assets
26
+ config.assets.compress = false
27
+
28
+ # Expands the lines which load the assets
29
+ config.assets.debug = true
30
+ end
@@ -0,0 +1,60 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+
11
+ # Disable Rails's static asset server (Apache or nginx will already do this)
12
+ config.serve_static_assets = false
13
+
14
+ # Compress JavaScripts and CSS
15
+ config.assets.compress = true
16
+
17
+ # Don't fallback to assets pipeline if a precompiled asset is missed
18
+ config.assets.compile = false
19
+
20
+ # Generate digests for assets URLs
21
+ config.assets.digest = true
22
+
23
+ # Defaults to Rails.root.join("public/assets")
24
+ # config.assets.manifest = YOUR_PATH
25
+
26
+ # Specifies the header that your server uses for sending files
27
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
+
30
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
+ # config.force_ssl = true
32
+
33
+ # See everything in the log (default is :info)
34
+ # config.log_level = :debug
35
+
36
+ # Use a different logger for distributed setups
37
+ # config.logger = SyslogLogger.new
38
+
39
+ # Use a different cache store in production
40
+ # config.cache_store = :mem_cache_store
41
+
42
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
43
+ # config.action_controller.asset_host = "http://assets.example.com"
44
+
45
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
46
+ # config.assets.precompile += %w( search.js )
47
+
48
+ # Disable delivery errors, bad email addresses will be ignored
49
+ # config.action_mailer.raise_delivery_errors = false
50
+
51
+ # Enable threaded mode
52
+ # config.threadsafe!
53
+
54
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
55
+ # the I18n.default_locale when a translation can not be found)
56
+ config.i18n.fallbacks = true
57
+
58
+ # Send deprecation notices to registered listeners
59
+ config.active_support.deprecation = :notify
60
+ end
@@ -0,0 +1,39 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
15
+ config.whiny_nils = true
16
+
17
+ # Show full error reports and disable caching
18
+ config.consider_all_requests_local = true
19
+ config.action_controller.perform_caching = false
20
+
21
+ # Raise exceptions instead of rendering exception templates
22
+ config.action_dispatch.show_exceptions = false
23
+
24
+ # Disable request forgery protection in test environment
25
+ config.action_controller.allow_forgery_protection = false
26
+
27
+ # Tell Action Mailer not to deliver emails to the real world.
28
+ # The :test delivery method accumulates sent emails in the
29
+ # ActionMailer::Base.deliveries array.
30
+ config.action_mailer.delivery_method = :test
31
+
32
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
33
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
34
+ # like if you have constraints or database-specific column types
35
+ # config.active_record.schema_format = :sql
36
+
37
+ # Print deprecation notices to the stderr
38
+ config.active_support.deprecation = :stderr
39
+ end
@@ -0,0 +1,14 @@
1
+ development:
2
+ bucket: attached-development
3
+ access_key_id: GOOG4VOHPJBHDVM4ADP5
4
+ secret_access_key: 4VExuRRJYOJY0kjL78COewqlW9jevhTyZqjq36I3
5
+
6
+ test:
7
+ bucket: attached-test
8
+ access_key_id: GOOG4VOHPJBHDVM4ADP5
9
+ secret_access_key: 4VExuRRJYOJY0kjL78COewqlW9jevhTyZqjq36I3
10
+
11
+ production:
12
+ bucket: attached-production
13
+ access_key_id: GOOG4VOHPJBHDVM4ADP5
14
+ secret_access_key: 4VExuRRJYOJY0kjL78COewqlW9jevhTyZqjq36I3
@@ -0,0 +1,14 @@
1
+ development:
2
+ bucket: attached-development
3
+ access_key_id:
4
+ secret_access_key:
5
+
6
+ test:
7
+ bucket: attached-test
8
+ access_key_id:
9
+ secret_access_key:
10
+
11
+ production:
12
+ bucket: attached-production
13
+ access_key_id:
14
+ secret_access_key:
@@ -0,0 +1,4 @@
1
+ environment = ENV['ATTACHED']
2
+
3
+ Attached::Attachment.options[:medium] = environment.intern if environment
4
+ Attached::Attachment.options[:credentials] = "#{Rails.root}/config/#{environment}.yml" if environment
@@ -0,0 +1,2 @@
1
+ Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
2
+ Dummy::Application.config.secret_token = '1e5317cd7c88dbca519161b32cecf866cf369a3e9045d2a4b64eb963be92729ceeb4fee4084f4035e290e8abcc81bfebc09b5d4121a717f9382006c255154df3'
@@ -0,0 +1 @@
1
+ en: {}
@@ -0,0 +1,14 @@
1
+ development:
2
+ container: attached-development
3
+ username: kevinsylvestre
4
+ api_key: 726ff709e917344312bd7b085ec0b62c
5
+
6
+ test:
7
+ container: attached-test
8
+ username: kevinsylvestre
9
+ api_key: 726ff709e917344312bd7b085ec0b62c
10
+
11
+ production:
12
+ container: attached-production
13
+ username: kevinsylvestre
14
+ api_key: 726ff709e917344312bd7b085ec0b62c
@@ -0,0 +1,14 @@
1
+ development:
2
+ container: attached-development
3
+ username:
4
+ api_key:
5
+
6
+ test:
7
+ container: attached-test
8
+ username:
9
+ api_key:
10
+
11
+ production:
12
+ container: attached-production
13
+ username:
14
+ api_key:
@@ -0,0 +1,8 @@
1
+ Dummy::Application.routes.draw do
2
+
3
+ root :to => "main#index"
4
+
5
+ resources :images
6
+ resources :audios
7
+
8
+ end
Binary file
@@ -0,0 +1,10 @@
1
+ class CreateAudios < ActiveRecord::Migration
2
+ def change
3
+ create_table :audios do |t|
4
+ t.string :name
5
+ t.attachment :file
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ class CreateImages < ActiveRecord::Migration
2
+ def change
3
+ create_table :images do |t|
4
+ t.string :name
5
+ t.attachment :file
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,34 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20101223191846) do
15
+
16
+ create_table "audios", :force => true do |t|
17
+ t.string "name"
18
+ t.string "file_identifier"
19
+ t.string "file_extension"
20
+ t.integer "file_size"
21
+ t.datetime "created_at"
22
+ t.datetime "updated_at"
23
+ end
24
+
25
+ create_table "images", :force => true do |t|
26
+ t.string "name"
27
+ t.string "file_identifier"
28
+ t.string "file_extension"
29
+ t.integer "file_size"
30
+ t.datetime "created_at"
31
+ t.datetime "updated_at"
32
+ end
33
+
34
+ end
File without changes
Binary file
@@ -0,0 +1,593 @@
1
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2
+ Migrating to CreateAudios (20101223191836)
3
+ Migrating to CreateImages (20101223191846)
4
+  (0.2ms) select sqlite_version(*)
5
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
+  (0.0ms) PRAGMA index_list("audios")
7
+  (0.0ms) PRAGMA index_list("images")
8
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
9
+  (0.3ms) select sqlite_version(*)
10
+  (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)
11
+  (1.1ms) 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) 
12
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
13
+  (0.0ms) PRAGMA index_list("schema_migrations")
14
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
15
+  (0.1ms) SELECT version FROM "schema_migrations"
16
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191846')
17
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191836')
18
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
19
+ Migrating to CreateAudios (20101223191836)
20
+ Migrating to CreateImages (20101223191846)
21
+  (0.2ms) select sqlite_version(*)
22
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
23
+  (0.0ms) PRAGMA index_list("audios")
24
+  (0.0ms) PRAGMA index_list("images")
25
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
26
+  (0.3ms) select sqlite_version(*)
27
+  (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)
28
+  (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) 
29
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
30
+  (0.0ms) PRAGMA index_list("schema_migrations")
31
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
32
+  (0.1ms) SELECT version FROM "schema_migrations"
33
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191846')
34
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191836')
35
+
36
+
37
+ Started GET "/" for 127.0.0.1 at 2011-10-21 03:09:33 -0700
38
+ Processing by MainController#index as HTML
39
+ Rendered main/index.html.erb within layouts/application (12.0ms)
40
+ Compiled application.css (1ms) (pid 83215)
41
+ Compiled audios.css (0ms) (pid 83215)
42
+ Compiled images.css (0ms) (pid 83215)
43
+ Compiled main.css (0ms) (pid 83215)
44
+ Compiled application.js (5ms) (pid 83215)
45
+ Compiled jquery.js (1ms) (pid 83215)
46
+ Compiled jquery_ujs.js (0ms) (pid 83215)
47
+ Compiled audios.js (0ms) (pid 83215)
48
+ Compiled images.js (0ms) (pid 83215)
49
+ Compiled main.js (0ms) (pid 83215)
50
+ Completed 200 OK in 225ms (Views: 224.6ms | ActiveRecord: 0.0ms)
51
+
52
+
53
+ Started GET "/assets/audios.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:34 -0700
54
+ Served asset /audios.css - 304 Not Modified (5ms)
55
+
56
+
57
+ Started GET "/assets/images.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:34 -0700
58
+ Served asset /images.css - 304 Not Modified (2ms)
59
+
60
+
61
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:34 -0700
62
+ Served asset /main.css - 304 Not Modified (2ms)
63
+
64
+
65
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:34 -0700
66
+ Served asset /application.css - 304 Not Modified (0ms)
67
+
68
+
69
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:34 -0700
70
+ Served asset /jquery.js - 304 Not Modified (40ms)
71
+
72
+
73
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:34 -0700
74
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
75
+
76
+
77
+ Started GET "/assets/audios.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:34 -0700
78
+ Served asset /audios.js - 304 Not Modified (2ms)
79
+
80
+
81
+ Started GET "/assets/images.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:34 -0700
82
+ Served asset /images.js - 304 Not Modified (2ms)
83
+
84
+
85
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:34 -0700
86
+ Served asset /main.js - 304 Not Modified (2ms)
87
+
88
+
89
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:34 -0700
90
+ Served asset /application.js - 304 Not Modified (0ms)
91
+
92
+
93
+ Started GET "/images" for 127.0.0.1 at 2011-10-21 03:09:36 -0700
94
+ Processing by ImagesController#index as HTML
95
+ Image Load (0.1ms) SELECT "images".* FROM "images" 
96
+ Rendered images/index.html.erb within layouts/application (1.2ms)
97
+ Completed 200 OK in 66ms (Views: 7.7ms | ActiveRecord: 0.7ms)
98
+
99
+
100
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:36 -0700
101
+ Served asset /application.css - 304 Not Modified (1ms)
102
+
103
+
104
+ Started GET "/assets/audios.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:36 -0700
105
+ Served asset /audios.css - 304 Not Modified (0ms)
106
+
107
+
108
+ Started GET "/assets/images.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:36 -0700
109
+ Served asset /images.css - 304 Not Modified (0ms)
110
+
111
+
112
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:36 -0700
113
+ Served asset /jquery.js - 304 Not Modified (0ms)
114
+
115
+
116
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:36 -0700
117
+ Served asset /main.css - 304 Not Modified (0ms)
118
+
119
+
120
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:36 -0700
121
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
122
+
123
+
124
+ Started GET "/assets/audios.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:36 -0700
125
+ Served asset /audios.js - 304 Not Modified (0ms)
126
+
127
+
128
+ Started GET "/assets/images.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:36 -0700
129
+ Served asset /images.js - 304 Not Modified (0ms)
130
+
131
+
132
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:36 -0700
133
+ Served asset /main.js - 304 Not Modified (0ms)
134
+
135
+
136
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:36 -0700
137
+ Served asset /application.js - 304 Not Modified (0ms)
138
+
139
+
140
+ Started GET "/images/new" for 127.0.0.1 at 2011-10-21 03:09:37 -0700
141
+ Processing by ImagesController#new as HTML
142
+ Rendered images/_form.html.erb (10.2ms)
143
+ Rendered images/new.html.erb within layouts/application (20.9ms)
144
+ Completed 200 OK in 35ms (Views: 27.6ms | ActiveRecord: 0.5ms)
145
+
146
+
147
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:37 -0700
148
+ Served asset /application.css - 304 Not Modified (0ms)
149
+
150
+
151
+ Started GET "/assets/audios.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:37 -0700
152
+ Served asset /audios.css - 304 Not Modified (0ms)
153
+
154
+
155
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:37 -0700
156
+ Served asset /main.css - 304 Not Modified (0ms)
157
+
158
+
159
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:37 -0700
160
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
161
+
162
+
163
+ Started GET "/assets/images.css?body=1" for 127.0.0.1 at 2011-10-21 03:09:37 -0700
164
+ Served asset /images.css - 304 Not Modified (0ms)
165
+
166
+
167
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:37 -0700
168
+ Served asset /jquery.js - 304 Not Modified (0ms)
169
+
170
+
171
+ Started GET "/assets/audios.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:37 -0700
172
+ Served asset /audios.js - 304 Not Modified (0ms)
173
+
174
+
175
+ Started GET "/assets/images.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:37 -0700
176
+ Served asset /images.js - 304 Not Modified (0ms)
177
+
178
+
179
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:37 -0700
180
+ Served asset /main.js - 304 Not Modified (0ms)
181
+
182
+
183
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-21 03:09:37 -0700
184
+ Served asset /application.js - 304 Not Modified (0ms)
185
+
186
+
187
+ Started POST "/images" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
188
+ Processing by ImagesController#create as HTML
189
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"uYHora1iRIbrcIl2I7NdUz5fopXPoQQ5SjjPv3lE5jU=", "image"=>{"name"=>"Image", "file"=>#<ActionDispatch::Http::UploadedFile:0x007f96bf2dd770 @original_filename="image.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"image[file]\"; filename=\"image.png\"\r\nContent-Type: image/png\r\n", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/RackMultipart20111021-83215-n9ufq6>>}, "commit"=>"Create Image"}
190
+ [attached] save attached
191
+ SQL (24.4ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 21 Oct 2011 10:10:16 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "de242f89-0b1b-4b99-a3a0-7ff815c88ca3"], ["file_size", 399085], ["name", "Image"], ["updated_at", Fri, 21 Oct 2011 10:10:16 UTC +00:00]]
192
+ [attached] save attached
193
+ Redirected to http://localhost:3000/images/1
194
+ Completed 302 Found in 353ms
195
+
196
+
197
+ Started GET "/images/1" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
198
+ Processing by ImagesController#show as HTML
199
+ Parameters: {"id"=>"1"}
200
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "1"]]
201
+ Rendered images/show.html.erb within layouts/application (9.3ms)
202
+ Completed 200 OK in 27ms (Views: 16.5ms | ActiveRecord: 0.7ms)
203
+
204
+
205
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
206
+ Served asset /application.css - 304 Not Modified (0ms)
207
+
208
+
209
+ Started GET "/assets/audios.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
210
+ Served asset /audios.css - 304 Not Modified (0ms)
211
+
212
+
213
+ Started GET "/assets/images.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
214
+ Served asset /images.css - 304 Not Modified (0ms)
215
+
216
+
217
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
218
+ Served asset /main.css - 304 Not Modified (0ms)
219
+
220
+
221
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
222
+ Served asset /jquery.js - 304 Not Modified (0ms)
223
+
224
+
225
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
226
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
227
+
228
+
229
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
230
+ Served asset /application.js - 304 Not Modified (0ms)
231
+
232
+
233
+ Started GET "/assets/images.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
234
+ Served asset /images.js - 304 Not Modified (0ms)
235
+
236
+
237
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
238
+ Served asset /main.js - 304 Not Modified (0ms)
239
+
240
+
241
+ Started GET "/assets/audios.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:16 -0700
242
+ Served asset /audios.js - 304 Not Modified (0ms)
243
+
244
+
245
+ Started GET "/images" for 127.0.0.1 at 2011-10-21 03:10:18 -0700
246
+ Processing by ImagesController#index as HTML
247
+ Image Load (0.1ms) SELECT "images".* FROM "images"
248
+ Rendered images/index.html.erb within layouts/application (7.8ms)
249
+ Completed 200 OK in 23ms (Views: 15.0ms | ActiveRecord: 0.6ms)
250
+
251
+
252
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:18 -0700
253
+ Served asset /application.css - 304 Not Modified (0ms)
254
+
255
+
256
+ Started GET "/assets/audios.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:18 -0700
257
+ Served asset /audios.css - 304 Not Modified (0ms)
258
+
259
+
260
+ Started GET "/assets/images.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:18 -0700
261
+ Served asset /images.css - 304 Not Modified (0ms)
262
+
263
+
264
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:18 -0700
265
+ Served asset /main.css - 304 Not Modified (0ms)
266
+
267
+
268
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:18 -0700
269
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
270
+
271
+
272
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:18 -0700
273
+ Served asset /jquery.js - 304 Not Modified (0ms)
274
+
275
+
276
+ Started GET "/assets/audios.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:18 -0700
277
+ Served asset /audios.js - 304 Not Modified (0ms)
278
+
279
+
280
+ Started GET "/assets/images.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:18 -0700
281
+ Served asset /images.js - 304 Not Modified (0ms)
282
+
283
+
284
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:18 -0700
285
+ Served asset /main.js - 304 Not Modified (0ms)
286
+
287
+
288
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:18 -0700
289
+ Served asset /application.js - 304 Not Modified (0ms)
290
+
291
+
292
+ Started GET "/" for 127.0.0.1 at 2011-10-21 03:10:20 -0700
293
+ Processing by MainController#index as HTML
294
+ Rendered main/index.html.erb within layouts/application (0.8ms)
295
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
296
+
297
+
298
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:20 -0700
299
+ Served asset /application.css - 304 Not Modified (0ms)
300
+
301
+
302
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:20 -0700
303
+ Served asset /jquery.js - 304 Not Modified (0ms)
304
+
305
+
306
+ Started GET "/assets/audios.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:20 -0700
307
+ Served asset /audios.css - 304 Not Modified (0ms)
308
+
309
+
310
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:20 -0700
311
+ Served asset /main.css - 304 Not Modified (0ms)
312
+
313
+
314
+ Started GET "/assets/images.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:20 -0700
315
+ Served asset /images.css - 304 Not Modified (0ms)
316
+
317
+
318
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:20 -0700
319
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
320
+
321
+
322
+ Started GET "/assets/audios.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:20 -0700
323
+ Served asset /audios.js - 304 Not Modified (0ms)
324
+
325
+
326
+ Started GET "/assets/images.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:20 -0700
327
+ Served asset /images.js - 304 Not Modified (0ms)
328
+
329
+
330
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:20 -0700
331
+ Served asset /main.js - 304 Not Modified (0ms)
332
+
333
+
334
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:20 -0700
335
+ Served asset /application.js - 304 Not Modified (0ms)
336
+
337
+
338
+ Started GET "/audios" for 127.0.0.1 at 2011-10-21 03:10:21 -0700
339
+ Processing by AudiosController#index as HTML
340
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" 
341
+ Rendered audios/index.html.erb within layouts/application (1.4ms)
342
+ Completed 200 OK in 16ms (Views: 8.3ms | ActiveRecord: 0.5ms)
343
+
344
+
345
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:21 -0700
346
+ Served asset /application.css - 304 Not Modified (0ms)
347
+
348
+
349
+ Started GET "/assets/images.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:21 -0700
350
+ Served asset /images.css - 304 Not Modified (0ms)
351
+
352
+
353
+ Started GET "/assets/audios.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:21 -0700
354
+ Served asset /audios.css - 304 Not Modified (0ms)
355
+
356
+
357
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:22 -0700
358
+ Served asset /main.css - 304 Not Modified (0ms)
359
+
360
+
361
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:22 -0700
362
+ Served asset /jquery.js - 304 Not Modified (0ms)
363
+
364
+
365
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:22 -0700
366
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
367
+
368
+
369
+ Started GET "/assets/audios.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:22 -0700
370
+ Served asset /audios.js - 304 Not Modified (0ms)
371
+
372
+
373
+ Started GET "/assets/images.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:22 -0700
374
+ Served asset /images.js - 304 Not Modified (0ms)
375
+
376
+
377
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:22 -0700
378
+ Served asset /main.js - 304 Not Modified (0ms)
379
+
380
+
381
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:22 -0700
382
+ Served asset /application.js - 304 Not Modified (0ms)
383
+
384
+
385
+ Started GET "/audios/new" for 127.0.0.1 at 2011-10-21 03:10:22 -0700
386
+ Processing by AudiosController#new as HTML
387
+ Rendered audios/_form.html.erb (55.5ms)
388
+ Rendered audios/new.html.erb within layouts/application (56.8ms)
389
+ Completed 200 OK in 76ms (Views: 65.9ms | ActiveRecord: 0.8ms)
390
+
391
+
392
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:22 -0700
393
+ Served asset /application.css - 304 Not Modified (0ms)
394
+
395
+
396
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:23 -0700
397
+ Served asset /main.css - 304 Not Modified (0ms)
398
+
399
+
400
+ Started GET "/assets/images.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:23 -0700
401
+ Served asset /images.css - 304 Not Modified (0ms)
402
+
403
+
404
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:23 -0700
405
+ Served asset /jquery.js - 304 Not Modified (0ms)
406
+
407
+
408
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:23 -0700
409
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
410
+
411
+
412
+ Started GET "/assets/audios.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:23 -0700
413
+ Served asset /audios.css - 304 Not Modified (0ms)
414
+
415
+
416
+ Started GET "/assets/audios.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:23 -0700
417
+ Served asset /audios.js - 304 Not Modified (0ms)
418
+
419
+
420
+ Started GET "/assets/images.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:23 -0700
421
+ Served asset /images.js - 304 Not Modified (0ms)
422
+
423
+
424
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:23 -0700
425
+ Served asset /main.js - 304 Not Modified (0ms)
426
+
427
+
428
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:23 -0700
429
+ Served asset /application.js - 304 Not Modified (0ms)
430
+
431
+
432
+ Started POST "/audios" for 127.0.0.1 at 2011-10-21 03:10:33 -0700
433
+ Processing by AudiosController#create as HTML
434
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"uYHora1iRIbrcIl2I7NdUz5fopXPoQQ5SjjPv3lE5jU=", "audio"=>{"name"=>"", "file"=>#<ActionDispatch::Http::UploadedFile:0x007f96bf3031c8 @original_filename="audio.wav", @content_type="audio/wav", @headers="Content-Disposition: form-data; name=\"audio[file]\"; filename=\"audio.wav\"\r\nContent-Type: audio/wav\r\n", @tempfile=#<File:/var/folders/8p/7bk_0rpx5v36zjy9_3ws57sc0000gn/T/RackMultipart20111021-83215-syrro7>>}, "commit"=>"Create Audio"}
435
+ [attached] save attached
436
+ SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 21 Oct 2011 10:10:34 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "cc491ac1-b41a-4a0f-a1bd-232f3fd04ad9"], ["file_size", 1055276], ["name", ""], ["updated_at", Fri, 21 Oct 2011 10:10:34 UTC +00:00]]
437
+ Redirected to http://localhost:3000/audios/1
438
+ Completed 302 Found in 729ms
439
+
440
+
441
+ Started GET "/audios/1" for 127.0.0.1 at 2011-10-21 03:10:34 -0700
442
+ Processing by AudiosController#show as HTML
443
+ Parameters: {"id"=>"1"}
444
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "1"]]
445
+ Rendered audios/show.html.erb within layouts/application (59.1ms)
446
+ Completed 200 OK in 77ms (Views: 67.7ms | ActiveRecord: 0.8ms)
447
+
448
+
449
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:34 -0700
450
+ Served asset /application.css - 304 Not Modified (0ms)
451
+
452
+
453
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:34 -0700
454
+ Served asset /main.css - 304 Not Modified (0ms)
455
+
456
+
457
+ Started GET "/assets/images.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:34 -0700
458
+ Served asset /images.css - 304 Not Modified (0ms)
459
+
460
+
461
+ Started GET "/assets/audios.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:34 -0700
462
+ Served asset /audios.css - 304 Not Modified (0ms)
463
+
464
+
465
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:34 -0700
466
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
467
+
468
+
469
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:34 -0700
470
+ Served asset /jquery.js - 304 Not Modified (0ms)
471
+
472
+
473
+ Started GET "/assets/audios.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:34 -0700
474
+ Served asset /audios.js - 304 Not Modified (0ms)
475
+
476
+
477
+ Started GET "/assets/images.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:34 -0700
478
+ Served asset /images.js - 304 Not Modified (0ms)
479
+
480
+
481
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:34 -0700
482
+ Served asset /main.js - 304 Not Modified (0ms)
483
+
484
+
485
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:34 -0700
486
+ Served asset /application.js - 304 Not Modified (0ms)
487
+
488
+
489
+ Started GET "/audios/1/edit" for 127.0.0.1 at 2011-10-21 03:10:36 -0700
490
+ Processing by AudiosController#edit as HTML
491
+ Parameters: {"id"=>"1"}
492
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "1"]]
493
+ Rendered audios/_form.html.erb (9.1ms)
494
+ Rendered audios/edit.html.erb within layouts/application (10.3ms)
495
+ Completed 200 OK in 25ms (Views: 17.3ms | ActiveRecord: 0.7ms)
496
+
497
+
498
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:36 -0700
499
+ Served asset /application.css - 304 Not Modified (0ms)
500
+
501
+
502
+ Started GET "/assets/audios.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:36 -0700
503
+ Served asset /audios.css - 304 Not Modified (0ms)
504
+
505
+
506
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:36 -0700
507
+ Served asset /jquery.js - 304 Not Modified (0ms)
508
+
509
+
510
+ Started GET "/assets/images.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:36 -0700
511
+ Served asset /images.css - 304 Not Modified (0ms)
512
+
513
+
514
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:36 -0700
515
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
516
+
517
+
518
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:36 -0700
519
+ Served asset /main.css - 304 Not Modified (0ms)
520
+
521
+
522
+ Started GET "/assets/audios.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:36 -0700
523
+ Served asset /audios.js - 304 Not Modified (0ms)
524
+
525
+
526
+ Started GET "/assets/images.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:36 -0700
527
+ Served asset /images.js - 304 Not Modified (0ms)
528
+
529
+
530
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:36 -0700
531
+ Served asset /main.js - 304 Not Modified (0ms)
532
+
533
+
534
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:36 -0700
535
+ Served asset /application.js - 304 Not Modified (0ms)
536
+
537
+
538
+ Started PUT "/audios/1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
539
+ Processing by AudiosController#update as HTML
540
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"uYHora1iRIbrcIl2I7NdUz5fopXPoQQ5SjjPv3lE5jU=", "audio"=>{"name"=>"Audio"}, "commit"=>"Update Audio", "id"=>"1"}
541
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "1"]]
542
+ [attached] save attached
543
+  (0.3ms) UPDATE "audios" SET "name" = 'Audio', "updated_at" = '2011-10-21 10:10:39.190713' WHERE "audios"."id" = 1
544
+ Redirected to http://localhost:3000/audios/1
545
+ Completed 302 Found in 61ms
546
+
547
+
548
+ Started GET "/audios/1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
549
+ Processing by AudiosController#show as HTML
550
+ Parameters: {"id"=>"1"}
551
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "1"]]
552
+ Rendered audios/show.html.erb within layouts/application (6.5ms)
553
+ Completed 200 OK in 22ms (Views: 14.4ms | ActiveRecord: 0.7ms)
554
+
555
+
556
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
557
+ Served asset /application.css - 304 Not Modified (0ms)
558
+
559
+
560
+ Started GET "/assets/audios.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
561
+ Served asset /audios.css - 304 Not Modified (0ms)
562
+
563
+
564
+ Started GET "/assets/images.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
565
+ Served asset /images.css - 304 Not Modified (0ms)
566
+
567
+
568
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
569
+ Served asset /main.css - 304 Not Modified (0ms)
570
+
571
+
572
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
573
+ Served asset /jquery.js - 304 Not Modified (0ms)
574
+
575
+
576
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
577
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
578
+
579
+
580
+ Started GET "/assets/audios.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
581
+ Served asset /audios.js - 304 Not Modified (0ms)
582
+
583
+
584
+ Started GET "/assets/images.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
585
+ Served asset /images.js - 304 Not Modified (0ms)
586
+
587
+
588
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
589
+ Served asset /main.js - 304 Not Modified (0ms)
590
+
591
+
592
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-21 03:10:39 -0700
593
+ Served asset /application.js - 304 Not Modified (0ms)