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