Connecting to database specified by database.yml  (0.6ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "audios" Fixture Insert (15.6ms) 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-28 18:54:05', '2012-07-28 18:54:05', 410859157) Fixture Delete (0.2ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-07-28 18:54:05', '2012-07-28 18:54:05', 87884898)  (3.9ms) commit transaction  (4.3ms) begin transaction Audio Load (0.5ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.4ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 9ms  (0.3ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 28ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (9.0ms) Completed 200 OK in 27ms (Views: 24.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios" Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (4.4ms) Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-28 18:54:05 UTC", "updated_at"=>"2012-07-28 18:54:05 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 10ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 8ms  (0.2ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (8.3ms) Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 95ms (Views: 93.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.8ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-28 18:54:05 UTC", "updated_at"=>"2012-07-28 18:54:05 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "audios" Fixture Insert (0.3ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-07-28 18:56:20', '2012-07-28 18:56:20', 410859157) Fixture Delete (0.2ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-07-28 18:56:20', '2012-07-28 18:56:20', 87884898)  (4.4ms) commit transaction  (0.1ms) begin transaction Audio Load (0.6ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.4ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 8ms  (0.2ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 35ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.5ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (8.8ms) Completed 200 OK in 28ms (Views: 25.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.3ms) SELECT "audios".* FROM "audios" Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.3ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (4.2ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-28 18:56:20 UTC", "updated_at"=>"2012-07-28 18:56:20 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 10ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 8ms  (0.2ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 9ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (8.8ms) Completed 200 OK in 17ms (Views: 15.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 98ms (Views: 96.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.0ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-28 18:56:20 UTC", "updated_at"=>"2012-07-28 18:56:20 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (11.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 28 Jul 2012 19:58:52 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "145812bc-ebc6-473b-8fd5-5eeb09ecd472"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 28 Jul 2012 19:58:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-07-28 19:58:52', '2012-07-28 19:58:52', 410859157) Fixture Delete (0.5ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-07-28 19:58:52', '2012-07-28 19:58:52', 87884898)  (1.0ms) commit transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.5ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 28 Jul 2012 19:58:53 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "749c8645-6940-44d6-aa21-ee5f1fc27ba3"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 28 Jul 2012 19:58:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 733ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.6ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.5ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (7.0ms) Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (3.7ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-28 19:58:52 UTC", "updated_at"=>"2012-07-28 19:58:52 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 10ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.2ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 28 Jul 2012 19:58:54 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "1d487ceb-4a4d-465e-9090-b803664b0453"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 28 Jul 2012 19:58:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 28 Jul 2012 19:58:54 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "62893101-c755-40a2-8fff-fa7c96989db3"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 28 Jul 2012 19:58:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 277ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 5ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.5ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (5.3ms) Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.7ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-28 19:58:52 UTC", "updated_at"=>"2012-07-28 19:58:52 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (87.1ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Nov 2012 06:58:12 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "9132339e-842c-4f09-84f7-f7bc144dcc79"], ["file_size", 1055276], ["name", nil], ["updated_at", Wed, 14 Nov 2012 06:58:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.2ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-11-14 06:58:12', '2012-11-14 06:58:12', 410859157) Fixture Delete (0.2ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-11-14 06:58:12', '2012-11-14 06:58:12', 87884898) Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.3ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Nov 2012 06:58:13 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "4eb32841-d92a-4f18-bee7-9ae824e607da"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Wed, 14 Nov 2012 06:58:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 713ms  (0.2ms) SELECT COUNT(*) FROM "audios"  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "audios" Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (10.6ms) Completed 200 OK in 31ms (Views: 29.2ms | ActiveRecord: 0.1ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios" Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 0.2ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (4.1ms) Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.1ms) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-11-14 06:58:12 UTC", "updated_at"=>"2012-11-14 06:58:12 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 11ms  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.2ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Nov 2012 06:58:13 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "0a4e9cfb-4d8e-4ec6-8923-dd2f86de2031"], ["file_size", 399085], ["name", nil], ["updated_at", Wed, 14 Nov 2012 06:58:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Nov 2012 06:58:13 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "24d010d8-7e38-433c-8e7b-abb8983745ac"], ["file_size", 399085], ["name", "Image"], ["updated_at", Wed, 14 Nov 2012 06:58:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 253ms  (0.2ms) SELECT COUNT(*) FROM "images" Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "images"  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (9.1ms) Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.1ms) Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images"  Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.2ms) Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (4.6ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 19ms (Views: 16.2ms | ActiveRecord: 0.2ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-11-14 06:58:12 UTC", "updated_at"=>"2012-11-14 06:58:12 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms Processing by MainController#index as HTML Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.0ms) Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (10.1ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Nov 2012 06:58:24 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "967dd748-2281-42ff-9036-8a138783cc92"], ["file_size", 1055276], ["name", nil], ["updated_at", Wed, 14 Nov 2012 06:58:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-11-14 06:58:24', '2012-11-14 06:58:24', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-11-14 06:58:24', '2012-11-14 06:58:24', 87884898)  (0.9ms) commit transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Nov 2012 06:58:25 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "0fc15fdd-b724-412e-ab8b-7d782ea617e5"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Wed, 14 Nov 2012 06:58:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 757ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "audios"  (0.6ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 9ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.5ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (9.2ms) Completed 200 OK in 29ms (Views: 26.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (4.5ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-11-14 06:58:24 UTC", "updated_at"=>"2012-11-14 06:58:24 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 12ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.4ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Nov 2012 06:58:25 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "b13978ba-3c3f-41dc-9e0f-684b70fada8c"], ["file_size", 399085], ["name", nil], ["updated_at", Wed, 14 Nov 2012 06:58:25 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Nov 2012 06:58:25 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "f8db5cf9-bfc2-44dd-86db-703847a36753"], ["file_size", 399085], ["name", "Image"], ["updated_at", Wed, 14 Nov 2012 06:58:25 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 253ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"   (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 9ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (9.4ms) Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (5.8ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-11-14 06:58:24 UTC", "updated_at"=>"2012-11-14 06:58:24 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.5ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (14.0ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Jan 2013 04:49:21 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "1f2913b0-3691-4287-93ed-d4d94b59fc2d"], ["file_size", 1055276], ["name", nil], ["updated_at", Sun, 06 Jan 2013 04:49:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "audios" Fixture Insert (0.2ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-01-06 04:49:22', '2013-01-06 04:49:22', 410859157) Fixture Delete (2.5ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-01-06 04:49:22', '2013-01-06 04:49:22', 87884898)  (0.9ms) commit transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Jan 2013 04:49:22 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "03aa10a4-36f0-4467-a789-6e81d9e453c8"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sun, 06 Jan 2013 04:49:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 792ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.6ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.3ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (6.9ms) Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.5ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-01-06 04:49:22 UTC", "updated_at"=>"2013-01-06 04:49:22 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Jan 2013 04:49:23 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "2d159817-c18c-4aea-842a-7100ffeb171b"], ["file_size", 399085], ["name", nil], ["updated_at", Sun, 06 Jan 2013 04:49:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Jan 2013 04:49:23 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "e047c5f7-5dd3-4479-b50a-0e210a5aea9d"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sun, 06 Jan 2013 04:49:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 267ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (0.6ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.6ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (7.2ms) Completed 200 OK in 18ms (Views: 16.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 100ms (Views: 97.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.7ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-01-06 04:49:22 UTC", "updated_at"=>"2013-01-06 04:49:22 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 5ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.6ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (16.2ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 11 Jan 2013 07:40:41 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "0c4bedc3-ecc8-4d63-bc22-200d1cc094c9"], ["file_size", 1055276], ["name", nil], ["updated_at", Fri, 11 Jan 2013 07:40:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-01-11 07:40:41', '2013-01-11 07:40:41', 410859157) Fixture Delete (0.4ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-01-11 07:40:41', '2013-01-11 07:40:41', 87884898)  (0.8ms) commit transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 11 Jan 2013 07:40:42 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "f1f39f3e-5e8b-4503-958a-1fe1e064224b"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Fri, 11 Jan 2013 07:40:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 931ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.3ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.3ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (7.8ms) Completed 200 OK in 101ms (Views: 98.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (3.4ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-01-11 07:40:41 UTC", "updated_at"=>"2013-01-11 07:40:41 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (11.3ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 11 Jan 2013 07:40:43 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "1276411a-ba14-46a4-ad13-2110bbee2373"], ["file_size", 399085], ["name", nil], ["updated_at", Fri, 11 Jan 2013 07:40:43 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (2.6ms) rollback transaction  (0.2ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 11 Jan 2013 07:40:43 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "966c7ca9-8e1d-4783-aebf-aeedc2956700"], ["file_size", 399085], ["name", "Image"], ["updated_at", Fri, 11 Jan 2013 07:40:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 355ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "images"   (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (9.9ms) Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 24ms (Views: 19.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (4.1ms) Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-01-11 07:40:41 UTC", "updated_at"=>"2013-01-11 07:40:41 UTC"}, "id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (8.4ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 19 May 2013 21:46:18 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "3a1b4099-b855-4ff9-acac-76516674d1f1"], ["file_size", 1055276], ["name", nil], ["updated_at", Sun, 19 May 2013 21:46:18 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-19 21:46:18', '2013-05-19 21:46:18', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-19 21:46:18', '2013-05-19 21:46:18', 87884898)  (0.8ms) commit transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 19 May 2013 21:46:19 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "56734390-9752-4291-9220-1b447b909b57"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sun, 19 May 2013 21:46:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 720ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.6ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (5.9ms) Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.3ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.5ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-19 21:46:18 UTC", "updated_at"=>"2013-05-19 21:46:18 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 9ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 19 May 2013 21:46:20 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "b97dc186-c2e6-469a-9bb2-e70ea715631f"], ["file_size", 399085], ["name", nil], ["updated_at", Sun, 19 May 2013 21:46:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 19 May 2013 21:46:20 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "d2614a29-3e26-4c93-b986-770a5f4f288a"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sun, 19 May 2013 21:46:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 247ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (5.9ms) Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.4ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-19 21:46:18 UTC", "updated_at"=>"2013-05-19 21:46:18 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (5.0ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 19 May 2013 22:00:12 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "4a01c5c5-0e66-4487-9f51-923654547298"], ["file_size", 1055276], ["name", nil], ["updated_at", Sun, 19 May 2013 22:00:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-19 22:00:12', '2013-05-19 22:00:12', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-19 22:00:12', '2013-05-19 22:00:12', 87884898)  (1.0ms) commit transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 19 May 2013 22:00:13 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "940a5cde-b0cd-426c-ada1-1754d5c555bd"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sun, 19 May 2013 22:00:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 695ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "audios"  (0.6ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.2ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 10ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.5ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (5.5ms) Completed 200 OK in 22ms (Views: 19.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.5ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-19 22:00:12 UTC", "updated_at"=>"2013-05-19 22:00:12 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 19 May 2013 22:00:14 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "11696170-7c3a-4eb4-ae19-e8458b803176"], ["file_size", 399085], ["name", nil], ["updated_at", Sun, 19 May 2013 22:00:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 19 May 2013 22:00:14 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "3e1a357b-e8eb-40a1-80aa-c58b0871a637"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sun, 19 May 2013 22:00:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 248ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (5.3ms) Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.9ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-19 22:00:12 UTC", "updated_at"=>"2013-05-19 22:00:12 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 117ms (Views: 116.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (22.1ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:56:18 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "fbac7738-20ef-4a65-a4b4-943fe3afb379"], ["file_size", 1055276], ["name", nil], ["updated_at", Fri, 24 May 2013 22:56:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 22:56:18', '2013-05-24 22:56:18', 410859157) Fixture Delete (0.4ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 22:56:18', '2013-05-24 22:56:18', 87884898)  (1.4ms) commit transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:56:19 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "08ddd220-3b8a-4bc3-b20f-a01c7c7be816"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Fri, 24 May 2013 22:56:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 698ms (ActiveRecord: 0.0ms)  (0.4ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.4ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (6.8ms) Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.1ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 22:56:18 UTC", "updated_at"=>"2013-05-24 22:56:18 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 9ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:56:19 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "82cf7f7a-7764-4929-a5b4-a7d4dc21289e"], ["file_size", 399085], ["name", nil], ["updated_at", Fri, 24 May 2013 22:56:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:56:19 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "83eefeeb-afaa-4a88-8114-30ccf6a208aa"], ["file_size", 399085], ["name", "Image"], ["updated_at", Fri, 24 May 2013 22:56:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 252ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (0.6ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 5ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.6ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (5.1ms) Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.2ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 22:56:18 UTC", "updated_at"=>"2013-05-24 22:56:18 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 108ms (Views: 107.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.4ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (4.9ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:57:36 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "6ba84723-c6b3-4dcc-9fdd-dab340dfe82b"], ["file_size", 1055276], ["name", nil], ["updated_at", Fri, 24 May 2013 22:57:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 22:57:36', '2013-05-24 22:57:36', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 22:57:36', '2013-05-24 22:57:36', 87884898)  (0.8ms) commit transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:57:37 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "f1a0c007-9bfc-4c65-b302-f7a5bd93ca3c"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Fri, 24 May 2013 22:57:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 683ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "audios"  (0.7ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.5ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (6.4ms) Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.2ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 22:57:36 UTC", "updated_at"=>"2013-05-24 22:57:36 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.1ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:57:38 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "dc220293-a2fc-4012-ac83-8c2b16605480"], ["file_size", 399085], ["name", nil], ["updated_at", Fri, 24 May 2013 22:57:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:57:38 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "6142216b-5606-4376-b815-39da7ebac624"], ["file_size", 399085], ["name", "Image"], ["updated_at", Fri, 24 May 2013 22:57:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 248ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"   (0.5ms) rollback transaction  (0.2ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (7.7ms) Completed 200 OK in 19ms (Views: 16.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.9ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 22:57:36 UTC", "updated_at"=>"2013-05-24 22:57:36 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 106ms (Views: 105.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (5.7ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:59:17 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "57905e8e-356e-4705-9b60-ebf2ca941bbb"], ["file_size", 1055276], ["name", nil], ["updated_at", Fri, 24 May 2013 22:59:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 22:59:17', '2013-05-24 22:59:17', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 22:59:17', '2013-05-24 22:59:17', 87884898)  (0.8ms) commit transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:59:18 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "a77a2cc0-8c48-405e-9801-33642ba2ba60"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Fri, 24 May 2013 22:59:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 667ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "audios"  (0.6ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.5ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (5.5ms) Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (3.0ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 22:59:17 UTC", "updated_at"=>"2013-05-24 22:59:17 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:59:19 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "38387849-e947-467d-ae17-19a4fdaaa8f3"], ["file_size", 399085], ["name", nil], ["updated_at", Fri, 24 May 2013 22:59:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 22:59:19 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "fbf7f894-6322-4233-b2a7-0fae7f44f642"], ["file_size", 399085], ["name", "Image"], ["updated_at", Fri, 24 May 2013 22:59:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 249ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"   (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (6.8ms) Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 13ms (Views: 10.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.7ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 22:59:17 UTC", "updated_at"=>"2013-05-24 22:59:17 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 104ms (Views: 103.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "audios" Fixture Insert (0.3ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 23:00:20', '2013-05-24 23:00:20', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 23:00:20', '2013-05-24 23:00:20', 87884898)  (0.8ms) commit transaction  (0.0ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 2ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (59.4ms) Completed 200 OK in 77ms (Views: 75.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.0ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 6ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 23:00:20 UTC", "updated_at"=>"2013-05-24 23:00:20 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (5.5ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.5ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 500 Internal Server Error in 5ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 23:00:20 UTC", "updated_at"=>"2013-05-24 23:00:20 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 99ms (Views: 98.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "audios" Fixture Insert (0.2ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 23:01:17', '2013-05-24 23:01:17', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 23:01:17', '2013-05-24 23:01:17', 87884898)  (0.8ms) commit transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 2ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (59.0ms) Completed 200 OK in 76ms (Views: 74.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.9ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 7ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 23:01:17 UTC", "updated_at"=>"2013-05-24 23:01:17 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 2ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (5.5ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.9ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 500 Internal Server Error in 5ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 23:01:17 UTC", "updated_at"=>"2013-05-24 23:01:17 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 94ms (Views: 93.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 23:02:05', '2013-05-24 23:02:05', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 23:02:05', '2013-05-24 23:02:05', 87884898)  (1.2ms) commit transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 648ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (5.5ms) Completed 200 OK in 90ms (Views: 88.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (3.7ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 13ms (Views: 9.9ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 23:02:05 UTC", "updated_at"=>"2013-05-24 23:02:05 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 13ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.3ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 324ms  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (6.9ms) Completed 200 OK in 25ms (Views: 21.9ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 16ms (Views: 13.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (9.6ms) Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 23:02:05 UTC", "updated_at"=>"2013-05-24 23:02:05 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (4.5ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:03:00 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "59b61a78-4495-4fb5-a965-b098a90cc498"], ["file_size", 1055276], ["name", nil], ["updated_at", Fri, 24 May 2013 23:03:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 23:03:00', '2013-05-24 23:03:00', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.0ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 23:03:00', '2013-05-24 23:03:00', 87884898)  (1.1ms) commit transaction  (0.0ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:03:11 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "b8840a55-4b11-4884-a672-d88ce0c1c5be"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Fri, 24 May 2013 23:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 11109ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3064ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (5.1ms) Completed 200 OK in 18ms (Views: 16.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.5ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 23:03:00 UTC", "updated_at"=>"2013-05-24 23:03:00 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 5ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.9ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (4.2ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:03:39 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "2a1e3179-79c3-456d-ab49-604ee085a8f2"], ["file_size", 1055276], ["name", nil], ["updated_at", Fri, 24 May 2013 23:03:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 23:03:39', '2013-05-24 23:03:39', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 23:03:39', '2013-05-24 23:03:39', 87884898)  (1.1ms) commit transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:03:53 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "179bcfbd-eb75-478f-a80b-acfefa062bc6"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Fri, 24 May 2013 23:03:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 14311ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3085ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (5.2ms) Completed 200 OK in 19ms (Views: 17.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 83ms (Views: 82.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.0ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 23:03:39 UTC", "updated_at"=>"2013-05-24 23:03:39 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:04:08 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "ac67df46-e009-4fc8-bbce-c86b08c2977f"], ["file_size", 399085], ["name", nil], ["updated_at", Fri, 24 May 2013 23:04:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:04:18 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "3c2627a9-5b34-45dd-a265-1de948310a97"], ["file_size", 399085], ["name", "Image"], ["updated_at", Fri, 24 May 2013 23:04:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 9599ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (0.6ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 2804ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (4.6ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.2ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 23:03:39 UTC", "updated_at"=>"2013-05-24 23:03:39 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 23:17:49', '2013-05-24 23:17:49', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 23:17:49', '2013-05-24 23:17:49', 87884898)  (1.2ms) commit transaction  (0.0ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 660ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 1930ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (4.9ms) Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 23:17:49 UTC", "updated_at"=>"2013-05-24 23:17:49 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 11ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 245ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 1183ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (7.1ms) Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.4ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 23:17:49 UTC", "updated_at"=>"2013-05-24 23:17:49 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (5.1ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:18:54 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "58b5bb46-fb7b-4480-b251-9fca57f7a043"], ["file_size", 1055276], ["name", nil], ["updated_at", Fri, 24 May 2013 23:18:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 23:18:54', '2013-05-24 23:18:54', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.0ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 23:18:54', '2013-05-24 23:18:54', 87884898)  (1.2ms) commit transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:18:59 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "93ced229-c56d-4a22-81c9-f9ef360242f9"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Fri, 24 May 2013 23:18:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 4950ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 1222ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (5.0ms) Completed 200 OK in 18ms (Views: 15.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.4ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 23:18:54 UTC", "updated_at"=>"2013-05-24 23:18:54 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:19:05 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "785ea92a-2344-401e-a478-6c62754fc8e2"], ["file_size", 399085], ["name", nil], ["updated_at", Fri, 24 May 2013 23:19:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:19:10 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "76b0870d-4dbc-4fe1-9bf7-39d6200ef1ee"], ["file_size", 399085], ["name", "Image"], ["updated_at", Fri, 24 May 2013 23:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 5030ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (0.6ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 1086ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (4.8ms) Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.2ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 23:18:54 UTC", "updated_at"=>"2013-05-24 23:18:54 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (5.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:23:54 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "a406b515-0c4d-4060-acd6-15ec09c03dba"], ["file_size", 1055276], ["name", nil], ["updated_at", Fri, 24 May 2013 23:23:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 23:23:54', '2013-05-24 23:23:54', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.0ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 23:23:54', '2013-05-24 23:23:54', 87884898)  (1.1ms) commit transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:23:58 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "4c9649e4-ff78-452d-8384-e044f4f3f1f9"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Fri, 24 May 2013 23:23:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 4394ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "audios"  (0.6ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 1227ms  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (4.9ms) Completed 200 OK in 18ms (Views: 15.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (3.0ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 23:23:54 UTC", "updated_at"=>"2013-05-24 23:23:54 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:24:05 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "db9c52f9-c96d-454f-a21b-06731b918967"], ["file_size", 399085], ["name", nil], ["updated_at", Fri, 24 May 2013 23:24:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:24:10 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "e226ea9d-f88e-4df8-a44d-85a18eaf182b"], ["file_size", 399085], ["name", "Image"], ["updated_at", Fri, 24 May 2013 23:24:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 5122ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (0.5ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 1327ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (4.8ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (4.2ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 23:23:54 UTC", "updated_at"=>"2013-05-24 23:23:54 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (5.0ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:37:38 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "356446cd-b305-429d-b2e2-2f1de3ebac54"], ["file_size", 1055276], ["name", nil], ["updated_at", Fri, 24 May 2013 23:37:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 23:37:38', '2013-05-24 23:37:38', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 23:37:38', '2013-05-24 23:37:38', 87884898)  (1.0ms) commit transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:37:43 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "5b3fe70b-03db-460a-8acd-1e5175b0f356"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Fri, 24 May 2013 23:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 4728ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.6ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 5431ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.5ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (4.5ms) Completed 200 OK in 18ms (Views: 15.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.0ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 23:37:38 UTC", "updated_at"=>"2013-05-24 23:37:38 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 136ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.6ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:37:55 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "65cb0615-5b7c-468b-8fc5-05b6061d44e4"], ["file_size", 399085], ["name", nil], ["updated_at", Fri, 24 May 2013 23:37:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:37:59 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "95ef866a-620f-4c52-90a7-6f71f92b0f25"], ["file_size", 399085], ["name", "Image"], ["updated_at", Fri, 24 May 2013 23:37:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 4301ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (0.7ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 6562ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.6ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (4.4ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.2ms) Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 23:37:38 UTC", "updated_at"=>"2013-05-24 23:37:38 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (3.7ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:39:59 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "7c442f0a-5ca3-491d-9eff-684138abfa1d"], ["file_size", 1055276], ["name", nil], ["updated_at", Fri, 24 May 2013 23:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-24 23:39:59', '2013-05-24 23:39:59', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.0ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-24 23:39:59', '2013-05-24 23:39:59', 87884898)  (0.9ms) commit transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:40:05 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "56d86856-f2c8-4728-9b11-1e69041e5285"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Fri, 24 May 2013 23:40:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 5506ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 5491ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.4ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (6.7ms) Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.2ms) Completed 200 OK in 138ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-24 23:39:59 UTC", "updated_at"=>"2013-05-24 23:39:59 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 5ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:40:17 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "3d2c0dad-1ef5-478a-b3ea-7f217f42923d"], ["file_size", 399085], ["name", nil], ["updated_at", Fri, 24 May 2013 23:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.3ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 May 2013 23:40:22 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "edc9cbf9-4722-4854-ae80-734419115985"], ["file_size", 399085], ["name", "Image"], ["updated_at", Fri, 24 May 2013 23:40:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 4846ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (0.6ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 6557ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.6ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (4.6ms) Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 138ms (Views: 136.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.1ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-24 23:39:59 UTC", "updated_at"=>"2013-05-24 23:39:59 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (8.2ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 26 May 2013 01:39:47 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "1e808a6a-2471-4586-bf11-8f3a90eeb79e"], ["file_size", 1055276], ["name", nil], ["updated_at", Sun, 26 May 2013 01:39:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-05-26 01:39:47', '2013-05-26 01:39:47', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-05-26 01:39:47', '2013-05-26 01:39:47', 87884898)  (0.7ms) commit transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 26 May 2013 01:40:10 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "f91e4fcc-8b37-479a-8fc0-13964bc846a9"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sun, 26 May 2013 01:40:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 22941ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 9743ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.4ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (6.9ms) Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (3.2ms) Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-05-26 01:39:47 UTC", "updated_at"=>"2013-05-26 01:39:47 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 9ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 26 May 2013 01:40:32 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "f08f3e1b-1d51-434f-9dc8-3d7b10c8c7f1"], ["file_size", 399085], ["name", nil], ["updated_at", Sun, 26 May 2013 01:40:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 26 May 2013 01:40:44 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "de58a66c-dffc-437e-9725-d11d62921ce5"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sun, 26 May 2013 01:40:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 12641ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"   (0.5ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 12450ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (2.3ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (8.7ms) Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.7ms) Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-05-26 01:39:47 UTC", "updated_at"=>"2013-05-26 01:39:47 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 5ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.4ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (7.3ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Jun 2013 08:09:59 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "5d1067a4-0635-4a37-9c21-5673a0bf2cc2"], ["file_size", 1055276], ["updated_at", Wed, 26 Jun 2013 08:09:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-06-26 08:09:59', '2013-06-26 08:09:59', 410859157) Fixture Delete (0.5ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-06-26 08:09:59', '2013-06-26 08:09:59', 87884898)  (1.0ms) commit transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 8ms (ActiveRecord: 0.6ms)  (0.2ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (78.6ms) Completed 500 Internal Server Error in 97ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios" Completed 500 Internal Server Error in 13ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.3ms) Completed 500 Internal Server Error in 12ms  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 11ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-06-26 08:09:59 UTC", "updated_at"=>"2013-06-26 08:09:59 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Jun 2013 08:10:00 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "58f4d67c-3a6f-4979-a29f-d875f3a7d8ce"], ["file_size", 399085], ["updated_at", Wed, 26 Jun 2013 08:10:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (7.2ms) Completed 500 Internal Server Error in 20ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 500 Internal Server Error in 13ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (105.9ms) Completed 500 Internal Server Error in 117ms  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 500 Internal Server Error in 10ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-06-26 08:09:59 UTC", "updated_at"=>"2013-06-26 08:09:59 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 500 Internal Server Error in 10ms  (0.1ms) rollback transaction  (0.3ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (4.5ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Jun 2013 08:12:43 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "9c1cb0ca-dd1a-40c4-9809-4b523acdb27a"], ["file_size", 1055276], ["updated_at", Wed, 26 Jun 2013 08:12:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-06-26 08:12:43', '2013-06-26 08:12:43', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-06-26 08:12:43', '2013-06-26 08:12:43', 87884898)  (1.1ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Jun 2013 08:12:44 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "627e752b-80a2-47be-b30b-66dd045f113a"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Wed, 26 Jun 2013 08:12:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 640ms (ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.6ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 7ms (ActiveRecord: 0.7ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (82.7ms) Completed 500 Internal Server Error in 100ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios" Completed 500 Internal Server Error in 14ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.2ms) Completed 500 Internal Server Error in 12ms  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 10ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-06-26 08:12:43 UTC", "updated_at"=>"2013-06-26 08:12:43 UTC"}, "id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Jun 2013 08:12:44 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "d1045f09-612b-490f-bde7-4da7f1b828a5"], ["file_size", 399085], ["updated_at", Wed, 26 Jun 2013 08:12:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Jun 2013 08:12:45 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "de1d2479-5452-472b-b956-866804fe5843"], ["file_size", 399085], ["name", "Image"], ["updated_at", Wed, 26 Jun 2013 08:12:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 241ms (ActiveRecord: 1.6ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (0.6ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 8ms (ActiveRecord: 0.9ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (7.5ms) Completed 500 Internal Server Error in 23ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.3ms) SELECT "images".* FROM "images" Completed 500 Internal Server Error in 113ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.7ms) Completed 500 Internal Server Error in 11ms  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 500 Internal Server Error in 10ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-06-26 08:12:43 UTC", "updated_at"=>"2013-06-26 08:12:43 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 400 Bad Request in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 500 Internal Server Error in 9ms  (0.1ms) rollback transaction  (0.3ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (5.1ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Jun 2013 08:14:09 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "270be694-c6bc-47f4-80a2-9e65915e611a"], ["file_size", 1055276], ["updated_at", Wed, 26 Jun 2013 08:14:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-06-26 08:14:09', '2013-06-26 08:14:09', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-06-26 08:14:09', '2013-06-26 08:14:09', 87884898)  (1.2ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Jun 2013 08:14:10 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "ac164d0c-970b-4ab3-a8f4-cfd676a7f02c"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Wed, 26 Jun 2013 08:14:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 644ms (ActiveRecord: 0.9ms)  (0.2ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 6ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (81.5ms) Completed 500 Internal Server Error in 100ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios" Completed 500 Internal Server Error in 11ms  (0.2ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.8ms) Completed 500 Internal Server Error in 13ms  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 11ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-06-26 08:14:09 UTC", "updated_at"=>"2013-06-26 08:14:09 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Jun 2013 08:14:10 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "57fb1bf3-e230-4ca6-844a-fe145eb05509"], ["file_size", 399085], ["updated_at", Wed, 26 Jun 2013 08:14:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.3ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 26 Jun 2013 08:14:10 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "92b2ef3c-39e7-492e-858e-e0a222d29c80"], ["file_size", 399085], ["name", "Image"], ["updated_at", Wed, 26 Jun 2013 08:14:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 253ms (ActiveRecord: 1.6ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (1.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 7ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (7.8ms) Completed 500 Internal Server Error in 23ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 500 Internal Server Error in 114ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.3ms) Completed 500 Internal Server Error in 11ms  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 500 Internal Server Error in 9ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-06-26 08:14:09 UTC", "updated_at"=>"2013-06-26 08:14:09 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 400 Bad Request in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 500 Internal Server Error in 8ms  (0.1ms) rollback transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Fixture Delete (0.5ms) DELETE FROM "audios" Fixture Insert (0.2ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 08:56:27', '2013-10-05 08:56:27', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 08:56:27', '2013-10-05 08:56:27', 87884898) Audio Load (0.4ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 8ms Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 21ms  (0.2ms) SELECT COUNT(*) FROM "audios"  Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (6.3ms) Completed 200 OK in 96ms (Views: 94.1ms | ActiveRecord: 0.1ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.1ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.5ms) Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.0ms) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.1ms) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 08:56:27 UTC", "updated_at"=>"2013-10-05 08:56:27 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 8ms  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 08:56:28 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "447fcacc-2bd4-4733-9435-7b09b46e073b"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 05 Oct 2013 08:56:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 08:56:28 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "8c6f644a-2dd3-44f2-be31-937a090b40a3"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 05 Oct 2013 08:56:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 262ms  (0.2ms) SELECT COUNT(*) FROM "images"  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "images" Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (7.3ms) Completed 200 OK in 17ms (Views: 14.9ms | ActiveRecord: 0.2ms) Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.2ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.4ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.1ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 08:56:27 UTC", "updated_at"=>"2013-10-05 08:56:27 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms Processing by MainController#index as HTML Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.0ms)  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (4.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 08:57:32 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "935bc288-5358-4760-bb6b-7e266b299f36"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 05 Oct 2013 08:57:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 08:57:32', '2013-10-05 08:57:32', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 08:57:32', '2013-10-05 08:57:32', 87884898) Audio Load (0.4ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 08:57:33 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "1f67bcc7-edf0-44d1-88b0-ca2aff4782d4"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 05 Oct 2013 08:57:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 1121ms  (0.2ms) SELECT COUNT(*) FROM "audios"  Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 11ms  (0.2ms) SELECT COUNT(*) FROM "audios" Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (18.0ms) Completed 200 OK in 48ms (Views: 44.3ms | ActiveRecord: 0.2ms) Audio Load (0.4ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios" Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.2ms) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (7.6ms) Completed 200 OK in 37ms (Views: 35.9ms | ActiveRecord: 0.0ms) Audio Load (1.5ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 20ms (Views: 16.1ms | ActiveRecord: 0.2ms) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 08:57:32 UTC", "updated_at"=>"2013-10-05 08:57:32 UTC"}, "id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 13ms  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.2ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 08:57:34 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "33bef96b-e7a7-4fff-92b6-ba6ca3574e5c"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 05 Oct 2013 08:57:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 08:57:34 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "a9974ce7-9304-4a2a-8ad1-1080d528bdcd"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 05 Oct 2013 08:57:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 403ms  (0.2ms) SELECT COUNT(*) FROM "images" Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 14ms  (0.2ms) SELECT COUNT(*) FROM "images"  Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (12.1ms) Completed 200 OK in 27ms (Views: 23.9ms | ActiveRecord: 0.1ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images"  Completed 200 OK in 21ms (Views: 13.8ms | ActiveRecord: 0.2ms) Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.9ms) Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 15ms (Views: 12.5ms | ActiveRecord: 0.1ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 08:57:32 UTC", "updated_at"=>"2013-10-05 08:57:32 UTC"}, "id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 5ms Processing by MainController#index as HTML Completed 200 OK in 24ms (Views: 23.3ms | ActiveRecord: 0.0ms) Connecting to database specified by database.yml  (0.6ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.7ms) begin transaction  (1.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (7.8ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.5ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (5.2ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 08:57:48 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "eb1aa6b9-d359-438e-889d-8bd43c4eb1d8"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 05 Oct 2013 08:57:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.2ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 08:57:48', '2013-10-05 08:57:48', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 08:57:48', '2013-10-05 08:57:48', 87884898)  (0.8ms) commit transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 08:57:50 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "1418d15d-46a8-4dcf-bdeb-53b058791c87"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 05 Oct 2013 08:57:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 1906ms (ActiveRecord: 0.0ms)  (0.5ms) SELECT COUNT(*) FROM "audios"  (1176.7ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.3ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (2.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 14ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (204.5ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (8.3ms) Completed 200 OK in 28ms (Views: 25.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (4.1ms) Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 08:57:48 UTC", "updated_at"=>"2013-10-05 08:57:48 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.2ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 08:57:52 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "3f069890-42a6-4669-b442-215e38acf3fd"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 05 Oct 2013 08:57:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 08:57:53 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "d1cf1db2-bc56-4fe9-bcca-72d72b344745"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 05 Oct 2013 08:57:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 513ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "images"   (0.9ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (1.6ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 29ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (12.6ms) rollback transaction  (1.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (35.2ms) Completed 200 OK in 55ms (Views: 48.1ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.7ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 28ms (Views: 24.0ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (6.3ms) Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 08:57:48 UTC", "updated_at"=>"2013-10-05 08:57:48 UTC"}, "id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 273ms (Views: 271.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (5.0ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:01:57 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "352132b7-6af0-48ae-9234-2898bc53f471"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:01:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:01:58', '2013-10-05 09:01:58', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:01:58', '2013-10-05 09:01:58', 87884898) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:01:58 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "e86d69de-ceda-481c-a233-f023ec4c57d1"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 05 Oct 2013 09:01:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 792ms  (0.1ms) SELECT COUNT(*) FROM "audios"  Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "audios" Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (7.4ms) Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.1ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios" Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.2ms) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.8ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.1ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:01:58 UTC", "updated_at"=>"2013-10-05 09:01:58 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 7ms  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:01:59 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "2beb883e-5b4d-4201-bd9d-523899532e08"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:01:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:01:59 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "df68f19f-4d0e-4f18-862c-fb8cac5798d1"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 05 Oct 2013 09:01:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 334ms  (0.1ms) SELECT COUNT(*) FROM "images" Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 5ms  (0.1ms) SELECT COUNT(*) FROM "images"  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (6.0ms) Completed 200 OK in 16ms (Views: 13.8ms | ActiveRecord: 0.1ms) Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images"  Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.2ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (4.0ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.1ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:01:58 UTC", "updated_at"=>"2013-10-05 09:01:58 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms Processing by MainController#index as HTML Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms) Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (4.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:02:05 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "73cb8a9f-0ec0-4d09-9f04-7531437ed3b2"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:02:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:02:05', '2013-10-05 09:02:05', 410859157) Fixture Delete (0.4ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:02:05', '2013-10-05 09:02:05', 87884898)  (0.8ms) commit transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:02:06 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "90c19136-bebb-4bf1-b135-41dad9c41143"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 05 Oct 2013 09:02:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 1057ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "audios"  (147.9ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 9ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (145.8ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (4.2ms) Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:02:05 UTC", "updated_at"=>"2013-10-05 09:02:05 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.4ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:02:07 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "54ea884e-fac4-420b-ac17-7808a73f29b6"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:02:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (260.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.5ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:02:08 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "11d8b7f0-6abc-4cf3-935c-ade9924076eb"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 05 Oct 2013 09:02:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 219ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (86.4ms) rollback transaction  (0.2ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.6ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (6.5ms) Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.6ms) Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:02:05 UTC", "updated_at"=>"2013-10-05 09:02:05 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 125ms (Views: 123.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.4ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (6.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:02:14 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "e16fe31a-0af6-45f5-a6ad-2b239f1bdee8"], ["file_size", 1055276], ["updated_at", Sat, 05 Oct 2013 09:02:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:02:14', '2013-10-05 09:02:14', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:02:14', '2013-10-05 09:02:14', 87884898)  (1.0ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.8ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 11ms (ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (12.7ms) Completed 500 Internal Server Error in 37ms  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios" Completed 500 Internal Server Error in 20ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (3.8ms) Completed 500 Internal Server Error in 15ms  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 12ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:02:14 UTC", "updated_at"=>"2013-10-05 09:02:14 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 2ms  (0.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.2ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:02:14 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "e26a3d85-3b59-4012-80c7-5ea659000c78"], ["file_size", 399085], ["updated_at", Sat, 05 Oct 2013 09:02:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (5.7ms) Completed 500 Internal Server Error in 19ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.3ms) SELECT "images".* FROM "images" Completed 500 Internal Server Error in 14ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (2.4ms) Completed 500 Internal Server Error in 12ms  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 500 Internal Server Error in 12ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:02:14 UTC", "updated_at"=>"2013-10-05 09:02:14 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 500 Internal Server Error in 12ms  (0.1ms) rollback transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (4.7ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:03:12 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "6da28948-fc17-4cf2-9b5f-7e04c919cb8d"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:03:12', '2013-10-05 09:03:12', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:03:12', '2013-10-05 09:03:12', 87884898) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:03:13 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "da06ffd2-0b34-4592-97fd-65131046390f"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 05 Oct 2013 09:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 755ms  (0.1ms) SELECT COUNT(*) FROM "audios"  Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "audios" Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (6.9ms) Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.1ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios" Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.2ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.6ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.1ms) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:03:12 UTC", "updated_at"=>"2013-10-05 09:03:12 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 8ms  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:03:14 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "17315dce-20d2-4bfc-bd9a-e7e262101134"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:03:14 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "e473115e-29d4-48ac-a25d-a507a129a1fb"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 05 Oct 2013 09:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 245ms  (0.1ms) SELECT COUNT(*) FROM "images" Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "images"  Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (5.0ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.1ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images"  Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.1ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.3ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.1ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:03:12 UTC", "updated_at"=>"2013-10-05 09:03:12 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms Processing by MainController#index as HTML Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms) Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (4.2ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:03:19 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "ad16ad43-c49b-498f-8135-fd730844480e"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:03:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:03:19', '2013-10-05 09:03:19', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:03:19', '2013-10-05 09:03:19', 87884898)  (1.3ms) commit transaction  (0.0ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:03:20 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "55fab83c-82aa-4d36-bddd-5d744ecc2767"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 05 Oct 2013 09:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 742ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (0.5ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (5.7ms) Completed 200 OK in 24ms (Views: 21.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (3.8ms) Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:03:19 UTC", "updated_at"=>"2013-10-05 09:03:19 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 12ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:03:21 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "11a23374-bd8b-4938-b7ee-6214765cdfaa"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:03:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:03:21 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "27469330-6895-41c5-a8e5-72a2f6d10d07"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 05 Oct 2013 09:03:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 268ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"   (0.5ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.5ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (9.3ms) Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (4.7ms) Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 12ms (Views: 9.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:03:19 UTC", "updated_at"=>"2013-10-05 09:03:19 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 122ms (Views: 121.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.4ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (4.2ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:03:27 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "c05cb374-e9fc-496a-8971-d2a624f8fae9"], ["file_size", 1055276], ["updated_at", Sat, 05 Oct 2013 09:03:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:03:27', '2013-10-05 09:03:27', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:03:27', '2013-10-05 09:03:27', 87884898)  (0.8ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 8ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (10.0ms) Completed 500 Internal Server Error in 28ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.3ms) SELECT "audios".* FROM "audios" Completed 500 Internal Server Error in 17ms  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.8ms) Completed 500 Internal Server Error in 12ms  (0.1ms) rollback transaction  (0.3ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 14ms  (0.1ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:03:27 UTC", "updated_at"=>"2013-10-05 09:03:27 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 1ms  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.3ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.1ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:03:27 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "a1a56e8a-421b-4511-b366-bd71f8b0d277"], ["file_size", 399085], ["updated_at", Sat, 05 Oct 2013 09:03:27 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.5ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.7ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 10ms (ActiveRecord: 1.1ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (6.9ms) Completed 500 Internal Server Error in 22ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 500 Internal Server Error in 16ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.6ms) Completed 500 Internal Server Error in 14ms  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 500 Internal Server Error in 13ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:03:27 UTC", "updated_at"=>"2013-10-05 09:03:27 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms (ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 500 Internal Server Error in 12ms  (0.1ms) rollback transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (8.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:06:17 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "eca63ddb-dda0-4c20-971a-0adfac0a7ef9"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:06:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Fixture Delete (0.4ms) DELETE FROM "audios" Fixture Insert (0.6ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:06:17', '2013-10-05 09:06:17', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:06:17', '2013-10-05 09:06:17', 87884898) Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:06:19 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "7e93c652-070f-4aee-9600-46d34afef695"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 05 Oct 2013 09:06:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 1231ms  (0.1ms) SELECT COUNT(*) FROM "audios"  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "audios" Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (8.0ms) Completed 200 OK in 108ms (Views: 106.4ms | ActiveRecord: 0.1ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios" Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.2ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.2ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.1ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:06:17 UTC", "updated_at"=>"2013-10-05 09:06:17 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 6ms  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:06:19 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "3c0f076b-2d1c-43cd-bb44-23d2f93434e4"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:06:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.7ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:06:20 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "d59ac829-ebea-4bb6-9a94-8fb42bcd4a86"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 05 Oct 2013 09:06:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 288ms  (0.1ms) SELECT COUNT(*) FROM "images" Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.9ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "images"  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (6.0ms) Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.1ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images"  Completed 200 OK in 16ms (Views: 13.9ms | ActiveRecord: 0.2ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.8ms) Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms) Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.2ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:06:17 UTC", "updated_at"=>"2013-10-05 09:06:17 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms Processing by MainController#index as HTML Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.0ms) Connecting to database specified by database.yml  (0.5ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.4ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (5.4ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:06:26 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "2aa74bc5-3b3a-4d42-a19d-815b6aae82c2"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:06:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:06:26', '2013-10-05 09:06:26', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:06:26', '2013-10-05 09:06:26', 87884898)  (0.8ms) commit transaction  (0.1ms) begin transaction Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:06:27 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "3eeec986-a35c-4552-bf7e-f8e9a0baa45e"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 05 Oct 2013 09:06:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 970ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "audios"  (0.7ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (4.2ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (7.5ms) Completed 200 OK in 26ms (Views: 24.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (3.2ms) Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:06:26 UTC", "updated_at"=>"2013-10-05 09:06:26 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:06:27 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "7c9234e2-3017-4fca-8787-e8ee045b375f"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:06:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.5ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:06:28 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "9b2e5d7a-2d22-4780-a360-3e40f3c21f27"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 05 Oct 2013 09:06:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 279ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"   (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (6.0ms) Completed 200 OK in 16ms (Views: 13.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 16ms (Views: 13.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.6ms) Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:06:26 UTC", "updated_at"=>"2013-10-05 09:06:26 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.6ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (6.0ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:06:35 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "4c05d67e-b2e1-4084-b33a-95cdb4a9c6b1"], ["file_size", 1055276], ["updated_at", Sat, 05 Oct 2013 09:06:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.2ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:06:35', '2013-10-05 09:06:35', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:06:35', '2013-10-05 09:06:35', 87884898)  (0.8ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.4ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 14ms (ActiveRecord: 1.1ms)  (0.3ms) SELECT COUNT(*) FROM "audios"  (0.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (13.8ms) Completed 500 Internal Server Error in 56ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.3ms) SELECT "audios".* FROM "audios" Completed 500 Internal Server Error in 27ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (4.8ms) Completed 500 Internal Server Error in 30ms  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 24ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:06:35 UTC", "updated_at"=>"2013-10-05 09:06:35 UTC"}, "id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 2ms  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.3ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.3ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:06:35 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "d0c22723-f4bf-4229-93dc-a57d831870ea"], ["file_size", 399085], ["updated_at", Sat, 05 Oct 2013 09:06:35 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 11ms (ActiveRecord: 1.1ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (0.7ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (10.1ms) Completed 500 Internal Server Error in 43ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.3ms) SELECT "images".* FROM "images" Completed 500 Internal Server Error in 36ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (6.3ms) Completed 500 Internal Server Error in 33ms  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 500 Internal Server Error in 19ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:06:35 UTC", "updated_at"=>"2013-10-05 09:06:35 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 500 Internal Server Error in 23ms  (0.1ms) rollback transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (7.2ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:08:40 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "36999d65-9ab1-48c9-a596-005a875e8f3f"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:08:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Fixture Delete (0.5ms) DELETE FROM "audios" Fixture Insert (0.2ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:08:40', '2013-10-05 09:08:40', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:08:40', '2013-10-05 09:08:40', 87884898) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.9ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:08:41 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "5fc4340c-47ae-4548-a1a4-f1f5b4f2be3e"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 05 Oct 2013 09:08:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 1160ms  (0.2ms) SELECT COUNT(*) FROM "audios"  Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios"  Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "audios" Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (8.6ms) Completed 200 OK in 116ms (Views: 113.7ms | ActiveRecord: 0.1ms) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios" Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.2ms) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (4.5ms) Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.0ms) Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.1ms) Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:08:40 UTC", "updated_at"=>"2013-10-05 09:08:40 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 7ms  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.2ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:08:42 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "6b9ab189-1c27-4b43-abda-f173fdeb5f7d"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:08:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:08:42 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "3886ef6f-3a34-4ebe-80b6-c68554b0a335"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 05 Oct 2013 09:08:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 435ms  (0.3ms) SELECT COUNT(*) FROM "images" Image Load (7.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 11ms  (0.3ms) SELECT COUNT(*) FROM "images"  Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.8ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (11.0ms) Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 0.8ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images"  Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.2ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.9ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.5ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 17ms (Views: 10.4ms | ActiveRecord: 0.5ms) Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:08:40 UTC", "updated_at"=>"2013-10-05 09:08:40 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 5ms Processing by MainController#index as HTML Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.0ms) Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (5.7ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:08:51 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "1bc2fafd-a9c1-474d-93c9-59730a5f470a"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:08:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.2ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:08:51', '2013-10-05 09:08:51', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:08:51', '2013-10-05 09:08:51', 87884898)  (0.9ms) commit transaction  (0.1ms) begin transaction Audio Load (0.4ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:08:52 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "5b87ea6d-4a10-45c4-8c61-cfc792661ba6"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 05 Oct 2013 09:08:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 1305ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.6ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 11ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "audios"   (5.0ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (8.3ms) Completed 200 OK in 29ms (Views: 26.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.2ms) SELECT "audios".* FROM "audios"  Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (3.2ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:08:51 UTC", "updated_at"=>"2013-10-05 09:08:51 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] WARNING: Can't mass-assign protected attributes: id  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 [attached] save attached SQL (2.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:08:53 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "9cb5ebbf-ebf3-4d22-8a16-3cd86f42d3f2"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 05 Oct 2013 09:08:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.8ms) rollback transaction  (0.2ms) begin transaction Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.2ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:08:53 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "f74ccc01-4750-4175-8099-de436941ea49"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 05 Oct 2013 09:08:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 494ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"   (0.7ms) rollback transaction  (0.1ms) begin transaction Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images"  Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.2ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.7ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 13ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (0.9ms) rollback transaction  (0.1ms) begin transaction Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (9.7ms) Completed 200 OK in 24ms (Views: 20.7ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 200 OK in 18ms (Views: 15.7ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (4.7ms) Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 200 OK in 15ms (Views: 11.9ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:08:51 UTC", "updated_at"=>"2013-10-05 09:08:51 UTC"}, "id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by MainController#index as HTML Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.4ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.3ms) SAVEPOINT active_record_1 [attached] save attached SQL (7.4ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:09:04 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "d57cf474-fadf-442d-99c4-8c5fa70c7106"], ["file_size", 1055276], ["updated_at", Sat, 05 Oct 2013 09:09:04 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.3ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "audios" Fixture Insert (0.3ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2013-10-05 09:09:04', '2013-10-05 09:09:04', 410859157) Fixture Delete (0.2ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2013-10-05 09:09:04', '2013-10-05 09:09:04', 87884898)  (3.3ms) commit transaction  (0.2ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.8ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.3ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.2ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 14ms (ActiveRecord: 1.0ms)  (0.2ms) SELECT COUNT(*) FROM "audios"  (0.8ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Rendered audios/_form.html.haml (22.0ms) Completed 500 Internal Server Error in 81ms  (0.2ms) rollback transaction  (0.3ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.3ms) SELECT "audios".* FROM "audios" Completed 500 Internal Server Error in 36ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (5.5ms) Completed 500 Internal Server Error in 32ms  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 30ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2013-10-05 09:09:04 UTC", "updated_at"=>"2013-10-05 09:09:04 UTC"}, "id"=>"410859157"} Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]] Completed 500 Internal Server Error in 4ms  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.3ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 05 Oct 2013 09:09:05 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "d27fb97f-32ef-4fb1-b633-994fa9202bc4"], ["file_size", 399085], ["updated_at", Sat, 05 Oct 2013 09:09:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 1ms  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.2ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]  (0.2ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.6ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 12ms (ActiveRecord: 1.1ms)  (0.2ms) SELECT COUNT(*) FROM "images"  (4.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Rendered images/_form.html.haml (10.1ms) Completed 500 Internal Server Error in 39ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.2ms) SELECT "images".* FROM "images" Completed 500 Internal Server Error in 27ms  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (3.8ms) Completed 500 Internal Server Error in 23ms  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Completed 500 Internal Server Error in 22ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2013-10-05 09:09:04 UTC", "updated_at"=>"2013-10-05 09:09:04 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]] Redirected to http://test.host/images/87884898 Completed 302 Found in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 500 Internal Server Error in 20ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.2ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 06:58:05', '2014-05-14 06:58:05', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 06:58:05', '2014-05-14 06:58:05', 87884898)  (3.4ms) commit transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Audio: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/audios_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/functional/audios_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/functional/audios_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (1.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered audios/_form.html.haml (8.2ms) Rendered audios/new.html.haml within layouts/application (13.9ms) Completed 500 Internal Server Error in 46ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (1.6ms) Completed 500 Internal Server Error in 10ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 500 Internal Server Error in 17ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.8ms) Completed 500 Internal Server Error in 10ms  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 500 Internal Server Error in 35ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 06:58:05 UTC", "updated_at"=>"2014-05-14 06:58:05 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] WARNING: Can't mass-assign protected attributes for Audio: id, name, file_identifier, file_extension, file_size, created_at, updated_at protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' activerecord (4.1.1) lib/active_record/attribute_assignment.rb:24:in `assign_attributes' app/controllers/audios_controller.rb:43:in `update' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:513:in `put' test/functional/audios_controller_test.rb:42:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Image: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/images_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/functional/images_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/functional/images_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered images/_form.html.haml (3.3ms) Completed 500 Internal Server Error in 15ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (1.5ms) Completed 500 Internal Server Error in 9ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 500 Internal Server Error in 10ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.5ms) Completed 500 Internal Server Error in 8ms  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 500 Internal Server Error in 10ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 06:58:05 UTC", "updated_at"=>"2014-05-14 06:58:05 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 500 Internal Server Error in 11ms  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 06:59:02', '2014-05-14 06:59:02', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 06:59:02', '2014-05-14 06:59:02', 87884898)  (1.4ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Audio: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/audios_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/functional/audios_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/functional/audios_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.9ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered audios/_form.html.haml (6.1ms) Rendered audios/new.html.haml within layouts/application (9.5ms) Completed 200 OK in 43ms (Views: 32.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 5ms (ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (1.8ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.4ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 06:59:02 UTC", "updated_at"=>"2014-05-14 06:59:02 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] WARNING: Can't mass-assign protected attributes for Audio: id, name, file_identifier, file_extension, file_size, created_at, updated_at protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' activerecord (4.1.1) lib/active_record/attribute_assignment.rb:24:in `assign_attributes' app/controllers/audios_controller.rb:43:in `update' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:513:in `put' test/functional/audios_controller_test.rb:42:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Image: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/images_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/functional/images_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/functional/images_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered images/_form.html.haml (3.5ms) Completed 200 OK in 42ms (Views: 37.2ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.8ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (1.4ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.4ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 06:59:02 UTC", "updated_at"=>"2014-05-14 06:59:02 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 06:59:14', '2014-05-14 06:59:14', 410859157) Fixture Delete (0.0ms) DELETE FROM "images" Fixture Insert (0.0ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 06:59:14', '2014-05-14 06:59:14', 87884898)  (1.4ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Audio: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/audios_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/functional/audios_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/functional/audios_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (1.2ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered audios/_form.html.haml (6.7ms) Rendered audios/new.html.haml within layouts/application (10.2ms) Completed 200 OK in 29ms (Views: 17.7ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (2.6ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 11ms (Views: 11.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (2.0ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 06:59:14 UTC", "updated_at"=>"2014-05-14 06:59:14 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] WARNING: Can't mass-assign protected attributes for Audio: id, name, file_identifier, file_extension, file_size, created_at, updated_at protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' activerecord (4.1.1) lib/active_record/attribute_assignment.rb:24:in `assign_attributes' app/controllers/audios_controller.rb:43:in `update' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:513:in `put' test/functional/audios_controller_test.rb:42:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Image: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/images_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/functional/images_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/functional/images_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered images/_form.html.haml (3.9ms) Completed 200 OK in 11ms (Views: 6.6ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.0ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (1.6ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 06:59:14 UTC", "updated_at"=>"2014-05-14 06:59:14 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:22:24', '2014-05-14 07:22:24', 410859157) Fixture Delete (0.0ms) DELETE FROM "images" Fixture Insert (0.0ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:22:24', '2014-05-14 07:22:24', 87884898)  (0.8ms) commit transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Audio: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/audios_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/functional/audios_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/functional/audios_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.9ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered audios/_form.html.haml (6.5ms) Rendered audios/new.html.haml within layouts/application (9.6ms) Completed 200 OK in 2213ms (Views: 2202.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.2ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (2.7ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.6ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:22:24 UTC", "updated_at"=>"2014-05-14 07:22:24 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] WARNING: Can't mass-assign protected attributes for Audio: id, name, file_identifier, file_extension, file_size, created_at, updated_at protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' activerecord (4.1.1) lib/active_record/attribute_assignment.rb:24:in `assign_attributes' app/controllers/audios_controller.rb:43:in `update' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:513:in `put' test/functional/audios_controller_test.rb:42:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Image: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/images_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/functional/images_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/functional/images_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered images/_form.html.haml (3.3ms) Completed 200 OK in 11ms (Views: 6.1ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (1.5ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.2ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:22:24 UTC", "updated_at"=>"2014-05-14 07:22:24 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/audio_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/unit/image_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:24:48', '2014-05-14 07:24:48', 410859157) Fixture Delete (0.0ms) DELETE FROM "images" Fixture Insert (0.0ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:24:48', '2014-05-14 07:24:48', 87884898)  (1.4ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Audio: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/audios_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/controllers/audios_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/controllers/audios_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.9ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered audios/_form.html.haml (6.0ms) Rendered audios/new.html.haml within layouts/application (9.2ms) Completed 200 OK in 50ms (Views: 27.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.3ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (2.7ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.5ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:24:48 UTC", "updated_at"=>"2014-05-14 07:24:48 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] WARNING: Can't mass-assign protected attributes for Audio: id, name, file_identifier, file_extension, file_size, created_at, updated_at protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' activerecord (4.1.1) lib/active_record/attribute_assignment.rb:24:in `assign_attributes' app/controllers/audios_controller.rb:43:in `update' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:513:in `put' test/controllers/audios_controller_test.rb:42:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Image: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/images_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/controllers/images_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/controllers/images_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered images/_form.html.haml (3.6ms) Completed 200 OK in 11ms (Views: 6.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (2.0ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.6ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:24:48 UTC", "updated_at"=>"2014-05-14 07:24:48 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:25:04', '2014-05-14 07:25:04', 410859157) Fixture Delete (0.0ms) DELETE FROM "images" Fixture Insert (0.0ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:25:04', '2014-05-14 07:25:04', 87884898)  (1.4ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Audio: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/audios_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/controllers/audios_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/controllers/audios_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (1.1ms) Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.1ms) Rendered audios/_form.html.haml (7.8ms) Rendered audios/new.html.haml within layouts/application (11.6ms) Completed 200 OK in 49ms (Views: 30.5ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (2.3ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 8ms (Views: 8.2ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.7ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:25:04 UTC", "updated_at"=>"2014-05-14 07:25:04 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] WARNING: Can't mass-assign protected attributes for Audio: id, name, file_identifier, file_extension, file_size, created_at, updated_at protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' activerecord (4.1.1) lib/active_record/attribute_assignment.rb:24:in `assign_attributes' app/controllers/audios_controller.rb:43:in `update' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:513:in `put' test/controllers/audios_controller_test.rb:42:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Image: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/images_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/controllers/images_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/controllers/images_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.1ms) Rendered images/_form.html.haml (3.8ms) Completed 200 OK in 12ms (Views: 6.9ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (1.8ms) Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.5ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:25:04 UTC", "updated_at"=>"2014-05-14 07:25:04 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:25:40', '2014-05-14 07:25:40', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:25:40', '2014-05-14 07:25:40', 87884898)  (1.1ms) commit transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Audio: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/audios_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/controllers/audios_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/controllers/audios_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (1.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered audios/_form.html.haml (6.6ms) Rendered audios/new.html.haml within layouts/application (10.0ms) Completed 200 OK in 48ms (Views: 28.2ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (2.2ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.6ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:25:40 UTC", "updated_at"=>"2014-05-14 07:25:40 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] WARNING: Can't mass-assign protected attributes for Audio: id, name, file_identifier, file_extension, file_size, created_at, updated_at protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' activerecord (4.1.1) lib/active_record/attribute_assignment.rb:24:in `assign_attributes' app/controllers/audios_controller.rb:43:in `update' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:513:in `put' test/controllers/audios_controller_test.rb:42:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Image: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/images_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/controllers/images_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/controllers/images_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.2ms) Rendered images/_form.html.haml (3.9ms) Completed 200 OK in 12ms (Views: 7.0ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.2ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (1.9ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.6ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:25:40 UTC", "updated_at"=>"2014-05-14 07:25:40 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:25:50', '2014-05-14 07:25:50', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:25:50', '2014-05-14 07:25:50', 87884898)  (1.4ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Audio: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/audios_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/controllers/audios_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/controllers/audios_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (1.0ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered audios/_form.html.haml (6.3ms) Rendered audios/new.html.haml within layouts/application (9.8ms) Completed 200 OK in 47ms (Views: 27.8ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (2.2ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.7ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:25:50 UTC", "updated_at"=>"2014-05-14 07:25:50 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] WARNING: Can't mass-assign protected attributes for Audio: id, name, file_identifier, file_extension, file_size, created_at, updated_at protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' activerecord (4.1.1) lib/active_record/attribute_assignment.rb:24:in `assign_attributes' app/controllers/audios_controller.rb:43:in `update' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:513:in `put' test/controllers/audios_controller_test.rb:42:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Image: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/images_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/controllers/images_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/controllers/images_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.2ms) Rendered images/_form.html.haml (3.5ms) Completed 200 OK in 11ms (Views: 6.4ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (2.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.4ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:25:50 UTC", "updated_at"=>"2014-05-14 07:25:50 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:25:56', '2014-05-14 07:25:56', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:25:56', '2014-05-14 07:25:56', 87884898)  (1.4ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Audio: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/audios_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/controllers/audios_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/controllers/audios_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (1.0ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered audios/_form.html.haml (6.2ms) Rendered audios/new.html.haml within layouts/application (9.6ms) Completed 200 OK in 47ms (Views: 27.7ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.2ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 5ms (ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.5ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (2.0ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.6ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:25:56 UTC", "updated_at"=>"2014-05-14 07:25:56 UTC"}, "id"=>"410859157"} Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] WARNING: Can't mass-assign protected attributes for Audio: id, name, file_identifier, file_extension, file_size, created_at, updated_at protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' activerecord (4.1.1) lib/active_record/attribute_assignment.rb:24:in `assign_attributes' app/controllers/audios_controller.rb:43:in `update' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:513:in `put' test/controllers/audios_controller_test.rb:42:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} WARNING: Can't mass-assign protected attributes for Image: name, file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' app/controllers/images_controller.rb:35:in `create' actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:595:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:64:in `process' actionpack (4.1.1) lib/action_controller/test_case.rb:501:in `post' test/controllers/images_controller_test.rb:25:in `block (2 levels) in ' activesupport (4.1.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' test/controllers/images_controller_test.rb:24:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered shared/_error.html.haml (0.2ms) Rendered shared/_error.html.haml (0.1ms) Rendered shared/_error.html.haml (0.1ms) Rendered images/_form.html.haml (3.6ms) Completed 200 OK in 11ms (Views: 6.5ms | ActiveRecord: 0.1ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (1.5ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.4ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:25:56 UTC", "updated_at"=>"2014-05-14 07:25:56 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Audio: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/audio_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment --------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:28:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:40:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:46:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment ----------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:34:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment ------------------------------------- WARNING: Can't mass-assign protected attributes for Image: file protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:47:in `block in process_removed_attributes' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:372:in `add' /Users/kevin/.rbenv/versions/2.1.2/lib/ruby/2.1.0/logger.rb:443:in `warn' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes' protected_attributes (1.0.7) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize' protected_attributes (1.0.7) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.1.1) lib/active_record/core.rb:198:in `initialize' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' activerecord (4.1.1) lib/active_record/inheritance.rb:30:in `new' protected_attributes (1.0.7) lib/active_record/mass_assignment_security/persistence.rb:45:in `create' test/models/image_test.rb:22:in `block in ' minitest (5.3.3) lib/minitest/test.rb:106:in `block (3 levels) in run' minitest (5.3.3) lib/minitest/test.rb:204:in `capture_exceptions' minitest (5.3.3) lib/minitest/test.rb:103:in `block (2 levels) in run' minitest (5.3.3) lib/minitest/test.rb:256:in `time_it' minitest (5.3.3) lib/minitest/test.rb:102:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest/test.rb:276:in `with_info_handler' minitest (5.3.3) lib/minitest/test.rb:101:in `run' minitest (5.3.3) lib/minitest.rb:759:in `run_one_method' minitest (5.3.3) lib/minitest.rb:293:in `run_one_method' minitest (5.3.3) lib/minitest.rb:287:in `block (2 levels) in run' minitest (5.3.3) lib/minitest.rb:286:in `each' minitest (5.3.3) lib/minitest.rb:286:in `block in run' minitest (5.3.3) lib/minitest.rb:317:in `on_signal' minitest (5.3.3) lib/minitest.rb:306:in `with_info_handler' minitest (5.3.3) lib/minitest.rb:285:in `run' minitest (5.3.3) lib/minitest.rb:149:in `block in __run' minitest (5.3.3) lib/minitest.rb:149:in `map' minitest (5.3.3) lib/minitest.rb:149:in `__run' minitest (5.3.3) lib/minitest.rb:126:in `run' minitest (5.3.3) lib/minitest.rb:55:in `block in autorun'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:26:18', '2014-05-14 07:26:18', 410859157) Fixture Delete (0.0ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:26:18', '2014-05-14 07:26:18', 87884898)  (1.4ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 0ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 9ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (7.2ms) Completed 200 OK in 38ms (Views: 37.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 9ms (Views: 9.0ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.3ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:26:18 UTC", "updated_at"=>"2014-05-14 07:26:18 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 500 Internal Server Error in 0ms  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 0ms  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (2.5ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.3ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:26:18 UTC", "updated_at"=>"2014-05-14 07:26:18 UTC"}, "id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.3ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:26:18.778058"], ["file_extension", ".wav"], ["file_identifier", "7aad29c4-7736-4492-9455-1a6ff333d807"], ["file_size", 1055276], ["updated_at", "2014-05-14 07:26:18.778058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:26:19.020303"], ["file_extension", ".png"], ["file_identifier", "329d663d-5677-4285-a839-877859cfd838"], ["file_size", 399085], ["updated_at", "2014-05-14 07:26:19.020303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:26:30', '2014-05-14 07:26:30', 410859157) Fixture Delete (0.0ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:26:30', '2014-05-14 07:26:30', 87884898)  (1.5ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 0ms  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 9ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (7.2ms) Completed 200 OK in 38ms (Views: 37.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.5ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:26:30 UTC", "updated_at"=>"2014-05-14 07:26:30 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 0ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (2.9ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.4ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:26:30 UTC", "updated_at"=>"2014-05-14 07:26:30 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:26:31.568769"], ["file_extension", ".wav"], ["file_identifier", "d97113db-5a93-4cdb-a022-74292de1e40b"], ["file_size", 1055276], ["updated_at", "2014-05-14 07:26:31.568769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (2.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:26:31.773881"], ["file_extension", ".png"], ["file_identifier", "c371693a-cd36-4f6e-8f47-1e56fe5e0184"], ["file_size", 399085], ["updated_at", "2014-05-14 07:26:31.773881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:27:16', '2014-05-14 07:27:16', 410859157) Fixture Delete (0.0ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:27:16', '2014-05-14 07:27:16', 87884898)  (0.7ms) commit transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}} Completed 500 Internal Server Error in 0ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.3ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 10ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (7.5ms) Completed 200 OK in 38ms (Views: 37.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.3ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:27:16 UTC", "updated_at"=>"2014-05-14 07:27:16 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}} Completed 500 Internal Server Error in 0ms  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (3.2ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.3ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:27:16 UTC", "updated_at"=>"2014-05-14 07:27:16 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Redirected to http://test.host/images/87884898 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.3ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.2ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.4ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:27:17.293002"], ["file_extension", ".wav"], ["file_identifier", "16a35230-6ae5-47e4-9e09-2ecdbd31cd58"], ["file_size", 1055276], ["updated_at", "2014-05-14 07:27:17.293002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.4ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:27:17.493376"], ["file_extension", ".png"], ["file_identifier", "a954dc52-3b4b-4fbe-b01e-e1666d8a042d"], ["file_size", 399085], ["updated_at", "2014-05-14 07:27:17.493376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:28:33', '2014-05-14 07:28:33', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.0ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:28:33', '2014-05-14 07:28:33', 87884898)  (0.6ms) commit transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:28:34.229994"], ["file_extension", ".wav"], ["file_identifier", "a9034b45-c9c6-4387-b611-ef0c64c641e6"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", "2014-05-14 07:28:34.229994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 512ms (ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "audios"  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (20.4ms) Completed 200 OK in 44ms (Views: 43.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.3ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:28:33 UTC", "updated_at"=>"2014-05-14 07:28:33 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:28:34.481164"], ["file_extension", ".png"], ["file_identifier", "7f8e3f3d-4eea-4d98-8195-f4e1b8442201"], ["file_size", 399085], ["name", "Image"], ["updated_at", "2014-05-14 07:28:34.481164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 150ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (3.6ms) Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.5ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:28:33 UTC", "updated_at"=>"2014-05-14 07:28:33 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884898 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:28:35.080938"], ["file_extension", ".wav"], ["file_identifier", "a96d0f64-2c94-4378-980e-d12e3492d412"], ["file_size", 1055276], ["updated_at", "2014-05-14 07:28:35.080938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.2ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:28:35.282576"], ["file_extension", ".png"], ["file_identifier", "d2843290-f79a-4548-923e-f09ab58df1e2"], ["file_size", 399085], ["updated_at", "2014-05-14 07:28:35.282576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:28:41', '2014-05-14 07:28:41', 410859157) Fixture Delete (0.1ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:28:41', '2014-05-14 07:28:41', 87884898)  (19.3ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.2ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:28:41.712513"], ["file_extension", ".wav"], ["file_identifier", "90fc1944-196e-4a47-945e-4344ef62eb8c"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", "2014-05-14 07:28:41.712513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 512ms (ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (21.0ms) Completed 200 OK in 47ms (Views: 46.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.8ms) Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:28:41 UTC", "updated_at"=>"2014-05-14 07:28:41 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.2ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:28:41.972387"], ["file_extension", ".png"], ["file_identifier", "c70f2dd8-f763-4492-96d6-a94aab79c368"], ["file_size", 399085], ["name", "Image"], ["updated_at", "2014-05-14 07:28:41.972387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 151ms (ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.4ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (3.4ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.5ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:28:41 UTC", "updated_at"=>"2014-05-14 07:28:41 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884898 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:28:42.584209"], ["file_extension", ".wav"], ["file_identifier", "560a41f2-83cd-4734-a741-5da103917a9b"], ["file_size", 1055276], ["updated_at", "2014-05-14 07:28:42.584209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:28:42.781717"], ["file_extension", ".png"], ["file_identifier", "d77e071f-dd69-425a-9ff3-5ba9ae31b88d"], ["file_size", 399085], ["updated_at", "2014-05-14 07:28:42.781717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------- AttachedTest: test_attached_is_a_module ---------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "audios" Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2014-05-14 07:31:59', '2014-05-14 07:31:59', 410859157) Fixture Delete (0.0ms) DELETE FROM "images" Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2014-05-14 07:31:59', '2014-05-14 07:31:59', 87884898)  (1.4ms) commit transaction  (0.1ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_create_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#create as HTML Parameters: {"audio"=>{"name"=>"Audio", "file"=>#>}}  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:31:59.842720"], ["file_extension", ".wav"], ["file_identifier", "c0c22ae4-a660-4ebd-8640-d1c82246911f"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", "2014-05-14 07:31:59.842720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859158 Completed 302 Found in 514ms (ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- AudiosControllerTest: test_should_destroy_audio ----------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SELECT COUNT(*) FROM "audios" Processing by AudiosController#destroy as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]  (0.1ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "audios"  (0.4ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ AudiosControllerTest: test_should_get_edit ------------------------------------------ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#edit as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Rendered audios/_form.html.haml (18.7ms) Completed 200 OK in 168ms (Views: 167.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- AudiosControllerTest: test_should_get_index ------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#index as HTML Audio Load (0.1ms) SELECT "audios".* FROM "audios" Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudiosControllerTest: test_should_get_new ----------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#new as HTML Rendered audios/_form.html.haml (1.9ms) Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- AudiosControllerTest: test_should_show_audio -------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#show as HTML Parameters: {"id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- AudiosControllerTest: test_should_update_audio ---------------------------------------------- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Processing by AudiosController#update as HTML Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2014-05-14 07:31:59 UTC", "updated_at"=>"2014-05-14 07:31:59 UTC"}, "id"=>"410859157"} Audio Load (0.0ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]] Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/audios/410859157 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_create_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#create as HTML Parameters: {"image"=>{"name"=>"Image", "file"=>#>}}  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.4ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:32:00.226285"], ["file_extension", ".png"], ["file_identifier", "dbbf622a-9f59-4d7b-90b4-d6a78efa96a5"], ["file_size", 399085], ["name", "Image"], ["updated_at", "2014-05-14 07:32:00.226285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884899 Completed 302 Found in 151ms (ActiveRecord: 0.7ms)  (0.1ms) SELECT COUNT(*) FROM "images"  (0.3ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ImagesControllerTest: test_should_destroy_image ----------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.1ms) SELECT COUNT(*) FROM "images" Processing by ImagesController#destroy as HTML Parameters: {"id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]  (0.0ms) SAVEPOINT active_record_1 [attached] destroy attached SQL (0.2ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "images"  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ImagesControllerTest: test_should_get_edit ------------------------------------------ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#edit as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Rendered images/_form.html.haml (4.4ms) Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------- ImagesControllerTest: test_should_get_index ------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#index as HTML Image Load (0.1ms) SELECT "images".* FROM "images" Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImagesControllerTest: test_should_get_new ----------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#new as HTML Rendered images/_form.html.haml (1.9ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- ImagesControllerTest: test_should_show_image -------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#show as HTML Parameters: {"id"=>"87884898"} Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- ImagesControllerTest: test_should_update_image ---------------------------------------------- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Processing by ImagesController#update as HTML Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2014-05-14 07:31:59 UTC", "updated_at"=>"2014-05-14 07:31:59 UTC"}, "id"=>"87884898"} Image Load (0.0ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]] Unpermitted parameters: id, file_identifier, file_extension, file_size, created_at, updated_at  (0.0ms) SAVEPOINT active_record_1 [attached] save attached  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/images/87884898 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- MainControllerTest: test_should_get_index ----------------------------------------- Processing by MainController#index as HTML Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- AudioTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- AudioTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_large_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_too_small_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- AudioTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- AudioTest: test_valid_file_assignment -------------------------------------  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:32:00.838302"], ["file_extension", ".wav"], ["file_identifier", "e90ebfbd-b590-4fe9-9cd5-b13b9ba7bb04"], ["file_size", 1055276], ["updated_at", "2014-05-14 07:32:00.838302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- ImageTest: test_inavlid_file_assignment ---------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------- ImageTest: test_no_file_assignment ----------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_too_large_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ImageTest: test_too_small_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ImageTest: test_undefined_file_assignment -----------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ImageTest: test_valid_file_assignment -------------------------------------  (0.1ms) SAVEPOINT active_record_1 [attached] save attached SQL (0.3ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-05-14 07:32:01.032747"], ["file_extension", ".png"], ["file_identifier", "da527c5d-7f5c-4b94-aa6d-1280678e37fc"], ["file_size", 399085], ["updated_at", "2014-05-14 07:32:01.032747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction