test/dummy/log/test.log in polygallery-0.1.9 vs test/dummy/log/test.log in polygallery-0.2.1

- old
+ new

@@ -24197,5 +24197,10380 @@ Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]]  (0.2ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL  (14.9ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (56.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 13:52:43 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 175ms +  (25.0ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (56.2ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (248.3ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (1007.4ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 13:52:45 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 7ms +  (0.4ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.4ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.3ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (11.7ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.4ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 13:52:45 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 4ms +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (28.3ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 13:52:45 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 4ms +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (21.0ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 13:52:45 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 4ms +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (36.9ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 14:04:06 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 70ms +  (0.6ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.4ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.3ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (30.7ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 14:04:07 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 7ms +  (0.4ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.2ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.3ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (7.6ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 14:04:07 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 4ms +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (25.8ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 14:04:07 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 5ms +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (25.9ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 14:04:07 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 4ms +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (6.6ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 14:17:03 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 70ms +  (0.6ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (2.0ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.5ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (40.5ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 14:17:03 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 7ms +  (0.6ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (11.8ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.2ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (6.7ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 14:17:28 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 75ms +  (0.4ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.4ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.1ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (8.0ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 14:20:36 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 91ms +  (0.5ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.5ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.5ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (53.1ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 14:33:10 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 70ms +  (0.5ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.4ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.4ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (55.1ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 14:33:57 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 118ms +  (0.5ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.4ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.3ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (34.5ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 14:34:33 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 72ms +  (0.4ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.4ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.1ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (7.1ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 14:36:32 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 69ms +  (0.4ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.4ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.3ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (27.6ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:05 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (23.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (39.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (0.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (5.9ms) + Rendered events/_simple_form.html.haml (152.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.7ms) + Rendered events/_form.html.haml (6.4ms) + Rendered home/index.html.haml within layouts/application (185.4ms) +Completed 200 OK in 425ms (Views: 348.4ms | ActiveRecord: 7.6ms) +Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-30 14:46:05 -0600 +Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-06-30 14:46:05 -0600 +Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-30 14:46:05 -0600 +Started POST "/events" for 127.0.0.1 at 2015-06-30 14:46:06 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Frankfurter Leberkas Venison", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +  (0.2ms) BEGIN + SQL (50.3ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 20:46:06.682431"], ["title", "Frankfurter Leberkas Venison"], ["updated_at", "2015-06-30 20:46:06.682431"]] + SQL (31.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 20:46:06.761277"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 20:46:06.761277"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 20:46:06.794592"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 20:46:06.794592"]] +  (19.6ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 143ms (ActiveRecord: 102.5ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:06 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (5.6ms) + Rendered events/_simple_form.html.haml (16.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.5ms) + Rendered home/index.html.haml within layouts/application (18.6ms) +Completed 200 OK in 33ms (Views: 20.2ms | ActiveRecord: 3.3ms) +  (2.4ms) SELECT COUNT(*) FROM "events" + Event Load (0.9ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (21.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Event Load (0.3ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.6ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.7ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.2ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (11.4ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:19 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (9.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (26.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.3ms) + Rendered events/_simple_form.html.haml (76.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.4ms) + Rendered events/_form.html.haml (5.5ms) + Rendered home/index.html.haml within layouts/application (103.7ms) +Completed 200 OK in 259ms (Views: 183.0ms | ActiveRecord: 7.8ms) +Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-30 14:46:20 -0600 +Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-30 14:46:20 -0600 +Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-06-30 14:46:20 -0600 +Started POST "/events" for 127.0.0.1 at 2015-06-30 14:46:21 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Brisket Pastrami Pork", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007f9f445c77c8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-85608-l3jfgs>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-4qe3ek.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b4fejn.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b4fejn.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b4fejn.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b4fejn20150630-85608-16efizv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b4fejn20150630-85608-16efizv' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b4fejn.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b4fejn.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b4fejn.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b4fejn20150630-85608-ob3nhb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b4fejn20150630-85608-ob3nhb' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-11k3cuj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1xal1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1vj4xso.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-4rwjb7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1uetthw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-jigrq.png' + SQL (22.3ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 20:46:21.579630"], ["title", "Brisket Pastrami Pork"], ["updated_at", "2015-06-30 20:46:21.579630"]] + SQL (1.0ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 20:46:21.609002"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 20:46:21.609002"]] + SQL (1.0ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 20:46:21.612118"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 20:46:21.159286"], ["updated_at", "2015-06-30 20:46:21.612118"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 20:46:21.654003"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 20:46:21.654003"]] +  (16.0ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 569ms (ActiveRecord: 41.0ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:21 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (8.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.1ms) + Rendered events/_simple_form.html.haml (18.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.2ms) + Rendered events/_form.html.haml (1.4ms) + Rendered home/index.html.haml within layouts/application (21.5ms) +Completed 200 OK in 38ms (Views: 23.4ms | ActiveRecord: 3.3ms) +  (0.6ms) SELECT COUNT(*) FROM "events" + Event Load (0.6ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.4ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.6ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.1ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (22.9ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:22 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.1ms) + Rendered events/_simple_form.html.haml (17.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.5ms) + Rendered home/index.html.haml within layouts/application (19.7ms) +Completed 200 OK in 30ms (Views: 21.0ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 14:46:22 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Ball Tip Frankfurter Sausage", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +  (0.2ms) BEGIN + SQL (0.7ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 20:46:22.562184"], ["title", "Ball Tip Frankfurter Sausage"], ["updated_at", "2015-06-30 20:46:22.562184"]] + SQL (0.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 20:46:22.564566"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 20:46:22.564566"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 20:46:22.567188"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 20:46:22.567188"]] +  (0.6ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 14ms (ActiveRecord: 2.7ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:22 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (5.8ms) + Rendered events/_simple_form.html.haml (18.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.7ms) + Rendered home/index.html.haml within layouts/application (20.8ms) +Completed 200 OK in 34ms (Views: 23.2ms | ActiveRecord: 0.8ms) +  (0.9ms) SELECT COUNT(*) FROM "events" + Event Load (0.6ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Event Load (0.3ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.4ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.1ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (8.1ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:22 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.0ms) + Rendered events/_simple_form.html.haml (17.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.2ms) + Rendered events/_form.html.haml (1.5ms) + Rendered home/index.html.haml within layouts/application (19.7ms) +Completed 200 OK in 30ms (Views: 21.2ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 14:46:23 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Shankle Drumstick Turkey", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007f9f48fee068 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-85608-phlcop>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1i8os9m.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h87gwy.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h87gwy.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h87gwy.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h87gwy20150630-85608-1g6spi' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h87gwy20150630-85608-1g6spi' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h87gwy.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h87gwy.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h87gwy.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h87gwy20150630-85608-1vi52q2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h87gwy20150630-85608-1vi52q2' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1kpeyrn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-jcvao3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-8qh4qe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-3hm6az.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-15shekp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1m3ydl9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1wqelof.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-tvbbyg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1oz834m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-153jrsd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-m7rm93.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-k45tdi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h5lr78.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-3hk9fv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1e7zjh6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1c4kigd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3z1wk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1pz3xvy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-4mqi9s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1v7w1iv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-152dpau.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1dpgnpj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1quanx3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-orerq5.png' + SQL (0.9ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 20:46:24.104788"], ["title", "Shankle Drumstick Turkey"], ["updated_at", "2015-06-30 20:46:24.104788"]] + SQL (0.6ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 20:46:24.159445"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 20:46:24.159445"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 20:46:24.161455"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 20:46:24.161455"]] + SQL (15.9ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 20:46:24.164396"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 20:46:23.629634"], ["updated_at", "2015-06-30 20:46:24.164396"]] +  (30.9ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 664ms (ActiveRecord: 48.8ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:24 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (12.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (10.6ms) + Rendered events/_simple_form.html.haml (28.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.8ms) + Rendered home/index.html.haml within layouts/application (33.2ms) +Completed 200 OK in 51ms (Views: 35.3ms | ActiveRecord: 0.7ms) +  (0.7ms) SELECT COUNT(*) FROM "events" + Event Load (0.6ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.4ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.7ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.5ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (22.4ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:24 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.1ms) + Rendered events/_simple_form.html.haml (18.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.2ms) + Rendered events/_form.html.haml (1.6ms) + Rendered home/index.html.haml within layouts/application (20.6ms) +Completed 200 OK in 32ms (Views: 22.2ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 14:46:26 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Filet Mignon Pig Short Loin", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007f9f48a13490 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-85608-18qr2yo>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435697185343"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007f9f48a130f8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-85608-rywokg>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435697185343][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435697185668"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007f9f48a12ce8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-85608-oni8ru>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435697185668][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007f9f48a125b8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-85608-zi0w6z>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435697186274"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007f9f48a12220 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-85608-13wntm6>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435697186274][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-8k9qs7.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xpvacr.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xpvacr.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xpvacr.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xpvacr20150630-85608-tch3sz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xpvacr20150630-85608-tch3sz' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xpvacr.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xpvacr.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xpvacr.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xpvacr20150630-85608-awzcfo' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xpvacr20150630-85608-awzcfo' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-mdd0l2.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-129agl7.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-129agl7.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-129agl7.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-129agl720150630-85608-17j318o' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-129agl720150630-85608-17j318o' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-129agl7.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-129agl7.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-129agl7.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-129agl720150630-85608-12hmqk3' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-129agl720150630-85608-12hmqk3' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-o03z8b.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qkjjqg.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qkjjqg.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qkjjqg.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qkjjqg20150630-85608-16th9gk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qkjjqg20150630-85608-16th9gk' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qkjjqg.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qkjjqg.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qkjjqg.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qkjjqg20150630-85608-1mtms4g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qkjjqg20150630-85608-1mtms4g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1su4lfx.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f2fvk.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f2fvk.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f2fvk.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f2fvk20150630-85608-7dezeo' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f2fvk20150630-85608-7dezeo' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f2fvk.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f2fvk.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f2fvk.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f2fvk20150630-85608-1nnjf27' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f2fvk20150630-85608-1nnjf27' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-j6lyue.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sfzx83.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sfzx83.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sfzx83.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sfzx8320150630-85608-7cp4m7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sfzx8320150630-85608-7cp4m7' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sfzx83.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sfzx83.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sfzx83.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sfzx8320150630-85608-1012uc8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sfzx8320150630-85608-1012uc8' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-wqhn0s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-qf496y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-cs491l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1kuipt6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-vl827u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-e0jmo8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1fw0h18.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1rt91my.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-2qvwir.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-m6hj7t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-qwg1ch.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h36o1v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-vmgln.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1inalf3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-g3cetm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1vc4nqv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1pw56op.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1eqxu8b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-19xy9b0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-8ostn5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-7kl3er.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ksphfl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1kfx77.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-mhb8wm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-go4xa3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-7aqqt4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-5zjwcm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1v8pskn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1nnhk37.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1kj78pr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1iesanw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1gzjg7z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-c2vuae.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-iiimxz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-csvjtb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-wqmws4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-zgkgp3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1meucry.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1boe3sa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-u07wrc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-zbe2wn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ka677v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-nkziml.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ucnpo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1o58iy2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1gnkud7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-dly92a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-yflum4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-4b2zop.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f360n2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f2eijo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-fjohvl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sv33fk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-pxx4xt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1rvo8f5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-gyzr8b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1hw3n23.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1xz77nu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-hz1o1n.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-hjtgnn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-i3rugg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ngtmhs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-njlqy2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1tlwhwd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1ekyts7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-lmxbnp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-r9vkvc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1iksdwa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-fa651q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-zsg2yi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-9wp47k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ahd8n3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1avovid.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-dlalg6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-e7a3za.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ph8x4e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-fzk9lf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1p2zxck.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-10ac090.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-10eptg4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-em0jtn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-w4nu0w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-11zhtj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-17d3jwp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1k3ffdw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1jx5zd4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-t0qx9p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-101ugiy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-co7ng8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-2hqm4d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-t9g010.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-5xm2lk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-fogl9q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-pqkd35.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-3hj1pb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-a16gnj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-oe9aic.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-26dfxs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-geo1c2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-gta2dh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xshi6g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1smv4bl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-fyvyxc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1cyrxtc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-tf5jof.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-15ibmmt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1jv5qwi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1jhd2gz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ic8sjr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-184jcyt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-j38xau.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b6pbkr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-pymt26.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-qb2ilg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1z08jys.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1kpd3gj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1ccv3zx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-13hg9d3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1fl1swz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-uob1si.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-q8rqpg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-aeka0d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-v1zn5o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1aq3hw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1mcox4n.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-r60fzv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-py1wu4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-12r70ie.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1a0trqr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-bhj0xx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-103yadu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-2mgi0x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-cunyaw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1u7dyg8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-166b4yh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1eeqy9m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1c87hmo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-svbc83.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-uo35qh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-jjqcf3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-181ikkl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1y3olxx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1wm8jbj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ak6t6y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-sthe4f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-jr0s4w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1y3n1jy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b6mnon.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-5catwc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-vy8y89.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1xnyi6q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-165sr1a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-im5101.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1wmms2m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-nhfxvm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-qb4493.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-gawbzg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-iiir8j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-o2hb7p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-7d44fo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-rf2hpf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-o3c8xf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qt8k2n.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-q00bgb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1186maz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-129gqcu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-hzdtex.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-14s6if9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-mj30fj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-beu70z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-o7mhxe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1m278vw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1f5onlm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-19jjlq6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-jli4sr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-17aezyx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-17subu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-75dugh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xtwiwg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-18te932.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-tqk5b1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ms32zp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-16t4tno.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1uciuaq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-mnrcid.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qnz1nz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ebkevd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-axjau3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-l0eins.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-iqzgcp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1hjqfoa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-o74r3c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-131026s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-553voh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1aokuzw.png' + SQL (11.3ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 20:46:30.101430"], ["title", "Filet Mignon Pig Short Loin"], ["updated_at", "2015-06-30 20:46:30.101430"]] + SQL (0.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 20:46:30.115120"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 20:46:30.115120"]] + SQL (1.0ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 20:46:30.118386"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 20:46:26.690380"], ["updated_at", "2015-06-30 20:46:30.118386"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 20:46:30.137987"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 20:46:26.966208"], ["updated_at", "2015-06-30 20:46:30.137987"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 20:46:30.155865"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 20:46:27.235572"], ["updated_at", "2015-06-30 20:46:30.155865"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 20:46:30.183766"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 20:46:30.183766"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 20:46:30.185456"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 20:46:27.512199"], ["updated_at", "2015-06-30 20:46:30.185456"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 20:46:30.216446"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 20:46:27.773002"], ["updated_at", "2015-06-30 20:46:30.216446"]] +  (15.8ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 3641ms (ActiveRecord: 30.6ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:30 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (10.4ms) + Rendered events/_simple_form.html.haml (28.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (2.0ms) + Rendered home/index.html.haml within layouts/application (33.2ms) +Completed 200 OK in 51ms (Views: 36.2ms | ActiveRecord: 0.0ms) +  (0.7ms) SELECT COUNT(*) FROM "events" + Event Load (0.5ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.8ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.3ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.2ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (49.8ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:30 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (12.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (12.2ms) + Rendered events/_simple_form.html.haml (30.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.2ms) + Rendered events/_form.html.haml (2.8ms) + Rendered home/index.html.haml within layouts/application (33.5ms) +Completed 200 OK in 50ms (Views: 35.8ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 14:46:32 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Hamburger Drumstick Strip Steak", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007f9f48a6b870 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-85608-1huph9o>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435697191450"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007f9f48a6b500 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-85608-1weraid>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435697191450][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435697191787"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007f9f48a6b078 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-85608-8k9hsi>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435697191787][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-p480pt.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-6aw6i6.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-6aw6i6.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-6aw6i6.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-6aw6i620150630-85608-1iq2vgg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-6aw6i620150630-85608-1iq2vgg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-6aw6i6.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-6aw6i6.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-6aw6i6.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-6aw6i620150630-85608-s3btlg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-6aw6i620150630-85608-s3btlg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-15k3ns5.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ryc4wh.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ryc4wh.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ryc4wh.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ryc4wh20150630-85608-1bno0we' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ryc4wh20150630-85608-1bno0we' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ryc4wh.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ryc4wh.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ryc4wh.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ryc4wh20150630-85608-113nkxw' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ryc4wh20150630-85608-113nkxw' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-vo5xxm.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3amfz.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3amfz.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3amfz.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3amfz20150630-85608-gea01e' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3amfz20150630-85608-gea01e' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3amfz.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3amfz.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3amfz.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3amfz20150630-85608-w0kyot' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3amfz20150630-85608-w0kyot' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-bkf2de.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-och2np.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-460vcn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1p09dq6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-6hi9ft.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-13cn7h8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-17lcsaf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-irgasn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-7msc2c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f74fc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-11rhz6w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-2ypbtk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1cwfvga.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-qh5l6d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1bjv3gq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-gtu6f2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ulo72u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-16gsa6j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-137kbv1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-h5d0tt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1aamjjg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1zetv2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-25tqmo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1dqpye8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-14cz97x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1xrrass.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-dljfcz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-5m7q4u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qbsnb5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1khh14r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1hobdal.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1rw3s28.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qwgpnw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j96mt1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1sbxupf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-kjv5i6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-thfdcm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1v61r54.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1ngvr4x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1629gww.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1dvnjq5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1g7tdgs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-w4lcs8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1hfk7d0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-16c8l7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1y408t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1l3pz28.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ky8x7q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1xsiojy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-fw420o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-67mjra.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-19e7ucc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1jo8qvp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-14zg6x2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-u3wkxi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-14rzhyx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-r9ku8r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1r93db9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1jo85sv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-579n0j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1vnrecx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1dueg0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-3nou0f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-12o52jw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1si1t1a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-10z9t7a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-iezzh0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1lkqgj0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1fo33bf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-103tdgh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1h8gtla.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-dlitg2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-15ic47p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1grex5p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-gyrjl6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-czoidl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1vs8p9u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-a5i481.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1dmn202.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1m5l4qo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1gs4xku.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1pvtw4j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-u01r00.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1pre6dm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1wqdz42.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qwr2oj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1fzkzek.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-bsxzwz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-18gsbnq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-odapg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1ld2ki6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-164w5e9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1hswcj7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-texdrz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-vtolyr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-113ebxw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-t9qakk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-dgirjm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-17b8bwd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-xqktjb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-13u6izc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-rxe57y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1r0n1xg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-19a970c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-18wa64p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1aout0u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-jtcipz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1viye3g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-fdu0ub.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1jitpme.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1juupln.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1bv5saf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-kgk0j7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-18hd789.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1qrdwt0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-706000.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1j3kx9j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1cuk8vv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-11yfl4y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1az408m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1wimh7j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-ag9k6m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-kv5gtz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-hz1g89.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1d2y494.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1mvjl36.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1usao1n.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1dbmokh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1idxq2a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1cy797i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-vs3rdc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1fweueo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-f946ax.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b93ir1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1rresc6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-8ke0wt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-l3lnl6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-atdai0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-8xl93m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1i4onn9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1gjgcdm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-cjnvmw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-mkdmkr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-16du4yr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-b0zixe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-9q5101.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1whfscn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1ipzhc2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1w0zjwn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-85608-1cjadzz.png' + SQL (16.1ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 20:46:34.766069"], ["title", "Hamburger Drumstick Strip Steak"], ["updated_at", "2015-06-30 20:46:34.766069"]] + SQL (0.7ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 20:46:34.783953"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 20:46:34.783953"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 20:46:34.785823"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 20:46:34.785823"]] + SQL (15.8ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 20:46:34.788577"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 20:46:32.402459"], ["updated_at", "2015-06-30 20:46:34.788577"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 20:46:34.826790"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 20:46:32.667238"], ["updated_at", "2015-06-30 20:46:34.826790"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 20:46:34.850694"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 20:46:32.949707"], ["updated_at", "2015-06-30 20:46:34.850694"]] +  (23.3ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 2805ms (ActiveRecord: 56.9ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 14:46:34 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (12.2ms) + Rendered events/_simple_form.html.haml (31.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.3ms) + Rendered events/_form.html.haml (2.7ms) + Rendered home/index.html.haml within layouts/application (37.5ms) +Completed 200 OK in 55ms (Views: 40.8ms | ActiveRecord: 0.0ms) +  (0.5ms) SELECT COUNT(*) FROM "events" + Event Load (0.3ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (24.2ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (32.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (16.0ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.9ms) BEGIN +  (0.4ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.4ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.6ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.4ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.6ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) COMMIT +  (0.3ms) BEGIN +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.6ms) ROLLBACK +  (0.3ms) BEGIN +  (0.2ms) COMMIT +  (0.2ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.5ms) COMMIT +  (0.3ms) BEGIN +  (0.6ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.6ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.4ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.9ms) COMMIT +  (0.4ms) BEGIN +  (0.5ms) ROLLBACK +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.4ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.4ms) BEGIN +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.4ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (6.0ms) COMMIT +  (0.5ms) BEGIN +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (1.0ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.6ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (2.0ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.2ms) COMMIT +  (0.2ms) BEGIN +  (0.8ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.4ms) COMMIT +  (0.3ms) BEGIN +  (1.1ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.4ms) BEGIN +  (0.4ms) ROLLBACK +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.4ms) BEGIN +  (0.6ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.7ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.4ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.7ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.8ms) ROLLBACK +  (0.3ms) BEGIN +  (0.2ms) COMMIT +  (0.2ms) BEGIN +  (0.5ms) ROLLBACK +  (0.6ms) BEGIN +  (0.4ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (3.7ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.8ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.4ms) COMMIT +  (0.5ms) BEGIN +  (0.7ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.9ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.9ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.6ms) BEGIN +  (0.5ms) COMMIT +  (0.3ms) BEGIN +  (0.9ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.9ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.8ms) ROLLBACK + ActiveRecord::SchemaMigration Load (2.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.8ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.4ms) COMMIT +  (0.4ms) BEGIN +  (0.8ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.9ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.9ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.2ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 17:25:47 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (43.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (104.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (16.2ms) + Rendered events/_simple_form.html.haml (248.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (4.7ms) + Rendered events/_form.html.haml (17.9ms) + Rendered home/index.html.haml within layouts/application (336.5ms) +Completed 200 OK in 713ms (Views: 489.5ms | ActiveRecord: 25.4ms) +Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-30 17:25:48 -0600 +Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-30 17:25:48 -0600 +  (2.2ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (5.4ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (16.4ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (94.1ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.8ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:26:05 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (25.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (17.0ms) + Rendered events/_simple_form.html.haml (63.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.9ms) + Rendered events/_form.html.haml (5.2ms) + Rendered home/index.html.haml within layouts/application (71.3ms) +Completed 200 OK in 116ms (Views: 72.7ms | ActiveRecord: 10.5ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 17:26:07 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Meatball Porchetta Tail", "gallery_attributes"=>{"title"=>"gallery"}, "custom_gallery_attributes"=>{"title"=>"custom_gallery"}}, "commit"=>"Create Event"} +  (0.4ms) BEGIN + SQL (17.9ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:26:07.373552"], ["title", "Meatball Porchetta Tail"], ["updated_at", "2015-06-30 23:26:07.373552"]] + SQL (1.7ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:26:07.523355"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:26:07.523355"]] + SQL (1.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:26:07.530849"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:26:07.530849"]] +  (1.4ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 198ms (ActiveRecord: 25.8ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 17:26:07 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (16.9ms) + Rendered events/_simple_form.html.haml (58.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.8ms) + Rendered events/_form.html.haml (5.3ms) + Rendered home/index.html.haml within layouts/application (68.0ms) +Completed 200 OK in 108ms (Views: 74.5ms | ActiveRecord: 0.0ms) +  (1.4ms) SELECT COUNT(*) FROM "events" + Event Load (1.5ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (1.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (2.0ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Event Load (0.8ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (1.1ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.9ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.0ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (5.0ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (3.4ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (55.8ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.4ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:26:08 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (17.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (15.7ms) + Rendered events/_simple_form.html.haml (47.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.8ms) + Rendered events/_form.html.haml (4.9ms) + Rendered home/index.html.haml within layouts/application (54.1ms) +Completed 200 OK in 89ms (Views: 58.9ms | ActiveRecord: 0.0ms) +  (0.9ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (47.0ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.8ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:26:25 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (10.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (29.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (17.5ms) + Rendered events/_simple_form.html.haml (62.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.7ms) + Rendered events/_form.html.haml (4.6ms) + Rendered home/index.html.haml within layouts/application (69.0ms) +Completed 200 OK in 106ms (Views: 73.1ms | ActiveRecord: 0.0ms) +  (0.8ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (192.9ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.9ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:26:41 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (17.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (15.6ms) + Rendered events/_simple_form.html.haml (46.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.8ms) + Rendered events/_form.html.haml (4.7ms) + Rendered home/index.html.haml within layouts/application (52.8ms) +Completed 200 OK in 88ms (Views: 56.6ms | ActiveRecord: 0.0ms) +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (6.7ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 17:28:08 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 238ms +  (1.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (4.5ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (4.2ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (36.6ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.8ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:28:09 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 31ms +  (1.4ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (4.5ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (4.2ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (19.9ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.9ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:28:10 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 24ms +  (0.9ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (34.1ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:28:10 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 28ms +  (0.9ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (35.7ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.9ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:28:11 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 30ms +  (1.5ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (20.3ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.2ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 17:29:23 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 237ms +  (1.2ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (4.5ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (4.8ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (81.6ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.0ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:29:24 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 31ms +  (1.2ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (4.5ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (4.2ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (26.0ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.9ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:29:24 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 22ms +  (0.9ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (16.5ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:29:25 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 36ms +  (1.1ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (19.8ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.9ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:29:25 -0600 +Processing by HomeController#index as HTML +Completed 500 Internal Server Error in 25ms +  (0.8ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (16.3ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.1ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 17:30:53 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (28.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (11.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (81.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.7ms) + Rendered events/_simple_form.html.haml (229.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (4.6ms) + Rendered events/_form.html.haml (17.1ms) + Rendered home/index.html.haml within layouts/application (317.8ms) +Completed 200 OK in 689ms (Views: 466.0ms | ActiveRecord: 24.6ms) +Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-30 17:30:54 -0600 +Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-30 17:30:54 -0600 +Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-06-30 17:30:54 -0600 +Started POST "/events" for 127.0.0.1 at 2015-06-30 17:30:57 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Pork Loin Hamburger T Bone", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +  (0.5ms) BEGIN + SQL (18.1ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:30:57.427908"], ["title", "Pork Loin Hamburger T Bone"], ["updated_at", "2015-06-30 23:30:57.427908"]] + SQL (3.0ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:30:57.462856"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:30:57.462856"]] + SQL (1.0ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:30:57.471010"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:30:57.471010"]] +  (1.4ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 77ms (ActiveRecord: 24.4ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 17:30:57 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.4ms) + Rendered events/_simple_form.html.haml (59.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.7ms) + Rendered events/_form.html.haml (4.7ms) + Rendered home/index.html.haml within layouts/application (67.9ms) +Completed 200 OK in 116ms (Views: 73.0ms | ActiveRecord: 10.0ms) +  (6.2ms) SELECT COUNT(*) FROM "events" + Event Load (3.2ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (1.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (3.7ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Event Load (2.1ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (1.1ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.0ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.6ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (5.1ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (4.6ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (21.0ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.9ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:30:58 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (20.7ms) + Rendered events/_simple_form.html.haml (55.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.3ms) + Rendered events/_form.html.haml (5.7ms) + Rendered home/index.html.haml within layouts/application (62.4ms) +Completed 200 OK in 119ms (Views: 66.4ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 17:31:06 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Tongue Tail Short Ribs", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fd0dc75a350 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-88996-1yx6z7x>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435707061552"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fd0dc759f18 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-88996-hh2789>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435707061552][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435707062682"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fd0dc759b58 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-88996-kfs7x7>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435707062682][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fd0dc759428 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-88996-1yfdbf>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435707064813"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fd0dc759130 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-88996-13dev5x>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435707064813][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-x3r1o8.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-vuws5e.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-vuws5e.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-vuws5e.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-vuws5e20150630-88996-1je35k4' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-vuws5e20150630-88996-1je35k4' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-vuws5e.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-vuws5e.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-vuws5e.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-vuws5e20150630-88996-rai623' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-vuws5e20150630-88996-rai623' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ezylnx.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ojg5r1.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ojg5r1.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ojg5r1.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ojg5r120150630-88996-cm1gz8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ojg5r120150630-88996-cm1gz8' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ojg5r1.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ojg5r1.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ojg5r1.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ojg5r120150630-88996-lmlclh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ojg5r120150630-88996-lmlclh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-bpwm72.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pf6525.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pf6525.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pf6525.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pf652520150630-88996-hor1ev' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pf652520150630-88996-hor1ev' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pf6525.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pf6525.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pf6525.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pf652520150630-88996-1xdx734' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pf652520150630-88996-1xdx734' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-c0ewy8.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2z4p5v.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2z4p5v.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2z4p5v.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2z4p5v20150630-88996-jdmgii' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2z4p5v20150630-88996-jdmgii' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2z4p5v.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2z4p5v.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2z4p5v.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2z4p5v20150630-88996-yel122' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2z4p5v20150630-88996-yel122' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-phn0xq.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-19yvipv.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-19yvipv.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-19yvipv.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-19yvipv20150630-88996-1389j3e' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-19yvipv20150630-88996-1389j3e' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-19yvipv.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-19yvipv.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-19yvipv.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-19yvipv20150630-88996-z0zm4u' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-19yvipv20150630-88996-z0zm4u' +  (0.7ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1qpthtz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-9f0y9p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-hrolhw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2yc304.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1sl4bl7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1bv5ibl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-7gfmkw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-i3id1e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-sofrts.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-7dihme.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-s0clab.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-lmsks.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-kqxyb7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1355jkz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1axvx1h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-13vgxlu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-w10fop.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-d7d6zl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-14y9qmj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-gs049j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-10n6l2m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1yenv8i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1cqo7hd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1t5l4ee.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-lgbbhm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ci9ov0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1hc9j69.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-8yus0u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-qz6zvz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1dpslrc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1xlw1x4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-q4a7yp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-e8mbcy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-9lylmz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-mtc306.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1roeyyc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-f4ae1u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-onsue9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1yivx0h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-10mmub8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-75xgj7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1dwqqkn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-67r7q8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pr8c6g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1ufvmrj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ylv2y3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18xiotu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1t4wdag.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1vaq2u0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1taesg9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-7xd198.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1i9c39a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-11obb1c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-935jrk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pj0nsa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1eliwc7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1f0jud2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2zle84.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-16b16ua.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-h7neji.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-35m7lm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1045y1u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-y62s94.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-lwa3p3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-hjt164.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1pj395s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12y3uxq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-15e9smg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-typcnj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-17f6mpv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1k3oybk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-hef49i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1daeebc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-60qkho.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-vsvqt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-13xqbon.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-zf24ei.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18kto8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-8gh8gv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1aokfa2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1ib8694.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ou57g1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1d8s0db.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-7w5m6e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-j4b80x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-w6gcmx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-10egjba.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-t663x7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-13toxgr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-f312uy.png' + SQL (2.9ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:31:13.154148"], ["title", "Tongue Tail Short Ribs"], ["updated_at", "2015-06-30 23:31:13.154148"]] + SQL (2.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:31:13.163747"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:31:13.163747"]] + SQL (2.1ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 23:31:13.171313"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:31:06.299676"], ["updated_at", "2015-06-30 23:31:13.171313"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 23:31:13.261941"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:31:07.913630"], ["updated_at", "2015-06-30 23:31:13.261941"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 23:31:13.287120"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:31:08.648287"], ["updated_at", "2015-06-30 23:31:13.287120"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:31:13.304342"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:31:13.304342"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 23:31:13.305894"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:31:09.445487"], ["updated_at", "2015-06-30 23:31:13.305894"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 23:31:13.322219"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:31:10.024324"], ["updated_at", "2015-06-30 23:31:13.322219"]] +  (15.5ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 7234ms (ActiveRecord: 26.2ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 17:31:13 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (25.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (26.2ms) + Rendered events/_simple_form.html.haml (67.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.9ms) + Rendered events/_form.html.haml (7.2ms) + Rendered home/index.html.haml within layouts/application (78.8ms) +Completed 200 OK in 99ms (Views: 86.3ms | ActiveRecord: 0.7ms) +  (0.9ms) SELECT COUNT(*) FROM "events" + Event Load (2.4ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.4ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.1ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (155.8ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.9ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:31:14 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (31.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (31.9ms) + Rendered events/_simple_form.html.haml (84.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.9ms) + Rendered events/_form.html.haml (6.4ms) + Rendered home/index.html.haml within layouts/application (95.1ms) +Completed 200 OK in 142ms (Views: 100.1ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 17:31:19 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Jerky Brisket Capicola", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fd0dc4aa3a8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-88996-1tk7lo8>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435707077047"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fd0dc4a9f48 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-88996-1q7jysz>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435707077047][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435707078004"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fd0dc4a9b38 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-88996-1g9zniq>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435707078004][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-oeculz.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12nowx2.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12nowx2.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12nowx2.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12nowx220150630-88996-16mgird' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12nowx220150630-88996-16mgird' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12nowx2.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12nowx2.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12nowx2.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12nowx220150630-88996-zf7eii' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12nowx220150630-88996-zf7eii' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-9hu8tx.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4atzek.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4atzek.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4atzek.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4atzek20150630-88996-1ope4pk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4atzek20150630-88996-1ope4pk' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4atzek.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4atzek.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4atzek.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4atzek20150630-88996-15u5ayv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4atzek20150630-88996-15u5ayv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2cepng.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18kp0of.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18kp0of.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18kp0of.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18kp0of20150630-88996-10cbyns' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18kp0of20150630-88996-10cbyns' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18kp0of.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18kp0of.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18kp0of.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18kp0of20150630-88996-1dd4ima' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-18kp0of20150630-88996-1dd4ima' +  (0.5ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1hhadf5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-fe4yoj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-189s5hy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ts0ohs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-17m8nt9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-yy47qu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1sy3tgd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12qjmfs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2kmns9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-gogr9l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-16lu9ug.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-g48s0j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-h35dpi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-bdxm8a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1yy00ik.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1cjflsh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1ou2zpt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-azy48g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-b766t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1rkcdo4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1r17vhz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-zp4f0s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2g8x1x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-8wloug.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-660xue.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1hosx61.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-hr2d3b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1huqvi0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-190qar7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-dqf2aw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1wntemy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-m337ff.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-174bvbl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-56dj17.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-8gzrwy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-2nn9ri.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-grqy8s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-hds1gc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1so22pf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-nq5b8g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-eg72d1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1ggg8p9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-xgdl29.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1ed592o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-17sfieg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-u8uvj4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1hb14ha.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-kauv1d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4v8cyb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1oyost.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-122ztf8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-gxozn6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-13evchx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pvkbuw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1h4ekrn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-n0vz7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-xnjk6u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1bf4oks.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1tpdlps.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4hpn2y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-anaogn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1qvd3va.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1uvufzz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1jkxigb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1kng1o6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-nlts7k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1abjo1r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-34krh0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1aal7a4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-w3r7i2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-3t4g49.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1i1koel.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-119seke.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-16i8544.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-n8zbnm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-r4kamp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-r4wrix.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1phcjlp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-55gxj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-16qcr18.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ki95a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-5jw3ug.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1tknx3a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1gktpl1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1u23u8f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-n719m8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-853jco.png' + SQL (2.6ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:31:25.603497"], ["title", "Jerky Brisket Capicola"], ["updated_at", "2015-06-30 23:31:25.603497"]] + SQL (2.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:31:25.612443"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:31:25.612443"]] + SQL (0.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:31:25.620183"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:31:25.620183"]] + SQL (2.4ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 23:31:25.628510"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:31:19.295172"], ["updated_at", "2015-06-30 23:31:25.628510"]] + SQL (1.1ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 23:31:25.691996"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:31:20.504237"], ["updated_at", "2015-06-30 23:31:25.691996"]] + SQL (1.6ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 23:31:25.741817"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:31:21.423399"], ["updated_at", "2015-06-30 23:31:25.741817"]] +  (1.2ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 6720ms (ActiveRecord: 12.4ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 17:31:25 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (24.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.0ms) + Rendered events/_simple_form.html.haml (62.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.9ms) + Rendered events/_form.html.haml (5.2ms) + Rendered home/index.html.haml within layouts/application (71.5ms) +Completed 200 OK in 114ms (Views: 77.0ms | ActiveRecord: 2.3ms) +  (2.1ms) SELECT COUNT(*) FROM "events" + Event Load (2.7ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (1.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (1.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (2.0ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.0ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (5.0ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (3.6ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (43.6ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.0ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:31:27 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (24.5ms) + Rendered events/_simple_form.html.haml (62.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.8ms) + Rendered events/_form.html.haml (5.4ms) + Rendered home/index.html.haml within layouts/application (70.4ms) +Completed 200 OK in 111ms (Views: 75.2ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 17:31:29 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Pork Shankle Pastrami", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fd0ddbacab0 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-88996-18azlrd>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-14zt718.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1k9lgot.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1k9lgot.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1k9lgot.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1k9lgot20150630-88996-1a22a4' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1k9lgot20150630-88996-1a22a4' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1k9lgot.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1k9lgot.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1k9lgot.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1k9lgot20150630-88996-1wfiu9k' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1k9lgot20150630-88996-1wfiu9k' +  (0.5ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-bwa4ud.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1nzo11v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1def589.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1m7h8zx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1b5yyhm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1ap8m2l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-a6mq7r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-77v2ca.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-duxylj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1r9ipjs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-8yj44q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-bhw219.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-af7jz6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1raslh7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1suu3ho.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1gsrpmi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1afhhql.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1jvb77w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-6jr7fv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-7myy6x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1o08dmm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1ykqzlb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-3sih5v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1i8zj86.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-rfdh48.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12jtwe0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1odlta7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1lzwed4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-s3yxol.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-g0uglj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12ykuo9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1fgyiad.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-gzmaxz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1yyhzjr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1fi0b7s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1p1huiv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-8wu785.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-5vem8b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-g4g5fx.png' + SQL (3.0ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:31:31.749803"], ["title", "Pork Shankle Pastrami"], ["updated_at", "2015-06-30 23:31:31.749803"]] + SQL (2.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:31:31.761432"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:31:31.761432"]] + SQL (0.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:31:31.770348"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:31:31.770348"]] + SQL (17.7ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 23:31:31.778800"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:31:29.582730"], ["updated_at", "2015-06-30 23:31:31.778800"]] +  (16.1ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 2495ms (ActiveRecord: 40.5ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 17:31:31 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (24.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (10.2ms) + Rendered events/_simple_form.html.haml (50.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (3.2ms) + Rendered home/index.html.haml within layouts/application (59.6ms) +Completed 200 OK in 108ms (Views: 66.7ms | ActiveRecord: 0.0ms) +  (2.4ms) SELECT COUNT(*) FROM "events" + Event Load (1.9ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (2.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (1.1ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.8ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] +  (1.1ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.1ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.0ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (5.2ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (3.6ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (27.6ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.0ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 17:31:32 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (26.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.5ms) + Rendered events/_simple_form.html.haml (68.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.8ms) + Rendered events/_form.html.haml (5.0ms) + Rendered home/index.html.haml within layouts/application (75.8ms) +Completed 200 OK in 119ms (Views: 82.2ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 17:31:35 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Beef Ribs T Bone Short Loin", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fd0db7ef708 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-88996-vhazj1>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-5f7alh.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4m8jrq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4m8jrq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4m8jrq.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4m8jrq20150630-88996-10kntpl' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4m8jrq20150630-88996-10kntpl' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4m8jrq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4m8jrq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4m8jrq.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4m8jrq20150630-88996-qwdgko' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-4m8jrq20150630-88996-qwdgko' +  (0.5ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-a9x33b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-13i95ao.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-suagi4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-pp1weq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-na7vpa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1ct7jvf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1mky3sc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-9r66l5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-mroijw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1xwet9f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-xb3o6v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-mv3rwy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ye6ih7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-og7lww.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1myjkxm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1oxzjf6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-3937t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-9iss38.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-l2uh95.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-14txqp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-lt2d8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-dsl1o4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-k7duwd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1w8vl1l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-10cwfdx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ne7aya.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1yhz1jj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-57vwzz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-mzfmsg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-v54ohp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-q5kdlf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-11penba.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1t7ct2r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-xdcyu0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-15s9cg9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-cl2pl5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-13tqsxo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-172xugn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-7rv55o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-16xi5jf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-rxazuy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-al2g63.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1prd6bx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-aunjyf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-12cet4z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-ko2qtt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-tkq76v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-15oz73n.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-1uzzi3v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-88996-hjgu06.png' + SQL (16.2ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:31:38.053830"], ["title", "Beef Ribs T Bone Short Loin"], ["updated_at", "2015-06-30 23:31:38.053830"]] + SQL (2.0ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:31:38.074767"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:31:38.074767"]] + SQL (1.7ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-06-30 23:31:38.081269"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:31:35.559528"], ["updated_at", "2015-06-30 23:31:38.081269"]] + SQL (0.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:31:38.165074"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:31:38.165074"]] +  (16.7ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 2840ms (ActiveRecord: 38.0ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 17:31:38 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (32.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (30.6ms) + Rendered events/_simple_form.html.haml (100.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.2ms) + Rendered events/_form.html.haml (7.5ms) + Rendered home/index.html.haml within layouts/application (111.9ms) +Completed 200 OK in 161ms (Views: 120.8ms | ActiveRecord: 0.0ms) +  (1.6ms) SELECT COUNT(*) FROM "events" + Event Load (1.3ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (2.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (1.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.6ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.6ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (48.5ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.0ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 + SQL (33.6ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:41:21.042840"], ["updated_at", "2015-06-30 23:41:21.042840"]] + SQL (1.1ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:41:21.082997"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:41:21.082997"]] +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-172kneo.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll20150630-89506-1oricob' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll20150630-89506-1oricob' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll20150630-89506-1qhuvao' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll20150630-89506-1qhuvao' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll20150630-89506-bok9ob' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89506-112t7ll20150630-89506-bok9ob' + SQL (20.0ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:41:21.656262"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:41:21.133745"], ["updated_at", "2015-06-30 23:41:21.656262"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:41:21.692862"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:41:21.692862"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:41:21.694713"], ["gallery_id", 2], ["updated_at", "2015-06-30 23:41:21.694713"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:42:39.519706"], ["updated_at", "2015-06-30 23:42:39.519706"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:42:39.526505"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:42:39.526505"]] +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-m4qzez.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky7.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky7.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky7.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky720150630-89550-tqrski' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky720150630-89550-tqrski' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky7.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky7.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky7.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky720150630-89550-1emu8kw' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky720150630-89550-1emu8kw' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky7.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky7.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky7.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky720150630-89550-12cawxg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89550-69aky720150630-89550-12cawxg' + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:42:40.065701"], ["gallery_id", 3], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:42:39.575432"], ["updated_at", "2015-06-30 23:42:40.065701"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:42:40.081612"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:42:40.081612"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:42:40.083252"], ["gallery_id", 4], ["updated_at", "2015-06-30 23:42:40.083252"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:43:07.835316"], ["updated_at", "2015-06-30 23:43:07.835316"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:43:07.841792"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:43:07.841792"]] +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1h1oedo.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve20150630-89589-1v2ku70' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve20150630-89589-1v2ku70' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve20150630-89589-1dmb90o' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve20150630-89589-1dmb90o' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve20150630-89589-1ngascq' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89589-1s3m2ve20150630-89589-1ngascq' + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:43:08.384035"], ["gallery_id", 5], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:43:07.890237"], ["updated_at", "2015-06-30 23:43:08.384035"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:43:08.441531"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:43:08.441531"]] + SQL (0.1ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:43:08.443094"], ["gallery_id", 6], ["updated_at", "2015-06-30 23:43:08.443094"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 3], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:43:59.958594"], ["updated_at", "2015-06-30 23:43:59.958594"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:43:59.965421"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:43:59.965421"]] +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-14a4fl.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq20150630-89628-l9fv3s' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq20150630-89628-l9fv3s' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq20150630-89628-ial16f' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq20150630-89628-ial16f' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq20150630-89628-mk2oiy' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89628-1880wrq20150630-89628-mk2oiy' + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:44:00.499848"], ["gallery_id", 7], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:44:00.015032"], ["updated_at", "2015-06-30 23:44:00.499848"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:44:00.548108"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:44:00.548108"]] + SQL (31.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:44:00.549681"], ["gallery_id", 8], ["updated_at", "2015-06-30 23:44:00.549681"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:45:10.659581"], ["updated_at", "2015-06-30 23:45:10.659581"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:45:10.666510"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:45:10.666510"]] +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-18uk62s.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s20150630-89682-65rhme' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s20150630-89682-65rhme' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s20150630-89682-1useo4p' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s20150630-89682-1useo4p' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s20150630-89682-npxblj' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89682-zgqc6s20150630-89682-npxblj' + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:45:11.207904"], ["gallery_id", 9], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:45:10.715384"], ["updated_at", "2015-06-30 23:45:11.207904"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:45:11.221888"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:45:11.221888"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:45:11.223518"], ["gallery_id", 10], ["updated_at", "2015-06-30 23:45:11.223518"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:45:29.720704"], ["updated_at", "2015-06-30 23:45:29.720704"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:45:29.727457"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:45:29.727457"]] +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-e8rcxo.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv49.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv49.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv49.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv4920150630-89718-qwc12z' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv4920150630-89718-qwc12z' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv49.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv49.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv49.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv4920150630-89718-j46rgj' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv4920150630-89718-j46rgj' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv49.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv49.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv49.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv4920150630-89718-ly86tr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89718-19blv4920150630-89718-ly86tr' + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:45:30.287562"], ["gallery_id", 11], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:45:29.777947"], ["updated_at", "2015-06-30 23:45:30.287562"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:45:30.304841"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:45:30.304841"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-06-30 23:45:30.306342"], ["gallery_id", 12], ["updated_at", "2015-06-30 23:45:30.306342"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) SAVEPOINT active_record_1 +  (16.2ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.5ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-tne150.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl20150630-89792-784gc9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl20150630-89792-784gc9' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl20150630-89792-r1ryjc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl20150630-89792-r1ryjc' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl20150630-89792-1hwik0t' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-2oaznl20150630-89792-1hwik0t' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-wlwj5y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-72n3et.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89792-1ih1phk.png' +  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 +  (1.0ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-e2iyf4.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk20150630-89829-1x2526x' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk20150630-89829-1x2526x' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk20150630-89829-tmvwk8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk20150630-89829-tmvwk8' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk20150630-89829-q7tby0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1ytptzk20150630-89829-q7tby0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-1b2q9dw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-h5tyjp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89829-4sfinf.png' +  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.7ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-1k39sbn.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu20150630-89887-u92i35' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu20150630-89887-u92i35' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu20150630-89887-1n6osva' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu20150630-89887-1n6osva' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu20150630-89887-1sr0ik8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-jet6vu20150630-89887-1sr0ik8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-ddt5pz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-19cxz18.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89887-1g1awmx.png' + SQL (2.0ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:49:49.768673"], ["updated_at", "2015-06-30 23:49:49.768673"]] + SQL (1.1ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:49:49.793957"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:49:49.793957"]] + SQL (1.1ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:49:49.799491"], ["gallery_id", 13], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:49:48.110866"], ["updated_at", "2015-06-30 23:49:49.799491"]] + SQL (0.7ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:49:49.845524"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:49:49.845524"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Event Load (1.0ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 7]] + Polygallery::Gallery Load (1.1ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (1.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.8ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] +  (0.8ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-122rf73.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed20150630-89935-1hsl922' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed20150630-89935-1hsl922' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed20150630-89935-uzhmcc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed20150630-89935-uzhmcc' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed20150630-89935-1vnpswc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-15oi8ed20150630-89935-1vnpswc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-1l6gocx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-4sy10z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89935-16pl28l.png' + SQL (1.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:50:58.479897"], ["updated_at", "2015-06-30 23:50:58.479897"]] + SQL (1.1ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:50:58.504407"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:50:58.504407"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:50:58.509592"], ["gallery_id", 15], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:50:57.128003"], ["updated_at", "2015-06-30 23:50:58.509592"]] + SQL (0.7ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:50:58.555742"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:50:58.555742"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.9ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]] + Polygallery::Gallery Load (1.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (1.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.8ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.6ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 16]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 15]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 16]] +  (0.9ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-hwsrw6.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy20150630-89975-925d47' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy20150630-89975-925d47' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy20150630-89975-11p0wwp' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy20150630-89975-11p0wwp' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy20150630-89975-9arevi' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1fwkqzy20150630-89975-9arevi' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1egdk9x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-wqvky4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-89975-1pfrv6i.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:51:45.596900"], ["updated_at", "2015-06-30 23:51:45.596900"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:51:45.604870"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:51:45.604870"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:51:45.606568"], ["gallery_id", 17], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:51:44.046785"], ["updated_at", "2015-06-30 23:51:45.606568"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:51:45.620090"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:51:45.620090"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 9]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (1.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.9ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.6ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 17]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 18]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 18]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 17]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 18]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 18]] +  (0.8ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.6ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-oextc1.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u7.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u7.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u7.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u720150630-90023-p4zvnl' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u720150630-90023-p4zvnl' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u7.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u7.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u7.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u720150630-90023-1swfls1' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u720150630-90023-1swfls1' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u7.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u7.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u7.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u720150630-90023-mnmik' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-18o0u720150630-90023-mnmik' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-15fnzs5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-15hrk6c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90023-m5fj5o.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:52:34.691209"], ["updated_at", "2015-06-30 23:52:34.691209"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:52:34.698840"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:52:34.698840"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:52:34.700474"], ["gallery_id", 19], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:52:33.359467"], ["updated_at", "2015-06-30 23:52:34.700474"]] + SQL (0.6ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:52:34.735416"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:52:34.735416"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.8ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (1.4ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.8ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.6ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 19]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.6ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 20]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 20]] +  (0.7ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 19]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 20]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 20]] +  (0.9ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.4ms) BEGIN +  (0.5ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-33orll.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a20150630-90061-zyyqi' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a20150630-90061-zyyqi' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a20150630-90061-iywd15' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a20150630-90061-iywd15' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a20150630-90061-dkghn0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1k66o6a20150630-90061-dkghn0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1uyf29t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-mzqb9k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90061-1a6ohsv.png' + SQL (1.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:53:05.035750"], ["updated_at", "2015-06-30 23:53:05.035750"]] + SQL (0.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:53:05.049459"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:53:05.049459"]] + SQL (1.0ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:53:05.054307"], ["gallery_id", 21], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:53:03.788525"], ["updated_at", "2015-06-30 23:53:05.054307"]] + SQL (0.7ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:53:05.099053"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:53:05.099053"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.9ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (1.4ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.9ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 21]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.7ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 22]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 22]] +  (0.7ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 21]] + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 22]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 22]] +  (1.0ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.6ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-152bppb.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl20150630-90101-14j6480' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl20150630-90101-14j6480' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl20150630-90101-1itihi5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl20150630-90101-1itihi5' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl20150630-90101-1cxrygz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-1ngaonl20150630-90101-1cxrygz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-pqb6hd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-ana4ao.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90101-bdx2q2.png' + SQL (1.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-06-30 23:53:41.153849"], ["updated_at", "2015-06-30 23:53:41.153849"]] + SQL (0.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-06-30 23:53:41.177874"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["updated_at", "2015-06-30 23:53:41.177874"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-06-30 23:53:41.183047"], ["gallery_id", 23], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-06-30 23:53:39.721411"], ["updated_at", "2015-06-30 23:53:41.183047"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-06-30 23:53:41.207441"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-06-30 23:53:41.207441"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 23]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 24]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 24]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 23]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 24]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 24]] +  (1.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-1s8r8nf.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o20150630-90197-1iwety5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o20150630-90197-1iwety5' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o20150630-90197-m5th2h' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o20150630-90197-m5th2h' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o20150630-90197-1alhhmv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-jlj7o20150630-90197-1alhhmv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-1jw640x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-ndjlf7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90197-lwmegs.png' + SQL (31.1ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 00:00:06.216794"], ["updated_at", "2015-07-01 00:00:06.216794"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 00:00:06.276173"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 00:00:06.276173"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 00:00:06.278006"], ["gallery_id", 25], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 00:00:05.694468"], ["updated_at", "2015-07-01 00:00:06.278006"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 00:00:06.292436"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 00:00:06.292436"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 25]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 26]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 25]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-69lfcd.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa20150630-90247-zmqy15' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa20150630-90247-zmqy15' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa20150630-90247-dn9szs' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa20150630-90247-dn9szs' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa20150630-90247-1nnb3uz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1c32cpa20150630-90247-1nnb3uz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-1fef2f4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-zvd8cl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90247-y94sda.png' + SQL (1.7ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 00:02:11.584848"], ["updated_at", "2015-07-01 00:02:11.584848"]] + SQL (37.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 00:02:11.609454"], ["galleryable_id", 14], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 00:02:11.609454"]] + SQL (1.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 00:02:11.652712"], ["gallery_id", 27], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 00:02:10.537739"], ["updated_at", "2015-07-01 00:02:11.652712"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 00:02:11.797775"], ["galleryable_id", 14], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 00:02:11.797775"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 27]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 28]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 27]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]] +  (0.1ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-10aov2o.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw20150630-90334-d83vs4' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw20150630-90334-d83vs4' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw20150630-90334-loj39f' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw20150630-90334-loj39f' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw20150630-90334-1wrcj9x' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-obq5jw20150630-90334-1wrcj9x' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-sqm810.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-1d4ygy1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90334-1c043ju.png' + SQL (1.8ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 00:07:38.147166"], ["updated_at", "2015-07-01 00:07:38.147166"]] + SQL (16.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 00:07:38.170844"], ["galleryable_id", 15], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 00:07:38.170844"]] + SQL (1.1ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 00:07:38.192313"], ["gallery_id", 29], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 00:07:36.822695"], ["updated_at", "2015-07-01 00:07:38.192313"]] + SQL (0.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 00:07:38.369227"], ["galleryable_id", 15], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 00:07:38.369227"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.9ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 15]] + Polygallery::Gallery Load (1.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 29]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 30]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 30]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 29]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 30]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 30]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.4ms) COMMIT +  (0.4ms) BEGIN +  (0.5ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-1k4q7ag.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny20150630-90380-1kahg86' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny20150630-90380-1kahg86' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny20150630-90380-d2p5pm' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny20150630-90380-d2p5pm' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny20150630-90380-1udl96q' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-17t5wny20150630-90380-1udl96q' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-1djygcv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-14emwch.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90380-o5tqqm.png' + SQL (1.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 00:08:23.578475"], ["updated_at", "2015-07-01 00:08:23.578475"]] + SQL (0.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 00:08:23.608567"], ["galleryable_id", 16], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 00:08:23.608567"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 00:08:23.614142"], ["gallery_id", 31], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 00:08:21.935450"], ["updated_at", "2015-07-01 00:08:23.614142"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 00:08:23.752940"], ["galleryable_id", 16], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 00:08:23.752940"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 16]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (1.7ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (1.0ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 31]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 32]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 32]] +  (0.7ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 31]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 32]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 32]] +  (1.0ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.6ms) BEGIN +  (0.5ms) COMMIT +  (0.4ms) BEGIN +  (1.0ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-zawc82.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o4.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o4.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o4.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o420150630-90425-1i8350w' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o420150630-90425-1i8350w' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o4.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o4.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o4.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o420150630-90425-1jsox68' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o420150630-90425-1jsox68' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o4.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o4.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o4.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o420150630-90425-itsoef' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-1a5q9o420150630-90425-itsoef' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-f4zryy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-18dlshc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-90425-rmil6d.png' + SQL (1.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 00:09:26.188626"], ["updated_at", "2015-07-01 00:09:26.188626"]] + SQL (1.0ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 00:09:26.229123"], ["galleryable_id", 17], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 00:09:26.229123"]] + SQL (1.1ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 00:09:26.234610"], ["gallery_id", 33], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 00:09:24.332693"], ["updated_at", "2015-07-01 00:09:26.234610"]] + SQL (0.7ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 00:09:26.418057"], ["galleryable_id", 17], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 00:09:26.418057"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.8ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 17]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (1.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.9ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 33]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 34]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 34]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 33]] + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 34]] +  (0.8ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 34]] +  (1.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (16.8ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11az3en.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif87.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif87.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif87.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif8720150630-93702-1d7u6ib' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif8720150630-93702-1d7u6ib' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif87.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif87.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif87.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif8720150630-93702-1yfev0i' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif8720150630-93702-1yfev0i' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif87.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif87.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif87.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif8720150630-93702-zuhq8n' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-11xif8720150630-93702-zuhq8n' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-1oqgds.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-1cqz0di.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93702-1000jee.png' + SQL (37.9ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 01:51:10.221151"], ["updated_at", "2015-07-01 01:51:10.221151"]] + SQL (0.5ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 01:51:10.266730"], ["galleryable_id", 18], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 01:51:10.266730"]] + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 01:51:10.268634"], ["gallery_id", 35], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:51:09.555011"], ["updated_at", "2015-07-01 01:51:10.268634"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 01:51:10.282879"], ["galleryable_id", 18], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 01:51:10.282879"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 18]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.6ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 35]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 36]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 36]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 35]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 36]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-vlex2b.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw433.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw433.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw433.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw43320150630-93756-1kltu32' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw43320150630-93756-1kltu32' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw433.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw433.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw433.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw43320150630-93756-785mrg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw43320150630-93756-785mrg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw433.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw433.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw433.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw43320150630-93756-1mscmye' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-9qw43320150630-93756-1mscmye' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-vyixva.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-1ge16co.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93756-w0m481.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 01:52:49.302861"], ["updated_at", "2015-07-01 01:52:49.302861"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 01:52:49.310551"], ["galleryable_id", 19], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 01:52:49.310551"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 01:52:49.312228"], ["gallery_id", 37], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:52:48.768245"], ["updated_at", "2015-07-01 01:52:49.312228"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 01:52:49.325116"], ["galleryable_id", 19], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 01:52:49.325116"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 19]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 19], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 19], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 19], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 19], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 19], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 37]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 19], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 38]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 38]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 37]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 38]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-kwzbr3.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip78.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip78.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip78.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip7820150630-93794-bdck2l' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip7820150630-93794-bdck2l' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip78.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip78.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip78.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip7820150630-93794-1emihpi' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip7820150630-93794-1emihpi' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip78.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip78.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip78.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip7820150630-93794-1fgd3hz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1kwip7820150630-93794-1fgd3hz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-fwl97y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-1oqs7bp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93794-epx4n5.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 01:53:16.624470"], ["updated_at", "2015-07-01 01:53:16.624470"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 01:53:16.632079"], ["galleryable_id", 20], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 01:53:16.632079"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 01:53:16.633562"], ["gallery_id", 39], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:53:16.112624"], ["updated_at", "2015-07-01 01:53:16.633562"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 01:53:16.647696"], ["galleryable_id", 20], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 01:53:16.647696"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 20]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 20], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 20], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 20], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 20], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 20], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 39]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 20], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 40]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 40]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 39]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 40]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 40]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-1wwxntt.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b20150630-93832-1h6p6as' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b20150630-93832-1h6p6as' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b20150630-93832-18xb32z' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b20150630-93832-18xb32z' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b20150630-93832-1h6hxqw' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-18ssw8b20150630-93832-1h6hxqw' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-83vwv8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-13djq0r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93832-rhwmlj.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 01:53:47.305697"], ["updated_at", "2015-07-01 01:53:47.305697"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 01:53:47.313464"], ["galleryable_id", 21], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 01:53:47.313464"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 01:53:47.314997"], ["gallery_id", 41], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:53:46.793074"], ["updated_at", "2015-07-01 01:53:47.314997"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 01:53:47.336954"], ["galleryable_id", 21], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 01:53:47.336954"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 21]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 21], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 21], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 21], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 21], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 21], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 41]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 21], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 42]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 42]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 41]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 42]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.2ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-uzg1p7.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi5.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi520150630-93877-f537by' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi520150630-93877-f537by' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi5.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi520150630-93877-ibkxwr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi520150630-93877-ibkxwr' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi5.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi520150630-93877-z3nlns' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-14abi520150630-93877-z3nlns' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-7hguku.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-1f32u55.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93877-ymp0zo.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 01:54:29.418049"], ["updated_at", "2015-07-01 01:54:29.418049"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 01:54:29.425930"], ["galleryable_id", 22], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 01:54:29.425930"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 01:54:29.427549"], ["gallery_id", 43], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:54:28.904125"], ["updated_at", "2015-07-01 01:54:29.427549"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 01:54:29.442836"], ["galleryable_id", 22], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 01:54:29.442836"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 22]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 22], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 22], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 22], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 22], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 22], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 43]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 22], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 44]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 44]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 43]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-06-30 19:54:45 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (9.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (27.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.6ms) + Rendered events/_simple_form.html.haml (83.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.5ms) + Rendered events/_form.html.haml (6.5ms) + Rendered home/index.html.haml within layouts/application (115.9ms) +Completed 200 OK in 256ms (Views: 178.0ms | ActiveRecord: 7.6ms) +Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-30 19:54:45 -0600 +Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-06-30 19:54:45 -0600 +Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-30 19:54:45 -0600 +Started POST "/events" for 127.0.0.1 at 2015-06-30 19:54:46 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Ground Round Beef Ribs Pancetta", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbb5b940a98 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-93926-1qaqt8u>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1f2upm4.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w8me2r.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w8me2r.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w8me2r.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w8me2r20150630-93926-g6ynwn' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w8me2r20150630-93926-g6ynwn' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w8me2r.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w8me2r.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w8me2r.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w8me2r20150630-93926-1vlkty8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w8me2r20150630-93926-1vlkty8' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1wn9ela.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-16hki6h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1bwsjnd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-wh1cj3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-16x4pms.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1lkkjme.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 01:54:46.994515"], ["title", "Ground Round Beef Ribs Pancetta"], ["updated_at", "2015-07-01 01:54:46.994515"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 01:54:47.000841"], ["galleryable_id", 23], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 01:54:47.000841"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 01:54:47.002584"], ["galleryable_id", 23], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 01:54:47.002584"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 01:54:47.004065"], ["gallery_id", 46], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:54:46.653181"], ["updated_at", "2015-07-01 01:54:47.004065"]] +  (31.7ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 456ms (ActiveRecord: 33.4ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 19:54:47 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.2ms) + Rendered events/_simple_form.html.haml (18.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.4ms) + Rendered home/index.html.haml within layouts/application (21.1ms) +Completed 200 OK in 36ms (Views: 22.9ms | ActiveRecord: 3.1ms) +  (2.6ms) SELECT COUNT(*) FROM "events" + Event Load (0.9ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 46]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 23], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 23], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] +  (0.7ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.8ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.2ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (101.0ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 19:54:47 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.4ms) + Rendered events/_simple_form.html.haml (19.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.6ms) + Rendered home/index.html.haml within layouts/application (21.5ms) +Completed 200 OK in 34ms (Views: 22.9ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 19:54:48 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Leberkas Tail Ribeye", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbb61803eb8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-93926-1w45r3v>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-3yyuhf.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pjifp3.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pjifp3.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pjifp3.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pjifp320150630-93926-8lmvc9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pjifp320150630-93926-8lmvc9' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pjifp3.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pjifp3.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pjifp3.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pjifp320150630-93926-aqhh5g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pjifp320150630-93926-aqhh5g' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-100b7m5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-7brpsw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-52lu35.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-n7pd8h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-2otm3y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1mdi5kq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1gj1sre.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-190etgu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-fqnq3a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1y8uhay.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-huo1f9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-vh2l65.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-fpo1wh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-yvqoz3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-16zshpp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-kc9dzn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-66fyld.png' + SQL (0.6ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 01:54:48.803495"], ["title", "Leberkas Tail Ribeye"], ["updated_at", "2015-07-01 01:54:48.803495"]] + SQL (0.6ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 01:54:48.806523"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 01:54:48.806523"]] + SQL (0.5ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 01:54:48.808904"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:54:48.383872"], ["updated_at", "2015-07-01 01:54:48.808904"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 01:54:48.824180"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 01:54:48.824180"]] +  (31.1ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 542ms (ActiveRecord: 33.7ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 19:54:48 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (8.3ms) + Rendered events/_simple_form.html.haml (21.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.4ms) + Rendered events/_form.html.haml (2.4ms) + Rendered home/index.html.haml within layouts/application (25.1ms) +Completed 200 OK in 39ms (Views: 27.1ms | ActiveRecord: 0.8ms) +  (0.9ms) SELECT COUNT(*) FROM "events" + Event Load (0.8ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.4ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.1ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (9.5ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 19:54:49 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.1ms) + Rendered events/_simple_form.html.haml (17.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.5ms) + Rendered home/index.html.haml within layouts/application (19.2ms) +Completed 200 OK in 30ms (Views: 20.5ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 19:54:49 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Kielbasa Beef Ribs Shankle", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +  (0.2ms) BEGIN + SQL (0.6ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 01:54:49.717398"], ["title", "Kielbasa Beef Ribs Shankle"], ["updated_at", "2015-07-01 01:54:49.717398"]] + SQL (0.5ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 01:54:49.719590"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 01:54:49.719590"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 01:54:49.721479"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 01:54:49.721479"]] +  (0.5ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 13ms (ActiveRecord: 2.0ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 19:54:49 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.4ms) + Rendered events/_simple_form.html.haml (21.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.4ms) + Rendered events/_form.html.haml (2.0ms) + Rendered home/index.html.haml within layouts/application (25.2ms) +Completed 200 OK in 40ms (Views: 28.6ms | ActiveRecord: 0.8ms) +  (0.5ms) SELECT COUNT(*) FROM "events" + Event Load (0.5ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Event Load (0.3ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.3ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.0ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (7.3ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.4ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 19:54:50 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.2ms) + Rendered events/_simple_form.html.haml (17.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.5ms) + Rendered home/index.html.haml within layouts/application (19.2ms) +Completed 200 OK in 30ms (Views: 20.5ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 19:54:52 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Chuck Pork Kielbasa", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbb5ff4dfe0 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-93926-1727v2g>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435715690741"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbb5ff4db08 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-93926-10l8e9k>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435715690741][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435715691044"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbb5ff4d658 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-93926-1y4a3d9>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435715691044][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbb5ff4cf28 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-93926-gbnx0z>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435715691623"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbb5ff4cc08 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-93926-ts7020>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435715691623][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-bldhc7.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-dbs5go.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-dbs5go.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-dbs5go.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-dbs5go20150630-93926-6jfi0i' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-dbs5go20150630-93926-6jfi0i' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-dbs5go.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-dbs5go.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-dbs5go.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-dbs5go20150630-93926-109uo9g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-dbs5go20150630-93926-109uo9g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j3mr99.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-38zu76.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-38zu76.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-38zu76.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-38zu7620150630-93926-fvpiqi' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-38zu7620150630-93926-fvpiqi' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-38zu76.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-38zu76.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-38zu76.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-38zu7620150630-93926-16kysox' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-38zu7620150630-93926-16kysox' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-icm035.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1m46y2e.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1m46y2e.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1m46y2e.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1m46y2e20150630-93926-9c39gc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1m46y2e20150630-93926-9c39gc' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1m46y2e.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1m46y2e.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1m46y2e.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1m46y2e20150630-93926-ftlsml' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1m46y2e20150630-93926-ftlsml' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-y9opqk.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jgk2ak.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jgk2ak.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jgk2ak.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jgk2ak20150630-93926-dsljmd' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jgk2ak20150630-93926-dsljmd' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jgk2ak.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jgk2ak.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jgk2ak.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jgk2ak20150630-93926-7f5mgc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jgk2ak20150630-93926-7f5mgc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-15n82hg.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j8irvr.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j8irvr.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j8irvr.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j8irvr20150630-93926-167t250' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j8irvr20150630-93926-167t250' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j8irvr.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j8irvr.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j8irvr.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j8irvr20150630-93926-cw98tv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j8irvr20150630-93926-cw98tv' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1krx65s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-awjbrr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1e9jp0b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pybht7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1hvjmt8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1bdozsh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-17jgsmv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-gwhy0o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j9t456.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-179o426.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-xjuhyu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-y764zn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1yo673p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-12aiir2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1nlu0w8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1u0w3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-tnpmd7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1oc8wlq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-elbet2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-3plh0f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-qiohjr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-295ehy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-v8zdz9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1j3fhd8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-xjsc5d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-ctzxmm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-ulw1av.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-xjllrh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1q397s6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-klyy6p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-ss1f9c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-kmva92.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-nrt3ab.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1o4ikmg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1yven10.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1wexmz1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jo98z7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-73yxgl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1v9spoc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-15yjjw9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1wndmyx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1d852rf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ekoi6t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1loi2my.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ptv8gr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-11yd21z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1g4t06e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-me9f55.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-nlicas.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-7npftt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-keaxne.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-tvwnnn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-12snm1x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-n8hmfu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1kslz5k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-lzlqcw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ylbvx0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1hexb1k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-bi5c9k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1e47o0n.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1mqig0w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-nfuhu1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pvqpek.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1vh5y9a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1j5pj9x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-yansyg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1d2pwcc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-lw021h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-38tux5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1wjv2fz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-y4q64v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-mgo9jj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-il2it7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-ky1y65.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1vgymv6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-o9vykf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jmthcx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1iddvdn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-i62g13.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-ca10na.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-3dj12k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-18nxo7o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1rdnnrs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-wa19uj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-g8rjp1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-12awdl9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1n4hxs2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-fh53zy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-15xjjxs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-oqd4q5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-suhxyq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-i1q0bz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-4ly8f1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-137j7z0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-m788n0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-liv4jf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1kcs5f0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1e8vvox.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1re0zxv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1c8weg0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-hx5p18.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1mjfi8v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jo9rd6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-17h73aq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-19p2pwr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1v122yq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ysq7vx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-p06c3c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1hl4gkj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-zk9bcb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-68kj62.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-rbowbv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1meg3jx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-necsgi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-4b3qjl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-ueeyqd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1hdubdw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1q3fmth.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-hmmgwh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-2pep5v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-b8zgrn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-14s1954.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-55dbg0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1b2oux9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-9ph9ct.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w6dwvv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-14jl5hp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-o6f6vu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-nix9gg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-agooe0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-nhyxv1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ai9hcg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-oto8h0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-13nh7aj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-2b7cpj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j2t2jm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-tbvvp5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1t8xqxp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-msfeux.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-39338w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ylp05b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-4bnnr0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1jrodgw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w85vt2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-3lrsex.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1kq4qym.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jtywr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-zan3li.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-bex5pe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1036tg6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-196bbkz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1vnap5p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-vfro6t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-15stxt6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1sa5dws.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1r2v2l1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-16iaw3c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1jz6byw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-ud5dt5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-19lfjw8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1o25zk5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1hrn2fg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-3ujdtc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1uu1fs6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-a1i0la.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-vtbdf1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-c7ay33.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ka5y1s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1koelb9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1dr5uk7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1j4zj6f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1qaz0uf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1hfs0ku.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ca766u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1yrcitx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-11n6sea.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-10auvs3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-bvzwtc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1vom5cr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-brfxxe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-17idzrb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-cjt1p9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-24rf9g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-gkqny4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-c8eequ.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1fpibt6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-8cf87g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-nlitii.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1n0vjtb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-9e8uwg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-46fqka.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1vivioz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-sa9e72.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-c5nqs0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1q11ol0.png' + SQL (16.1ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 01:54:55.653328"], ["title", "Chuck Pork Kielbasa"], ["updated_at", "2015-07-01 01:54:55.653328"]] + SQL (28.6ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 01:54:55.671825"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 01:54:55.671825"]] + SQL (15.6ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 01:54:55.703926"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:54:52.102167"], ["updated_at", "2015-07-01 01:54:55.703926"]] + SQL (0.4ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 01:54:55.736312"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:54:52.393313"], ["updated_at", "2015-07-01 01:54:55.736312"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 01:54:55.757507"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:54:52.709472"], ["updated_at", "2015-07-01 01:54:55.757507"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 01:54:55.775130"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 01:54:55.775130"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 01:54:55.776689"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:54:52.982557"], ["updated_at", "2015-07-01 01:54:55.776689"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 01:54:55.807803"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:54:53.260010"], ["updated_at", "2015-07-01 01:54:55.807803"]] +  (15.9ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 3828ms (ActiveRecord: 77.8ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 19:54:55 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (10.6ms) + Rendered events/_simple_form.html.haml (29.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (3.0ms) + Rendered home/index.html.haml within layouts/application (34.3ms) +Completed 200 OK in 58ms (Views: 38.5ms | ActiveRecord: 0.0ms) +  (0.5ms) SELECT COUNT(*) FROM "events" + Event Load (0.5ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.4ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.4ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.0ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (54.2ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 19:54:56 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (12.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.1ms) + Rendered events/_simple_form.html.haml (30.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.7ms) + Rendered home/index.html.haml within layouts/application (33.3ms) +Completed 200 OK in 49ms (Views: 35.7ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 19:54:57 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Pork Hamburger Corned Beef", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbb5ff04ea8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-93926-cxdq0w>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435715696972"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbb5ff04b88 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-93926-cluhyx>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435715696972][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435715697285"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbb5ff04868 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-93926-jxqggk>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435715697285][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1fb2qx.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1upmm7k.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1upmm7k.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1upmm7k.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1upmm7k20150630-93926-n0mzjm' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1upmm7k20150630-93926-n0mzjm' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1upmm7k.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1upmm7k.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1upmm7k.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1upmm7k20150630-93926-w11ao5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1upmm7k20150630-93926-w11ao5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-82v248.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-126yn58.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-126yn58.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-126yn58.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-126yn5820150630-93926-18zqv19' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-126yn5820150630-93926-18zqv19' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-126yn58.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-126yn58.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-126yn58.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-126yn5820150630-93926-odayvz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-126yn5820150630-93926-odayvz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-7s8sg2.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-it31co.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-it31co.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-it31co.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-it31co20150630-93926-y8n4l1' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-it31co20150630-93926-y8n4l1' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-it31co.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-it31co.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-it31co.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-it31co20150630-93926-1myks3w' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-it31co20150630-93926-1myks3w' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1iai62m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-4qeo2o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-7wvuhx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1y28ohg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1uley1x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1tq996t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-iqoqck.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-12rlx77.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-o1frag.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w7m6l6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-okpu7w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-aok0ev.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-839zzk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1hto649.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1j28x46.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-vnim30.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-df1w6k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1yls0xf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1lqkv24.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-j98nmv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-vqur2r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-sq62iw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1k3gybk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1jqtizx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-xs754u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1tnmfr0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-5e0ntz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-do0ey2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1meb15f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-v5r7jc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-4wioqo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1d9s8m4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1g1mh01.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-45urch.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-9whxv2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1tigykz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-161obiu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1pcet3k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1yq6jl0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-ko2id0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1f398fg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-vuh9qr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ee4dxf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-12ar3j9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-ckr3ju.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-p8ovyt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1wkk2at.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1m3n7j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1hs1u80.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-irjx6v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1fwf0mv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1bwt0t0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1h8d161.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1mxunzt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1gu7k7a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-12ytg16.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-i3mm8e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-6nwpvq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ltug7s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-bi3k4g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1a2y7z3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-19kgk69.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-oakrw5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1b96fo6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-s78lui.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1prmkcu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-o2in8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ifks6b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1j8c2vr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-je2ouo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1nx7qnd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1duhrg5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-qh675.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1b1n11z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-60pv1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-l1beag.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-gsqc1z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-10qs1sr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-y9q2ir.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-g3ngh8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-riw6u2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-bz2fdq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-2dny4x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-h71j3r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-we1kdk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1poho3z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1fey80f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-mgp2ya.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-xatljp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-9eh4c1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-nlcmj1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-qfc9xs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1r2p7yk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-17mtla7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-15b2gr5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1vc70w1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-6blpr1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-sz00gx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1jgb5tb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-ijlp73.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-19noe67.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-487vkk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1bxcv2j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-y5518m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-vfz2iz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ehpr5p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1f1l1so.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-4nyb26.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-17hifpg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w25sir.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-54dh4n.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-2uf5cw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-mx1ig4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-xumgot.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-10ccm1r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-13c8vic.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-19w5jj2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-54xj4c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1wm2rl8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1adw661.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1374r9g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1i6k1pq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-l5trj2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-t3mh67.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-16un1a5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1kemfjl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1w06yut.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ohqaxu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-hd1jjw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-izvp0l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-jzxjvs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-s1u8wn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1iqqs4z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1exkpf9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1ijw2pk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-is6jpo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1wfue4m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-go4cla.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1txkus4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-f76y9c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-2abyla.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1bhd6xh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-16l6s6o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1gmbyje.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1sn9t0r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-o2ix9p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-ynx9ha.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1etnh61.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-dvwbak.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-93926-1tut5vv.png' + SQL (15.8ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 01:55:00.570313"], ["title", "Pork Hamburger Corned Beef"], ["updated_at", "2015-07-01 01:55:00.570313"]] + SQL (15.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 01:55:00.587824"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 01:55:00.587824"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 01:55:00.607857"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 01:55:00.607857"]] + SQL (15.0ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 01:55:00.609690"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:54:57.962789"], ["updated_at", "2015-07-01 01:55:00.609690"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 01:55:00.654087"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:54:58.229894"], ["updated_at", "2015-07-01 01:55:00.654087"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 01:55:01.510143"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 01:54:58.492101"], ["updated_at", "2015-07-01 01:55:01.510143"]] +  (15.8ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 4020ms (ActiveRecord: 63.5ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 19:55:01 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (14.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (18.7ms) + Rendered events/_simple_form.html.haml (43.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.3ms) + Rendered events/_form.html.haml (2.8ms) + Rendered home/index.html.haml within layouts/application (48.0ms) +Completed 200 OK in 65ms (Views: 51.2ms | ActiveRecord: 0.0ms) +  (0.5ms) SELECT COUNT(*) FROM "events" + Event Load (0.4ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.2ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (61.0ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-m7ivgw.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y20150630-94639-i6ulf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y20150630-94639-i6ulf' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y20150630-94639-1j9kw59' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y20150630-94639-1j9kw59' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y20150630-94639-999rum' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1v8tt2y20150630-94639-999rum' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-hkyw6y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1ogch7g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94639-1ogcdwy.png' + SQL (33.6ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:04:44.426644"], ["updated_at", "2015-07-01 02:04:44.426644"]] + SQL (0.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:04:44.480760"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:04:44.480760"]] + SQL (1.0ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:04:44.483120"], ["gallery_id", 1], ["updated_at", "2015-07-01 02:04:44.483120"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:04:44.485562"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:04:44.485562"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:04:44.486798"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:04:42.872683"], ["updated_at", "2015-07-01 02:04:44.486798"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 2]] +  (1.0ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-4rhq4i.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa20150630-94682-1fklyaz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa20150630-94682-1fklyaz' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa20150630-94682-1sjwxzs' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa20150630-94682-1sjwxzs' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa20150630-94682-1d8bjf2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1qhc4wa20150630-94682-1d8bjf2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-1y90rj0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94682-leva87.png' + SQL (1.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:05:23.227968"], ["updated_at", "2015-07-01 02:05:23.227968"]] + SQL (0.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:05:23.251398"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:05:23.251398"]] + SQL (0.8ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:05:23.257040"], ["gallery_id", 3], ["updated_at", "2015-07-01 02:05:23.257040"]] + SQL (0.7ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:05:23.261580"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:05:23.261580"]] + SQL (0.7ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:05:23.265276"], ["gallery_id", 4], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:05:21.450537"], ["updated_at", "2015-07-01 02:05:23.265276"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.9ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 2]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 4]] +  (1.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-1b1nrci.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z906.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z906.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z906.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z90620150630-94739-nsoe5w' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z90620150630-94739-nsoe5w' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z906.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z906.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z906.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z90620150630-94739-bw6sxq' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z90620150630-94739-bw6sxq' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z906.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z906.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z906.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z90620150630-94739-1oqilq0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-156z90620150630-94739-1oqilq0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-sksnxz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-1a2k987.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94739-1jly6ts.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:07:24.865365"], ["updated_at", "2015-07-01 02:07:24.865365"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:07:24.874786"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:07:24.874786"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:07:24.876339"], ["gallery_id", 5], ["updated_at", "2015-07-01 02:07:24.876339"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:07:24.877732"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:07:24.877732"]] + SQL (28.6ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:07:24.878859"], ["gallery_id", 6], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:07:23.332886"], ["updated_at", "2015-07-01 02:07:24.878859"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 6]] +  (0.9ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-1cwjyyb.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj20150630-94795-iuighv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj20150630-94795-iuighv' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj20150630-94795-137mryb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj20150630-94795-137mryb' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj20150630-94795-14vn3zb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-11dsxoj20150630-94795-14vn3zb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-hj157q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-afasxx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94795-1aidzxl.png' + SQL (1.6ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:09:07.740677"], ["updated_at", "2015-07-01 02:09:07.740677"]] + SQL (1.7ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:09:07.764116"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:09:07.764116"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:09:07.773613"], ["gallery_id", 7], ["updated_at", "2015-07-01 02:09:07.773613"]] + SQL (0.7ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:09:07.779126"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:09:07.779126"]] + SQL (0.8ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:09:07.783491"], ["gallery_id", 8], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:09:06.836148"], ["updated_at", "2015-07-01 02:09:07.783491"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.8ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]] + Polygallery::Gallery Load (1.1ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.0ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 8]] +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-19xjtjf.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit5.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit520150630-94844-1rcciek' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit520150630-94844-1rcciek' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit5.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit520150630-94844-186a6zf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit520150630-94844-186a6zf' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit5.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit520150630-94844-rnqw8t' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-1comit520150630-94844-rnqw8t' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-vg49wl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-9s8ooc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94844-n065rf.png' + SQL (1.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:09:48.105734"], ["updated_at", "2015-07-01 02:09:48.105734"]] + SQL (0.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:09:48.145117"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:09:48.145117"]] + SQL (1.1ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:09:48.150407"], ["gallery_id", 9], ["updated_at", "2015-07-01 02:09:48.150407"]] + SQL (0.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:09:48.155377"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:09:48.155377"]] + SQL (0.6ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:09:48.160964"], ["gallery_id", 10], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:09:46.715019"], ["updated_at", "2015-07-01 02:09:48.160964"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 10]] +  (1.0ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94885-irryqz.png' +  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.6ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-rtzkyy.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont20150630-94930-1wloewh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont20150630-94930-1wloewh' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont20150630-94930-1b3rwxl' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont20150630-94930-1b3rwxl' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont20150630-94930-1parpcn' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-qhont20150630-94930-1parpcn' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-12ck2ns.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-1gxm3sd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94930-i8r243.png' + SQL (18.2ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:12:10.060527"], ["updated_at", "2015-07-01 02:12:10.060527"]] + SQL (1.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:12:10.101331"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:12:10.101331"]] + SQL (1.0ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:12:10.106891"], ["gallery_id", 11], ["updated_at", "2015-07-01 02:12:10.106891"]] + SQL (0.6ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:12:10.111863"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:12:10.111863"]] + SQL (0.6ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:12:10.115352"], ["gallery_id", 12], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:12:09.022133"], ["updated_at", "2015-07-01 02:12:10.115352"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.8ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.1ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 12]] +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-j0wu7e.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam20150630-94969-119jbae' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam20150630-94969-119jbae' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam20150630-94969-1fnktfy' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam20150630-94969-1fnktfy' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam20150630-94969-1iqoxn9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-103ooam20150630-94969-1iqoxn9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-1o8g0y3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-94969-1epzbmw.png' + SQL (0.6ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:12:53.305391"], ["updated_at", "2015-07-01 02:12:53.305391"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:12:53.313738"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:12:53.313738"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:12:53.315360"], ["gallery_id", 13], ["updated_at", "2015-07-01 02:12:53.315360"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:12:53.316710"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:12:53.316710"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:12:53.317811"], ["gallery_id", 14], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:12:52.220287"], ["updated_at", "2015-07-01 02:12:53.317811"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.8ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 7]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.1ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 14]] +  (0.8ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.5ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-qoc3ku.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n20150630-95027-g0k8td' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n20150630-95027-g0k8td' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n20150630-95027-ifkf9h' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n20150630-95027-ifkf9h' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n20150630-95027-8papkk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-i02f7n20150630-95027-8papkk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-j69vg0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-19z80aj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95027-bzimxq.png' + SQL (1.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:15:10.079788"], ["updated_at", "2015-07-01 02:15:10.079788"]] + SQL (1.0ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:15:10.103577"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:15:10.103577"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:15:10.109055"], ["gallery_id", 15], ["updated_at", "2015-07-01 02:15:10.109055"]] + SQL (0.6ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:15:10.113753"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:15:10.113753"]] + SQL (0.6ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:15:10.117563"], ["gallery_id", 16], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:15:09.005029"], ["updated_at", "2015-07-01 02:15:10.117563"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 16]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-1sx6hxn.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi20150630-95072-fbds59' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi20150630-95072-fbds59' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi20150630-95072-1xgea1x' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi20150630-95072-1xgea1x' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi20150630-95072-1lm9v3j' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-kz2qyi20150630-95072-1lm9v3j' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-e83t6u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-1ugf542.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95072-1671gki.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:16:12.898463"], ["updated_at", "2015-07-01 02:16:12.898463"]] + SQL (26.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:16:12.906203"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:16:12.906203"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:16:12.935693"], ["gallery_id", 17], ["updated_at", "2015-07-01 02:16:12.935693"]] + SQL (0.5ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:16:12.940494"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:16:12.940494"]] + SQL (0.6ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:16:12.943937"], ["gallery_id", 18], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:16:11.995588"], ["updated_at", "2015-07-01 02:16:12.943937"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 9]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 18]] +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-13lxmz5.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf0.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf0.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf0.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf020150630-95127-1oxeyqk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf020150630-95127-1oxeyqk' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf0.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf0.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf0.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf020150630-95127-44lapv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf020150630-95127-44lapv' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf0.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf0.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf0.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf020150630-95127-1hjla3q' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-8s3uf020150630-95127-1hjla3q' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-gwk8aw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-196bl0b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95127-d2msbg.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:18:47.270876"], ["updated_at", "2015-07-01 02:18:47.270876"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:18:47.278743"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:18:47.278743"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:18:47.280304"], ["gallery_id", 19], ["updated_at", "2015-07-01 02:18:47.280304"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:18:47.281814"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:18:47.281814"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:18:47.282992"], ["gallery_id", 20], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:18:46.761625"], ["updated_at", "2015-07-01 02:18:47.282992"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 20]] +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-1imxavv.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu20150630-95168-1qfjz7g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu20150630-95168-1qfjz7g' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu20150630-95168-z0oovm' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu20150630-95168-z0oovm' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu20150630-95168-11ml8dk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-122ptbu20150630-95168-11ml8dk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-1wmpzga.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-nzs0vl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95168-1f9pnh5.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:19:31.575793"], ["updated_at", "2015-07-01 02:19:31.575793"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:19:31.583377"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:19:31.583377"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:19:31.584911"], ["gallery_id", 21], ["updated_at", "2015-07-01 02:19:31.584911"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:19:31.586334"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:19:31.586334"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:19:31.587402"], ["gallery_id", 22], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:19:31.071100"], ["updated_at", "2015-07-01 02:19:31.587402"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 22]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-1jtc3rw.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br20150630-95211-1w2acxw' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br20150630-95211-1w2acxw' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br20150630-95211-1cscmm3' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br20150630-95211-1cscmm3' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br20150630-95211-ftw1bk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-13u9br20150630-95211-ftw1bk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-1m7lx4v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-mehwzd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95211-95e202.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:20:31.711523"], ["updated_at", "2015-07-01 02:20:31.711523"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:20:31.719714"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:20:31.719714"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:20:31.721528"], ["gallery_id", 23], ["updated_at", "2015-07-01 02:20:31.721528"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:20:31.722969"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:20:31.722969"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:20:31.724096"], ["gallery_id", 24], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:20:30.906051"], ["updated_at", "2015-07-01 02:20:31.724096"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 24]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 24]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.6ms) BEGIN +  (0.5ms) COMMIT +  (0.3ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-ry2ux6.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v5.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v520150630-95251-1umfhn0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v520150630-95251-1umfhn0' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v5.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v520150630-95251-53l40i' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v520150630-95251-53l40i' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v5.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v520150630-95251-1nw5hcd' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-14id6v520150630-95251-1nw5hcd' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-amdud1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-195a4zl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95251-ocetc0.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:21:03.392687"], ["updated_at", "2015-07-01 02:21:03.392687"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:21:03.400325"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:21:03.400325"]] + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:21:03.401941"], ["gallery_id", 25], ["updated_at", "2015-07-01 02:21:03.401941"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:21:03.403432"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:21:03.403432"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:21:03.404446"], ["gallery_id", 26], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:21:02.496642"], ["updated_at", "2015-07-01 02:21:03.404446"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.9ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 26]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 26]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1yl0d67.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o20150630-95295-1lojhox' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o20150630-95295-1lojhox' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o20150630-95295-1iu916n' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o20150630-95295-1iu916n' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o20150630-95295-1ncyi4r' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1bze85o20150630-95295-1ncyi4r' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-gcaknw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1rvxvb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1yf06f6.png' + SQL (1.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:21:48.669945"], ["updated_at", "2015-07-01 02:21:48.669945"]] + SQL (0.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:21:48.694733"], ["galleryable_id", 14], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:21:48.694733"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:21:48.699693"], ["gallery_id", 27], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:21:47.698481"], ["updated_at", "2015-07-01 02:21:48.699693"]] + SQL (0.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:21:48.751566"], ["galleryable_id", 14], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:21:48.751566"]] +  (0.6ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.8ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (1.4ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.9ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.6ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 28]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 27]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1ghjmok.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv20150630-95295-1nz0keg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv20150630-95295-1nz0keg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv20150630-95295-a2bdhe' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv20150630-95295-a2bdhe' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv20150630-95295-1kvghzl' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-134sghv20150630-95295-1kvghzl' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1w7a8m1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-u19jah.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1z0ijwe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-9931g4.png' + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:21:49.997297"], ["gallery_id", 28], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:21:49.017935"], ["updated_at", "2015-07-01 02:21:49.997297"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] +  (0.9ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 14], ["galleryable_type", "Event"]] +  (0.8ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-qwcwmi.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z20150630-95295-srnojc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z20150630-95295-srnojc' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z20150630-95295-fo0u6a' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z20150630-95295-fo0u6a' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z20150630-95295-8g50ni' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-5uht1z20150630-95295-8g50ni' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1i2u5a2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1hseo3k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-1gt9i4j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-13rgcdo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-ijjpaf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95295-3ii53g.png' + SQL (0.9ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:21:51.353944"], ["updated_at", "2015-07-01 02:21:51.353944"]] + SQL (0.7ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:21:51.359508"], ["galleryable_id", 15], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:21:51.359508"]] + SQL (0.7ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:21:51.363595"], ["gallery_id", 29], ["updated_at", "2015-07-01 02:21:51.363595"]] + SQL (0.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:21:51.368074"], ["galleryable_id", 15], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:21:51.368074"]] + SQL (0.7ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:21:51.371674"], ["gallery_id", 30], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:21:50.189205"], ["updated_at", "2015-07-01 02:21:51.371674"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.6ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 15]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.8ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 30]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 30]] +  (0.6ms) ROLLBACK +  (0.4ms) BEGIN +  (0.4ms) COMMIT +  (0.3ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.3ms) COMMIT +  (0.2ms) BEGIN +  (0.5ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1xj7tw1.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd20150630-95388-q4z6l1' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd20150630-95388-q4z6l1' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd20150630-95388-174o6yh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd20150630-95388-174o6yh' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd20150630-95388-15pdl2i' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dwxjnd20150630-95388-15pdl2i' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-s4hdav.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-19voyo8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-18h774z.png' + SQL (1.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:22:33.089470"], ["updated_at", "2015-07-01 02:22:33.089470"]] + SQL (1.0ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:22:33.236120"], ["galleryable_id", 16], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:22:33.236120"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:22:33.241118"], ["gallery_id", 31], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:22:32.066492"], ["updated_at", "2015-07-01 02:22:33.241118"]] + SQL (0.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:22:33.282768"], ["galleryable_id", 16], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:22:33.282768"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.8ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 16]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (1.4ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.9ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 31]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.1ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 32]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 32]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 31]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 32]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-xv3vp9.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj20150630-95388-xvqigl' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj20150630-95388-xvqigl' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj20150630-95388-1xhd5bt' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj20150630-95388-1xhd5bt' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj20150630-95388-ut7ddo' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-st46rj20150630-95388-ut7ddo' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1bkvd1p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-pionpf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-7qljld.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-19a1ojm.png' + SQL (0.9ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:22:34.462508"], ["gallery_id", 32], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:22:33.388196"], ["updated_at", "2015-07-01 02:22:34.462508"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.7ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 16]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] +  (0.9ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 16], ["galleryable_type", "Event"]] +  (0.8ms) ROLLBACK +  (0.4ms) BEGIN +  (0.3ms) COMMIT +  (0.3ms) BEGIN +  (0.5ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-11gysn0.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g20150630-95388-17liozr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g20150630-95388-17liozr' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g20150630-95388-g0ng22' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g20150630-95388-g0ng22' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g20150630-95388-gbxxtv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1a44y2g20150630-95388-gbxxtv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1rff72b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-2jkl5x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1sibgsr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1jeq5tn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-z0gf60.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-lc0630.png' + SQL (0.9ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:22:36.016454"], ["updated_at", "2015-07-01 02:22:36.016454"]] + SQL (0.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:22:36.022117"], ["galleryable_id", 17], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:22:36.022117"]] + SQL (0.5ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:22:36.026415"], ["gallery_id", 33], ["updated_at", "2015-07-01 02:22:36.026415"]] + SQL (0.6ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:22:36.030981"], ["galleryable_id", 17], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:22:36.030981"]] + SQL (0.7ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:22:36.034507"], ["gallery_id", 34], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:22:34.691557"], ["updated_at", "2015-07-01 02:22:36.034507"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 17]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 34]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 34]] +  (0.3ms) ROLLBACK +Started GET "/" for 127.0.0.1 at 2015-06-30 20:22:42 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (28.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (10.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (77.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.2ms) + Rendered events/_simple_form.html.haml (393.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (4.1ms) + Rendered events/_form.html.haml (16.9ms) + Rendered home/index.html.haml within layouts/application (476.4ms) +Completed 200 OK in 667ms (Views: 620.7ms | ActiveRecord: 11.7ms) +Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-30 20:22:43 -0600 +Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-30 20:22:43 -0600 +Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-06-30 20:22:43 -0600 +Started POST "/events" for 127.0.0.1 at 2015-06-30 20:22:45 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Bresaola Jowl Tail", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +  (0.5ms) BEGIN + SQL (1.4ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:22:45.908625"], ["title", "Bresaola Jowl Tail"], ["updated_at", "2015-07-01 02:22:45.908625"]] + SQL (1.0ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:22:45.917180"], ["galleryable_id", 18], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:22:45.917180"]] + SQL (1.0ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:22:45.922098"], ["galleryable_id", 18], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:22:45.922098"]] +  (2.3ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 57ms (ActiveRecord: 6.8ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 20:22:45 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (20.7ms) + Rendered events/_simple_form.html.haml (62.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.9ms) + Rendered events/_form.html.haml (4.9ms) + Rendered home/index.html.haml within layouts/application (75.7ms) +Completed 200 OK in 121ms (Views: 80.4ms | ActiveRecord: 10.1ms) +  (1.1ms) SELECT COUNT(*) FROM "events" + Event Load (1.3ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] +  (1.0ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 18], ["galleryable_type", "Event"]] + Event Load (0.8ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] +  (1.2ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 18], ["galleryable_type", "Event"]] +  (1.1ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (5.1ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (4.1ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (95.3ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.9ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 20:22:47 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (19.3ms) + Rendered events/_simple_form.html.haml (52.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.9ms) + Rendered events/_form.html.haml (5.2ms) + Rendered home/index.html.haml within layouts/application (58.9ms) +Completed 200 OK in 91ms (Views: 63.3ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 20:22:52 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Venison Hamburger Boudin", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007faa5afed9c0 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-95388-6wdcib>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435717369700"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007faa5afed6c8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-95388-emfv0i>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435717369700][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435717370763"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007faa5afed3d0 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-95388-37bsp3>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435717370763][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-z2e7hu.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a2drmi.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a2drmi.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a2drmi.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a2drmi20150630-95388-1uln9f9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a2drmi20150630-95388-1uln9f9' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a2drmi.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a2drmi.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a2drmi.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a2drmi20150630-95388-oxxqzd' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a2drmi20150630-95388-oxxqzd' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j1cenw.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-106p4q5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-106p4q5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-106p4q5.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-106p4q520150630-95388-11or8uh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-106p4q520150630-95388-11or8uh' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-106p4q5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-106p4q5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-106p4q5.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-106p4q520150630-95388-1y1vb5l' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-106p4q520150630-95388-1y1vb5l' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ybh71a.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-k8h6pl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-k8h6pl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-k8h6pl.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-k8h6pl20150630-95388-1yldrv0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-k8h6pl20150630-95388-1yldrv0' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-k8h6pl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-k8h6pl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-k8h6pl.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-k8h6pl20150630-95388-w53b0r' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-k8h6pl20150630-95388-w53b0r' +  (0.5ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-vsuso2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1li1uif.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-p4xa0b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-7fc677.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-gy1ntr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1r78zsk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dyvij3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-5g7gdl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dvve7m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-6bpj6k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-3zb2x0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-8eoce9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-yugvd1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-9n7pan.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-6q3mc8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-14ribdr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-10t2ikq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1u0j2z5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-193dgrb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-w1edxa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-135zd4s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1eaoi8y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1q6p8s9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-uw0ch4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-fezw3t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1rqhr7y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1fd68a3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-7fc7ma.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-w28gla.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-b8du3g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-vbvf9s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1tpg495.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1tfqd26.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1yffn76.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1v4rk59.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-7leyzq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1328ofl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1xx5mg8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-37j95m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1tfgl5o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-87zx6e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-d0hmgf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-133gu0q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-t2leur.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-153y8qj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-bkgy64.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ch0puj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-polczy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-gwp3mk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-3px0wv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-cit8zc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1tdj3l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-5wwnvt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-vjwvnv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1r91021.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-h8ni6h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-veqnlj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-5bxytd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-10vg7xp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-gt1b5h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1frgl5b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1jhshwz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-b1nwwn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-pqyf4k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1nsyyfq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-df5xv4.png' + SQL (1.2ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:22:56.479543"], ["title", "Venison Hamburger Boudin"], ["updated_at", "2015-07-01 02:22:56.479543"]] + SQL (22.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:22:56.483159"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:22:56.483159"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:22:56.506701"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:22:56.506701"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:22:56.508355"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:22:52.287284"], ["updated_at", "2015-07-01 02:22:56.508355"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:22:56.529375"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:22:53.267134"], ["updated_at", "2015-07-01 02:22:56.529375"]] + SQL (0.8ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:22:56.569223"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:22:54.148891"], ["updated_at", "2015-07-01 02:22:56.569223"]] +  (16.3ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 4525ms (ActiveRecord: 43.4ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 20:22:56 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.7ms) + Rendered events/_simple_form.html.haml (61.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.0ms) + Rendered events/_form.html.haml (6.9ms) + Rendered home/index.html.haml within layouts/application (73.4ms) +Completed 200 OK in 111ms (Views: 79.7ms | ActiveRecord: 0.0ms) +  (3.4ms) SELECT COUNT(*) FROM "events" + Event Load (4.7ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (1.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (1.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.6ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.0ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] +  (1.0ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (4.9ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (3.6ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (19.1ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 20:22:57 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.9ms) + Rendered events/_simple_form.html.haml (56.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.8ms) + Rendered events/_form.html.haml (4.9ms) + Rendered home/index.html.haml within layouts/application (63.1ms) +Completed 200 OK in 98ms (Views: 67.0ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 20:23:00 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Corned Beef Kevin Spare Ribs", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007faa60b18228 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-95388-1m7bj6v>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ikwob3.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j7x3f3.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j7x3f3.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j7x3f3.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j7x3f320150630-95388-1jzmywb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j7x3f320150630-95388-1jzmywb' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j7x3f3.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j7x3f3.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j7x3f3.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j7x3f320150630-95388-1cwo4b6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j7x3f320150630-95388-1cwo4b6' +  (0.5ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1k3pfk1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-s6q1ez.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-tlfb1w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-nzdwoq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-xc1qt1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ani4ct.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-19n2f98.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1jygodd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-515a65.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1iiwwyp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-l6dqd3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-larkxk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-kbbrgs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1s28ayr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12d0yc7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-4p0pu2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-11jxsev.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a549vg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-9eyrha.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-cboyo5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-jmyvcy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1aer2ff.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-gkch41.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1d9dn8m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-u1yu7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-9x1dre.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-wp2n59.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-196g2rw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-pgxery.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-sm89hc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1jm0j7k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1e18zuq.png' + SQL (1.6ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:23:02.589142"], ["title", "Corned Beef Kevin Spare Ribs"], ["updated_at", "2015-07-01 02:23:02.589142"]] + SQL (1.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:23:02.596368"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:23:02.596368"]] + SQL (1.4ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:23:02.603447"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:23:00.636424"], ["updated_at", "2015-07-01 02:23:02.603447"]] + SQL (1.0ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:23:02.650273"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:23:02.650273"]] +  (16.0ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 2524ms (ActiveRecord: 22.4ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 20:23:02 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (29.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (24.6ms) + Rendered events/_simple_form.html.haml (79.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.8ms) + Rendered events/_form.html.haml (6.2ms) + Rendered home/index.html.haml within layouts/application (89.2ms) +Completed 200 OK in 131ms (Views: 94.4ms | ActiveRecord: 2.6ms) +  (1.8ms) SELECT COUNT(*) FROM "events" + Event Load (1.4ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (1.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.0ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 1]] +  (1.0ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (4.6ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (3.6ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (44.1ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.0ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 20:23:03 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (20.4ms) + Rendered events/_simple_form.html.haml (55.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.9ms) + Rendered events/_form.html.haml (4.8ms) + Rendered home/index.html.haml within layouts/application (62.5ms) +Completed 200 OK in 101ms (Views: 66.3ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 20:23:10 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Andouille Swine Pastrami", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007faa60ad5428 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-95388-ddhtty>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435717386168"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007faa60ad4fc8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-95388-15vz5ge>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435717386168][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435717387327"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007faa60ad4c80 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-95388-1cqqfok>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435717387327][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007faa60ad4668 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-95388-6fyb4d>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435717389399"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007faa60ad4208 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-95388-1onay22>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435717389399][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ibh5d.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16aqixy.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16aqixy.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16aqixy.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16aqixy20150630-95388-3kquzu' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16aqixy20150630-95388-3kquzu' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16aqixy.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16aqixy.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16aqixy.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16aqixy20150630-95388-1jef6j7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16aqixy20150630-95388-1jef6j7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-15bdamo.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ipy3qv.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ipy3qv.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ipy3qv.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ipy3qv20150630-95388-s04sxz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ipy3qv20150630-95388-s04sxz' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ipy3qv.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ipy3qv.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ipy3qv.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ipy3qv20150630-95388-1piqe4q' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ipy3qv20150630-95388-1piqe4q' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-15ukjok.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1lin9ry.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1lin9ry.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1lin9ry.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1lin9ry20150630-95388-dasu5c' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1lin9ry20150630-95388-dasu5c' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1lin9ry.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1lin9ry.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1lin9ry.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1lin9ry20150630-95388-1ls6nd8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1lin9ry20150630-95388-1ls6nd8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1kncq5c.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1uqf0sm.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1uqf0sm.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1uqf0sm.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1uqf0sm20150630-95388-14u6kuz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1uqf0sm20150630-95388-14u6kuz' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1uqf0sm.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1uqf0sm.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1uqf0sm.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1uqf0sm20150630-95388-raupad' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1uqf0sm20150630-95388-raupad' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1y50yjv.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ean8cq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ean8cq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ean8cq.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ean8cq20150630-95388-obh8st' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ean8cq20150630-95388-obh8st' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ean8cq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ean8cq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ean8cq.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ean8cq20150630-95388-znt27h' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ean8cq20150630-95388-znt27h' +  (0.5ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-yhhg6g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1kjg1yc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1jthc2a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-zpngl5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12y9i6k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-8dybf4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dkgamn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-11l2r8a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1oqic17.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-lub7bw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1azjhw3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-105dm3m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-t4vf9b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1o0zf5k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-rqxiln.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-azxnnd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-19yd3ej.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1q8gw8o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1gxbciu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1awnukt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1vvjzli.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1kvbll9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1lt6kh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-icxwb0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1qjtbod.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-olebgd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-wme0a7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-17pj6gs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1q9q4f9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-kl16rk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-2qixvi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ytoiy3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-e6wnyk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ka7o0g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1hrf8yt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1v3h4c8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-145qt1b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-13dz0j8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-mzfc5u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-hbngch.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-5ci9sl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-oxh4sp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-u6rqvx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-disyoj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-zi4bxd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1oq37hd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-nua92l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-6xzllk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-z86uzx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-15bumf1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1jv5gf4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1xq0ziv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-z6fhfq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1iw4zgq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-c6opqu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-czwuyp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-y2fujv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-m8abzl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-jt4crb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-f6psl4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ne4a7f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-41wxmu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12kerk6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1h7vxd1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1im2a1v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1m27wr9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1r2h5fr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-7wdt67.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-13tmj0j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-uvs7q8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-d662fr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-5lub0q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ue0tbl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-148yy7k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-8k4yd1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1em4pq0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-p7zg4i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-8njmds.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-o5sell.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-reqhr6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1b4ajw9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ub7enn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-hwfjr9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1tx7dsj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1xp9n7a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1mdw9wa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1vyumqs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-7o0r69.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1m9u2l9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1pl44fs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-117quqy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16ogzz7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-mfjwji.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a3tlj8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-attdei.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-163hyj1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1i6h7e3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-wby410.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ywjji8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-18ez53z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-r05dio.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ohvkwu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1rep8yp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-tcdpif.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ol1x8m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-2oh7qe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1bu8jxf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-yih8md.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-lbray8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-fg80su.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1rv1t2w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-g5l0ce.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-cdpm6c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ybxbrd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1p3338t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1rnoqrr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-9z91ei.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-g72hi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-q3d5u2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1wvgzvq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1cka5n0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-iqv191.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ckluiw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-qlpinw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-18dv23t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-61sdc7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-5z4sl3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1sg4bbj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1sszway.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-pa44ua.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1h00ipz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-hs2tra.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-a9nopy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-5cypvt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1q6dv0z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-18cwlgr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1sxbbsx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-w6se6l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1qbiz79.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1n4lu00.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ebsulq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ve08np.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1pxug8l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1yfc0ns.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-vswywt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-y1b4kr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1cpe50h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-879qjd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16c0jle.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-18tjdqh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12icvbw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16zgbt2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ny4czn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-zxlaew.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ikitsi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-yp0zqi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-14de1v9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1xa6xld.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-su2f1x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-acnwn5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-senn0h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1vac2ms.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-vug0ug.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-t1ghdt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1i0aq2t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-xnr1q6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-uhzk11.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-111d5ef.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1fglucg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-p3mjdx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-87fchd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1f4vxgm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1glb6t5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-13hts4w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-37jktf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ugtvhj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-deflvv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-7zhth5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-qvcv2v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1wkrwn5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1dzlhs8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-6skx3x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-17kxbd4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1fpkppg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-cium7z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-13uqavb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ov9jrs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-xxelw1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-azh20d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-bd8ci8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ivflih.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1bjrlqs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-18vl5if.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-ikukvw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-111f7k4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1eirdz7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ipn7p3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1cu49kn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-yj2hfd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12izear.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-cf9beq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1wnn741.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-osbib1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-oxldvh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-lrt5uc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1jjm1ra.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1czn711.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1luib53.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-zkobh4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-u5j3ra.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1j51gym.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1v9q3hc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-dbpqd7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-xgokpt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-13zk5mw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1g9e6ff.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-c0sncj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1d7qxki.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-42n6td.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-zt3lms.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1mba7k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1y6itp5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-xcz9e4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-4t8xlz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-mft6ya.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-184u0j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-vyi9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-198ik84.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-sz5us.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-8nj5uf.png' + SQL (3.1ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:23:20.822612"], ["title", "Andouille Swine Pastrami"], ["updated_at", "2015-07-01 02:23:20.822612"]] + SQL (23.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:23:20.831522"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:23:20.831522"]] + SQL (41.8ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:23:20.866314"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:23:10.820746"], ["updated_at", "2015-07-01 02:23:20.866314"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:23:20.971580"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:23:11.700140"], ["updated_at", "2015-07-01 02:23:20.971580"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:23:20.994657"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:23:12.774656"], ["updated_at", "2015-07-01 02:23:20.994657"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:23:21.017994"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:23:21.017994"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:23:21.019789"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:23:13.637229"], ["updated_at", "2015-07-01 02:23:21.019789"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:23:21.044449"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:23:14.481723"], ["updated_at", "2015-07-01 02:23:21.044449"]] +  (16.0ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 10462ms (ActiveRecord: 86.0ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 20:23:21 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (25.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (28.0ms) + Rendered events/_simple_form.html.haml (69.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.1ms) + Rendered events/_form.html.haml (5.9ms) + Rendered home/index.html.haml within layouts/application (79.3ms) +Completed 200 OK in 119ms (Views: 85.1ms | ActiveRecord: 0.0ms) +  (1.8ms) SELECT COUNT(*) FROM "events" + Event Load (1.8ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (1.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (2.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.8ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.0ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.1ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (4.5ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (4.3ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (17.2ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.0ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 20:23:22 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (30.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (30.8ms) + Rendered events/_simple_form.html.haml (76.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.7ms) + Rendered events/_form.html.haml (6.8ms) + Rendered home/index.html.haml within layouts/application (84.8ms) +Completed 200 OK in 128ms (Views: 90.8ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 20:23:24 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Chuck Pancetta Drumstick", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007faa5b4bb0d8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-95388-1ebyea1>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1xgcpy5.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12uam22.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12uam22.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12uam22.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12uam2220150630-95388-1f1zbyy' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12uam2220150630-95388-1f1zbyy' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12uam22.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12uam22.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12uam22.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12uam2220150630-95388-1ipkx10' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-12uam2220150630-95388-1ipkx10' +  (0.6ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-168ryxb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1mknk4g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1yo6980.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-139sa26.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-6o6fgs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-2c2m9v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1jkx25j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-gzto26.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-11tbcbf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1od659z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1i8emy2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-18ki5t2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-6eedby.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1qmiiny.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1efc0pe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-vv8tkv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ppwvwz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-hq3rra.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-18zsjvg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-k8r1xv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-19vjxqb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1d3wcju.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-2fzl6i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1i9m3c8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-7ciech.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-5cnuwo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-s9tpjg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1r2j32.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-voesmb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-vt203r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1hhovay.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-15cyj5e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-14bf0vo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-oy1bh6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1sxq3nh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-lg34v3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-14tgb5q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-10kgkzb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1xjyvpo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1y1dgvy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-vjjd0q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ggttub.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16e8zfj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1hg21og.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-17vzrni.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ufhvgy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-15fwc39.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-14iwp3g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1oq7xdo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-16sbx55.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-wlgyhs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-y4y4f2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-xca1da.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-185frc1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-95388-1ch2wzk.png' + SQL (35.2ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:23:27.565882"], ["title", "Chuck Pancetta Drumstick"], ["updated_at", "2015-07-01 02:23:27.565882"]] + SQL (64.5ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:23:27.606199"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:23:27.606199"]] + SQL (1.0ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:23:27.674182"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:23:27.674182"]] + SQL (47.9ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:23:27.681547"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:23:24.880841"], ["updated_at", "2015-07-01 02:23:27.681547"]] +  (17.2ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 3166ms (ActiveRecord: 166.4ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 20:23:27 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (25.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.1ms) + Rendered events/_simple_form.html.haml (63.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.8ms) + Rendered events/_form.html.haml (4.7ms) + Rendered home/index.html.haml within layouts/application (72.4ms) +Completed 200 OK in 114ms (Views: 77.8ms | ActiveRecord: 0.0ms) +  (1.7ms) SELECT COUNT(*) FROM "events" + Event Load (1.0ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (2.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.8ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] +  (1.2ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.1ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] +  (0.6ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (272.5ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (1.0ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.4ms) BEGIN +  (0.4ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-1lem307.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg35.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg35.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg35.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg3520150630-96070-170b8rl' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg3520150630-96070-170b8rl' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg35.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg35.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg35.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg3520150630-96070-iyd8k6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg3520150630-96070-iyd8k6' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg35.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg35.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg35.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg3520150630-96070-28own2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-18qeg3520150630-96070-28own2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-jlzuix.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-1wbpj9y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96070-1xbaxxk.png' + SQL (19.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:27:56.336356"], ["updated_at", "2015-07-01 02:27:56.336356"]] + SQL (2.1ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:27:56.379184"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:27:56.379184"]] + SQL (3.0ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:27:56.385985"], ["gallery_id", 1], ["updated_at", "2015-07-01 02:27:56.385985"]] + SQL (0.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:27:56.393266"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:27:56.393266"]] + SQL (0.7ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:27:56.397103"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:27:55.128715"], ["updated_at", "2015-07-01 02:27:56.397103"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 2]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-30817z.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r20150630-96126-12ksww6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r20150630-96126-12ksww6' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r20150630-96126-11zen9x' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r20150630-96126-11zen9x' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r20150630-96126-1vx0jzt' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1pcnm6r20150630-96126-1vx0jzt' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-rkloti.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-pdanz7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96126-1lu4k0f.png' + SQL (1.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:29:45.664596"], ["updated_at", "2015-07-01 02:29:45.664596"]] + SQL (0.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:29:45.686659"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:29:45.686659"]] + SQL (0.9ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:29:45.691704"], ["gallery_id", 3], ["updated_at", "2015-07-01 02:29:45.691704"]] + SQL (0.6ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:29:45.696370"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:29:45.696370"]] + SQL (0.6ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:29:45.699833"], ["gallery_id", 4], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:29:44.369855"], ["updated_at", "2015-07-01 02:29:45.699833"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 2]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.1ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 4]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]] +  (1.0ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +  (0.1ms) COMMIT +  (0.2ms) BEGIN +  (0.6ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-1bb70vc.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc6.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc6.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc6.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc620150630-96167-ll7iqq' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc620150630-96167-ll7iqq' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc6.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc6.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc6.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc620150630-96167-1io0mhz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc620150630-96167-1io0mhz' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc6.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc6.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc6.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc620150630-96167-1y09t8k' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-tzwkc620150630-96167-1y09t8k' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-qq4pfz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-btpz78.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96167-11b8o0i.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:30:18.502961"], ["updated_at", "2015-07-01 02:30:18.502961"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:30:18.513688"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:30:18.513688"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:30:18.515216"], ["gallery_id", 5], ["updated_at", "2015-07-01 02:30:18.515216"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:30:18.516622"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:30:18.516622"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:30:18.517641"], ["gallery_id", 6], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:30:16.981151"], ["updated_at", "2015-07-01 02:30:18.517641"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.9ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.0ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 6]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 6]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-1m1ekub.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd20150630-96407-o4p8g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd20150630-96407-o4p8g' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd20150630-96407-9qz8ph' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd20150630-96407-9qz8ph' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd20150630-96407-bs4gbr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-me2obd20150630-96407-bs4gbr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-lza7yf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-edpuwx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96407-12l5akc.png' + SQL (17.1ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:38:13.583093"], ["updated_at", "2015-07-01 02:38:13.583093"]] + SQL (20.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:38:13.607861"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:38:13.607861"]] + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:38:13.630381"], ["gallery_id", 7], ["updated_at", "2015-07-01 02:38:13.630381"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:38:13.632118"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:38:13.632118"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:38:13.633350"], ["gallery_id", 8], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:13.060838"], ["updated_at", "2015-07-01 02:38:13.633350"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.8ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 8]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 8]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.3ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-10qpw0e.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z20150630-96448-1drqyh1' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z20150630-96448-1drqyh1' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z20150630-96448-11chh73' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z20150630-96448-11chh73' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z20150630-96448-32vhk6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-rwu20z20150630-96448-32vhk6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-wv54uy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1kwsye1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1hqa4p8.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:38:24.417264"], ["updated_at", "2015-07-01 02:38:24.417264"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:38:24.425941"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:38:24.425941"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:38:24.427512"], ["gallery_id", 9], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:23.948461"], ["updated_at", "2015-07-01 02:38:24.427512"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:38:24.502218"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:38:24.502218"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 10]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 9]] + Polygallery::Photo Load (0.1ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 10]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1vgrc0w.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil20150630-96448-197qwgp' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil20150630-96448-197qwgp' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil20150630-96448-1jk0j7c' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil20150630-96448-1jk0j7c' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil20150630-96448-wuldxy' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a16bil20150630-96448-wuldxy' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1a4szw1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-18cwr52.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1qv0lvu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-25mmll.png' + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:38:25.058711"], ["gallery_id", 10], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:24.569203"], ["updated_at", "2015-07-01 02:38:25.058711"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 5], ["galleryable_type", "Event"]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-ucdydv.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr20150630-96448-1g1xh43' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr20150630-96448-1g1xh43' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr20150630-96448-1qzc1j' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr20150630-96448-1qzc1j' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr20150630-96448-ybumt6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1rfrlwr20150630-96448-ybumt6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1lb9m74.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-a6l94h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-sqamcm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1j9998p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-15elrpg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-1drdvem.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:38:25.627257"], ["updated_at", "2015-07-01 02:38:25.627257"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:38:25.629120"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:38:25.629120"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:38:25.630455"], ["gallery_id", 11], ["updated_at", "2015-07-01 02:38:25.630455"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:38:25.631786"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:38:25.631786"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:38:25.632925"], ["gallery_id", 12], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:25.129982"], ["updated_at", "2015-07-01 02:38:25.632925"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 12]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 12]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-r8ylpc.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw20150630-96448-16ywv7w' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw20150630-96448-16ywv7w' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw20150630-96448-8mlql9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw20150630-96448-8mlql9' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw20150630-96448-sauve' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-705huw20150630-96448-sauve' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-z3fh2i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-12kv5qh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-mkq3c1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-vq70ve.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-ug6xk2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-uoiqqf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-15w5780.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-10s780o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96448-11ni960.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:38:26.239424"], ["updated_at", "2015-07-01 02:38:26.239424"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:38:26.241158"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:38:26.241158"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:38:26.242286"], ["gallery_id", 13], ["updated_at", "2015-07-01 02:38:26.242286"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:38:26.243427"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:38:26.243427"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:38:26.244392"], ["gallery_id", 14], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:25.714122"], ["updated_at", "2015-07-01 02:38:26.244392"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 7]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.1ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 14]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 14]] +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-8243t.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl20150630-96556-19gwn0y' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl20150630-96556-19gwn0y' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl20150630-96556-1r2ji82' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl20150630-96556-1r2ji82' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl20150630-96556-6ismti' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nv18rl20150630-96556-6ismti' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-3jmaz7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-bhqv5o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-pefgcu.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:38:35.623305"], ["updated_at", "2015-07-01 02:38:35.623305"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:38:35.691095"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:38:35.691095"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:38:35.693135"], ["gallery_id", 15], ["updated_at", "2015-07-01 02:38:35.693135"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:38:35.694837"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:38:35.694837"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:38:35.696147"], ["gallery_id", 16], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:35.151993"], ["updated_at", "2015-07-01 02:38:35.696147"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.8ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 16]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 16]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1aooj4f.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q20150630-96556-8nzv5s' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q20150630-96556-8nzv5s' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q20150630-96556-8r033o' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q20150630-96556-8r033o' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q20150630-96556-1ehiuge' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gco0q20150630-96556-1ehiuge' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-nbyrxp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1rcczna.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1vpkvih.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-b5tk44.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-18ev4mi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-14cjjp9.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:38:38.751922"], ["updated_at", "2015-07-01 02:38:38.751922"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:38:38.754207"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:38:38.754207"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:38:38.755841"], ["gallery_id", 17], ["updated_at", "2015-07-01 02:38:38.755841"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:38:38.757751"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:38:38.757751"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:38:38.759108"], ["gallery_id", 18], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:38.216224"], ["updated_at", "2015-07-01 02:38:38.759108"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 9]] + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 18]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 18]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-yr4ghl.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim20150630-96556-78omjm' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim20150630-96556-78omjm' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim20150630-96556-15rjs04' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim20150630-96556-15rjs04' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim20150630-96556-5cy3g7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1f22lim20150630-96556-5cy3g7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-s0aoub.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1ccshh3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-16dmpc1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1en69p0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1p5ox1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1jjmqa7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-otjss1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ro5gpq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ap80yc.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:38:39.423083"], ["updated_at", "2015-07-01 02:38:39.423083"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:38:39.424977"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:38:39.424977"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:38:39.426231"], ["gallery_id", 19], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:38.847539"], ["updated_at", "2015-07-01 02:38:39.426231"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:38:39.444460"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:38:39.444460"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (1.1ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.9ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 19]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 20]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 20]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 19]] + Polygallery::Photo Load (0.1ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 20]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gnn2r6.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke20150630-96556-dwx94m' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke20150630-96556-dwx94m' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke20150630-96556-jbi3n' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke20150630-96556-jbi3n' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke20150630-96556-1exg7gi' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t9dyke20150630-96556-1exg7gi' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-19a91p1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1qgpmtd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1uv5cmz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-l9jfrd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-5bca7e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-7hq60y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rqt8gi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17ktp8x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1qy5g4v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-imyads.png' + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:38:40.516177"], ["gallery_id", 20], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:39.582559"], ["updated_at", "2015-07-01 02:38:40.516177"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 10], ["galleryable_type", "Event"]] +  (0.2ms) ROLLBACK +Started GET "/" for 127.0.0.1 at 2015-06-30 20:38:46 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (27.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (64.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.4ms) + Rendered events/_simple_form.html.haml (152.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.4ms) + Rendered events/_form.html.haml (14.5ms) + Rendered home/index.html.haml within layouts/application (198.3ms) +Completed 200 OK in 314ms (Views: 297.0ms | ActiveRecord: 3.3ms) +Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-30 20:38:47 -0600 +Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-30 20:38:47 -0600 +Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-06-30 20:38:47 -0600 +Started POST "/events" for 127.0.0.1 at 2015-06-30 20:38:51 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Meatball Chuck Biltong", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fad3239fdf0 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-96556-8gy29a>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435718329063"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fad3239f800 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-96556-lgm5zg>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435718329063][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435718329522"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fad3239ef90 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-96556-17py2pu>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435718329522][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fad3239d078 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-96556-gzb4ro>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435718331031"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fad3239cbf0 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-96556-4ake24>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435718331031][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1qtwmqq.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-98g8yx.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-98g8yx.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-98g8yx.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-98g8yx20150630-96556-4jmzfh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-98g8yx20150630-96556-4jmzfh' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-98g8yx.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-98g8yx.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-98g8yx.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-98g8yx20150630-96556-ef97o5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-98g8yx20150630-96556-ef97o5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1sifze7.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ucmgmk.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ucmgmk.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ucmgmk.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ucmgmk20150630-96556-1f2f98u' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ucmgmk20150630-96556-1f2f98u' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ucmgmk.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ucmgmk.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ucmgmk.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ucmgmk20150630-96556-1u0no7l' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ucmgmk20150630-96556-1u0no7l' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10c0o1h.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rllay4.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rllay4.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rllay4.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rllay420150630-96556-1q436p5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rllay420150630-96556-1q436p5' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rllay4.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rllay4.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rllay4.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rllay420150630-96556-ayk2un' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rllay420150630-96556-ayk2un' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-190amr.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9iuh0m.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9iuh0m.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9iuh0m.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9iuh0m20150630-96556-16sdxud' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9iuh0m20150630-96556-16sdxud' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9iuh0m.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9iuh0m.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9iuh0m.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9iuh0m20150630-96556-z3eg77' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9iuh0m20150630-96556-z3eg77' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1w8e1y7.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17rroqu.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17rroqu.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17rroqu.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17rroqu20150630-96556-1gplc57' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17rroqu20150630-96556-1gplc57' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17rroqu.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17rroqu.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17rroqu.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17rroqu20150630-96556-1upwert' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17rroqu20150630-96556-1upwert' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-xw5s74.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1biql6r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-cecw52.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1o1d7g9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1dvm44o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rhryx2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-h96d4s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-5ulb73.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1dtmtm5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1oj0jcv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-pe5saa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1h194ic.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9mfgs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1pcxnmw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-8y5wc0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-11pg1v6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-a13rix.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1adsvxl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1rv21x8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ysk78l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-b87kip.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1e68a0r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1uguy56.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1k7ty1s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-e5wxvu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-j6gs0o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1qkoh31.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1fy2n8g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-yugw3g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-eaigt3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-3t6zmx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-icnteu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-18gw9hw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1n1hd5t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1vyq5b5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-13zyw8e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1ddcdjg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-o11qtj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-crzsvj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-14i1re3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-3jmfon.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1vti2wh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-phbz27.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-kg2uny.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10488w5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-cnfuqg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jm88p4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-d13vro.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-11kz4g8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-18duw79.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ub7hkw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-spd7u7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1lxlmyc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1s5t6p2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-kjln91.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10gj5tg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1kivi1m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1wvgxt9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-6mzyqg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-e8io6o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-cu7l5l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ot74vx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ysbgbs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1pcro3w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-akpy7e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-156dt98.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1c2iaj8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1rmh4x0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1mssrdc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-k3clas.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1fiiuzl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1j96wwb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-or04zm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1otdmat.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-z8mqup.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1n21e7i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1prn3on.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-19pb0aw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1e1wuqv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17c5tl5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-r1u321.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-4i9fvj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1frzcke.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-6nqlbn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1gahf7p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-11aqjeq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1ey5zi5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-117b864.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1qyzyf0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-lovyar.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1x17dlt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1qfredi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-13srut1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1aesp62.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-6y1gsm.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:38:55.492618"], ["title", "Meatball Chuck Biltong"], ["updated_at", "2015-07-01 02:38:55.492618"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:38:55.495568"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:38:55.495568"]] + SQL (66.2ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:38:55.497328"], ["gallery_id", 21], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:51.653756"], ["updated_at", "2015-07-01 02:38:55.497328"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:38:55.576628"], ["gallery_id", 21], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:52.183052"], ["updated_at", "2015-07-01 02:38:55.576628"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:38:55.589132"], ["gallery_id", 21], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:52.555869"], ["updated_at", "2015-07-01 02:38:55.589132"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:38:55.602784"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:38:55.602784"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:38:55.604576"], ["gallery_id", 22], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:52.969213"], ["updated_at", "2015-07-01 02:38:55.604576"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:38:55.616103"], ["gallery_id", 22], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:53.433971"], ["updated_at", "2015-07-01 02:38:55.616103"]] +  (32.4ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 4110ms (ActiveRecord: 101.3ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 20:38:55 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.8ms) + Rendered events/_simple_form.html.haml (19.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.2ms) + Rendered events/_form.html.haml (1.5ms) + Rendered home/index.html.haml within layouts/application (22.3ms) +Completed 200 OK in 38ms (Views: 24.0ms | ActiveRecord: 3.1ms) +  (1.0ms) SELECT COUNT(*) FROM "events" + Event Load (1.3ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (1.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 11], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 11], ["galleryable_type", "Event"]] +  (0.6ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (3.0ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.3ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (51.3ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.5ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 20:38:56 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.2ms) + Rendered events/_simple_form.html.haml (19.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.9ms) + Rendered home/index.html.haml within layouts/application (22.5ms) +Completed 200 OK in 56ms (Views: 24.5ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 20:38:58 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Flank Filet Mignon Sausage", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fad393f5668 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-96556-s08bqi>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rwsomq.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1byckc8.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1byckc8.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1byckc8.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1byckc820150630-96556-1lj84am' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1byckc820150630-96556-1lj84am' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1byckc8.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1byckc8.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1byckc8.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1byckc820150630-96556-pz0nus' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1byckc820150630-96556-pz0nus' +  (0.8ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-xgju3t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-pw5hqy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-pd34dp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-p63bum.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1rlvvwk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-2txsyb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-103w5ve.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-kx67xd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1l17ux9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-qy0m70.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-w5hf6m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1opybxl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1a7iwu3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-5p3ufb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1bgmt3e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1wd1m35.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-bmxqnd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1oun5t4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1h88ifh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-exm4nr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1hmbg7a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1iik2r7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-fjaicg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1ogd874.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-k5z70w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-vodh57.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1pob8hm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-vp7w1p.png' + SQL (18.1ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:38:59.660372"], ["title", "Flank Filet Mignon Sausage"], ["updated_at", "2015-07-01 02:38:59.660372"]] + SQL (42.7ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:38:59.682102"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:38:59.682102"]] + SQL (1.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:38:59.729563"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:38:59.729563"]] + SQL (18.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:38:59.753030"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:38:58.356682"], ["updated_at", "2015-07-01 02:38:59.753030"]] +  (25.6ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 1609ms (ActiveRecord: 107.0ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 20:38:59 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (14.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (17.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (67.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (24.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (39.7ms) + Rendered events/_simple_form.html.haml (161.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.2ms) + Rendered events/_form.html.haml (14.3ms) + Rendered home/index.html.haml within layouts/application (181.1ms) +Completed 200 OK in 296ms (Views: 190.6ms | ActiveRecord: 0.0ms) +  (1.6ms) SELECT COUNT(*) FROM "events" + Event Load (1.3ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] +  (1.0ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.6ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] +  (1.1ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (5.0ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (3.6ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (39.7ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 20:39:04 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (8.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (8.0ms) + Rendered events/_simple_form.html.haml (20.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.8ms) + Rendered home/index.html.haml within layouts/application (22.9ms) +Completed 200 OK in 35ms (Views: 24.5ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 20:39:04 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Tri Tip Kevin Andouille", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +  (0.1ms) BEGIN + SQL (16.6ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:39:04.981275"], ["title", "Tri Tip Kevin Andouille"], ["updated_at", "2015-07-01 02:39:04.981275"]] + SQL (16.6ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:39:04.999689"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:39:04.999689"]] + SQL (0.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:39:05.018572"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:39:05.018572"]] +  (1.2ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 52ms (ActiveRecord: 35.4ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 20:39:05 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.3ms) + Rendered events/_simple_form.html.haml (35.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (2.0ms) + Rendered home/index.html.haml within layouts/application (41.5ms) +Completed 200 OK in 91ms (Views: 44.6ms | ActiveRecord: 3.1ms) +  (3.0ms) SELECT COUNT(*) FROM "events" + Event Load (2.0ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (1.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (2.0ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Event Load (0.9ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.5ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.7ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.4ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (19.4ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 20:39:05 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (8.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (8.5ms) + Rendered events/_simple_form.html.haml (22.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.9ms) + Rendered home/index.html.haml within layouts/application (24.7ms) +Completed 200 OK in 38ms (Views: 27.9ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 20:39:06 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Pork Loin Kielbasa Short Ribs", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fad343df1d8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-96556-19mdscy>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-hgl4rd.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jo7p3a.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jo7p3a.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jo7p3a.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jo7p3a20150630-96556-1b58ym8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jo7p3a20150630-96556-1b58ym8' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jo7p3a.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jo7p3a.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jo7p3a.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jo7p3a20150630-96556-1cq2ebx' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jo7p3a20150630-96556-1cq2ebx' +  (0.5ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1tsx6qr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-cukaqd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-5jyffx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-7vhh11.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-v8m5rw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-tdm7w2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-qyv9hz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-19f3iec.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1l537nz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1g1dfac.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1gbq6ht.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gm11or.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1t166en.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1olto2y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1idakbb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1uu56hp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1iskt2z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1pyay20.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1tzbd5v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ajwyrx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-omasdm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-kk5sge.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-hbax51.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ay801v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t02m2n.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rfjlvg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1je6ofu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-fjrg6k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-54opi2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1iyeh1b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-swo2an.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-18888jj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-akwvcl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1tufixz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-hsgbv1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1e52lrd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1mu0er5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-j7gj49.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-13zzpvh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-11vt6dc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1w2k9k3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-zfejwj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gpc879.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-xxqgkr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-14e140c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-8bzrg2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-s0wehf.png' + SQL (0.7ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:39:08.540185"], ["title", "Pork Loin Kielbasa Short Ribs"], ["updated_at", "2015-07-01 02:39:08.540185"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:39:08.542970"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:39:08.542970"]] + SQL (0.5ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:39:08.545270"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:39:07.252838"], ["updated_at", "2015-07-01 02:39:08.545270"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:39:08.561171"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:39:08.561171"]] +  (15.4ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 1590ms (ActiveRecord: 17.7ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 20:39:08 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (8.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.5ms) + Rendered events/_simple_form.html.haml (23.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.7ms) + Rendered events/_form.html.haml (4.8ms) + Rendered home/index.html.haml within layouts/application (32.5ms) +Completed 200 OK in 73ms (Views: 38.8ms | ActiveRecord: 0.0ms) +  (0.6ms) SELECT COUNT(*) FROM "events" + Event Load (0.7ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 1]] +  (0.4ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.5ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.2ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (7.8ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.5ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-06-30 20:39:09 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.3ms) + Rendered events/_simple_form.html.haml (40.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.2ms) + Rendered events/_form.html.haml (11.0ms) + Rendered home/index.html.haml within layouts/application (53.4ms) +Completed 200 OK in 72ms (Views: 58.3ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-06-30 20:39:12 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Chicken Beef Ribs Pork Belly", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fad31ef6240 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-96556-g44jkw>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435718350732"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fad31ef5de0 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-96556-e3k9s0>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435718350732][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435718351706"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fad31ef59a8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150630-96556-13237m2>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435718351706][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1h1ouo4.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9hkwvq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9hkwvq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9hkwvq.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9hkwvq20150630-96556-mikgjo' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9hkwvq20150630-96556-mikgjo' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9hkwvq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9hkwvq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9hkwvq.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9hkwvq20150630-96556-1cm1xw9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9hkwvq20150630-96556-1cm1xw9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1frhene.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10oazgd.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10oazgd.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10oazgd.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10oazgd20150630-96556-1li86oi' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10oazgd20150630-96556-1li86oi' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10oazgd.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10oazgd.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10oazgd.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10oazgd20150630-96556-1v8ld94' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10oazgd20150630-96556-1v8ld94' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-p1dxss.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1yh8jql.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1yh8jql.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1yh8jql.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1yh8jql20150630-96556-an2vex' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1yh8jql20150630-96556-an2vex' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1yh8jql.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1yh8jql.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1yh8jql.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1yh8jql20150630-96556-1xw09fe' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1yh8jql20150630-96556-1xw09fe' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-4w6p2t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-n66bzo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-uhy7ax.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-18il915.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1phk79l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1mi70vf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1sfnan4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-14v87qv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1q1d0nu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-nbvrw7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ynrrop.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-16a2nsf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-cvdynv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1d5meo3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ksnx79.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-and203.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-mfr3w7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1keas5l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-b2ao5f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-y61744.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-4ekgsg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-16kq8wk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1b7ckih.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1w05lqg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1farrct.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1an0ln.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-hyq60z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1otstb7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-dqi17z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-t7yybv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1rtqs44.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-hjlzdg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9ax8nl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-o8l9de.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-14gd15v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1lv34jf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1oelvca.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-w95nt7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-v71obe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-b95gma.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-6gbs6x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-168eutf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rczmln.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1vqopse.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1l3ifpa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1lyolwz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1j4a01u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-nnyprk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-16d2opo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-dlcmc8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-b27wzz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ytvp4w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-gqeqoo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-14klbak.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-187waa1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-203qjv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-83x78i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-2hgtru.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-7pso7r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-19sed0w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-eaodk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1j1bmeb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1k046sc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1pwh5em.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-kofh6d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1x13tjq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-q61vpv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-18cbrfm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-8zpe9u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-15pmvob.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-14i3oz6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1jriab7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1pthih8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1ppw7qs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-pdrkef.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1hzkhvo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1o7hd1l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-l7fg9s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-zn2xcj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-mtzkav.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1h5nmwa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-10u529p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-opez0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-yg5ulj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-fby9y6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-sc01fk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-18h8qej.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-efoprn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-mxsg5a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1ypx9f8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-3trqvg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-11s2i4a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1llvnlw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-qw5yhd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-18bnnwt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1bnlz3p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-nwyxm6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1angkuk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-hne7gk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1ckq9nn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1lsy5kw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1cl3mz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1x0rg40.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-zwhi7t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1okanl3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1hoa0tk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1ip4z1f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-dzt7xq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1rlhg6x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-j8jdju.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-u2mdkr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nc2kgp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1rjzp0h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-leblc0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1y1fise.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-tbzuym.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-emyiww.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1vuka1y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1inpfqn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-qpzeca.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-2kmgs4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1n2echc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jfx25k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-13l04q1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1xtgimv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-12ap74q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-16f2jzx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jg7bef.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1bv334d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-frgf03.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-100gwy3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-h3wfsx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-161ev3j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jvynjm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1q08ntw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-19826hr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9mhghx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-17g5ldr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-zybmqf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-9bnoz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-mv0hld.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-htx472.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1q1s4v6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1xjiga4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-18t4smw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-14e3kdo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1pa8niy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1nxgw53.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1arla16.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1gmqeit.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1cqgnlq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1aaw2l4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-jr0biz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1ouaotu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1riiyn3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-e5g71g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-7pf4k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1vzz0wx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-uw1b9o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-x9w25b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-vjw0dk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-x8w6np.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1irgnxy.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1ngmb06.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-8y79o4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1n166fr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1ocw62v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-aiyoe5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-ab3pk3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1czkfvz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1e63xyx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1eeclcw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-qaa2mw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-rijj42.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-1cp2730.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-mv0u61.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-96556-b5qxuu.png' + SQL (15.5ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:39:16.509801"], ["title", "Chicken Beef Ribs Pork Belly"], ["updated_at", "2015-07-01 02:39:16.509801"]] + SQL (0.6ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:39:16.527444"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:39:16.527444"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:39:16.529430"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:39:16.529430"]] + SQL (0.6ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:39:16.531944"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:39:12.743982"], ["updated_at", "2015-07-01 02:39:16.531944"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:39:16.565820"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:39:13.208147"], ["updated_at", "2015-07-01 02:39:16.565820"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 02:39:16.596558"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:39:13.630054"], ["updated_at", "2015-07-01 02:39:16.596558"]] +  (15.7ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 4085ms (ActiveRecord: 33.5ms) +Started GET "/" for 127.0.0.1 at 2015-06-30 20:39:16 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (10.1ms) + Rendered events/_simple_form.html.haml (30.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (2.6ms) + Rendered home/index.html.haml within layouts/application (34.1ms) +Completed 200 OK in 49ms (Views: 35.8ms | ActiveRecord: 0.0ms) +  (1.7ms) SELECT COUNT(*) FROM "events" + Event Load (1.0ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (1.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (1.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (2.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (1.7ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] +  (0.2ms) ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (36.7ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) BEGIN +  (0.4ms) COMMIT +  (0.3ms) BEGIN +  (0.4ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1js8fje.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a20150630-97272-pucsxg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a20150630-97272-pucsxg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a20150630-97272-1pn7147' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a20150630-97272-1pn7147' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a20150630-97272-8tsxuk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-4m391a20150630-97272-8tsxuk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-kej3sq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1cpu2i5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1upj0aa.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-17f82m6.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx20150630-97272-149169a' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx20150630-97272-149169a' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx20150630-97272-95tcg9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx20150630-97272-95tcg9' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx20150630-97272-u0iwb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-1y858cx20150630-97272-u0iwb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-14859a1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-nhuwnd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97272-taf0xx.png' + SQL (18.6ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:44:44.957794"], ["updated_at", "2015-07-01 02:44:44.957794"]] + SQL (2.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:44:45.004621"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:44:45.004621"]] + SQL (2.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:44:45.011808"], ["gallery_id", 1], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:44:43.238974"], ["updated_at", "2015-07-01 02:44:45.011808"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:44:45.056795"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:44:45.056795"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:44:45.058429"], ["gallery_id", 2], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:44:44.209192"], ["updated_at", "2015-07-01 02:44:45.058429"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (2.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (1.1ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (1.1ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]] + Polygallery::Gallery Load (1.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 1]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 1]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.9ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 2]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-1bm5had.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru20150630-97344-1wj2zx5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru20150630-97344-1wj2zx5' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru20150630-97344-yq55he' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru20150630-97344-yq55he' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru20150630-97344-d4qk7g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-13rlaru20150630-97344-d4qk7g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-15l9jpv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-1fxuh5k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-1s9730x.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-10y44u.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y20150630-97344-hxjcld' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y20150630-97344-hxjcld' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y20150630-97344-s9cw6q' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y20150630-97344-s9cw6q' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y20150630-97344-cyb9ze' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-lp813y20150630-97344-cyb9ze' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-5z00su.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-1chvszp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97344-12u8m1.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:45:50.164280"], ["updated_at", "2015-07-01 02:45:50.164280"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:45:50.173863"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:45:50.173863"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:45:50.175702"], ["gallery_id", 3], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:45:49.089099"], ["updated_at", "2015-07-01 02:45:50.175702"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:45:50.191276"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:45:50.191276"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:45:50.192811"], ["gallery_id", 4], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:45:49.637758"], ["updated_at", "2015-07-01 02:45:50.192811"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 2]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 3]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]] + Polygallery::Gallery Load (1.0ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.0ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 4]] + Polygallery::Gallery Load (0.9ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-182wqo4.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog20150630-97418-uvnfko' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog20150630-97418-uvnfko' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog20150630-97418-52z51j' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog20150630-97418-52z51j' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog20150630-97418-1w694r0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1yljrog20150630-97418-1w694r0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-7kj294.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-grattt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1f4a9j3.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1ld05b3.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw20150630-97418-lf6o83' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw20150630-97418-lf6o83' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw20150630-97418-lpwsfu' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw20150630-97418-lpwsfu' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw20150630-97418-lo21xv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-18945hw20150630-97418-lo21xv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1nwz7zu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-313r2a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97418-1qrwwe7.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:46:59.022227"], ["updated_at", "2015-07-01 02:46:59.022227"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:46:59.046368"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:46:59.046368"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:46:59.048481"], ["gallery_id", 5], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:46:58.042098"], ["updated_at", "2015-07-01 02:46:59.048481"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:46:59.078916"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:46:59.078916"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:46:59.080657"], ["gallery_id", 6], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:46:58.554920"], ["updated_at", "2015-07-01 02:46:59.080657"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.0ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Photo Load (1.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.8ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]] + Polygallery::Photo Load (1.1ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 6]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1le8h70.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v20150630-97479-1jsddub' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v20150630-97479-1jsddub' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v20150630-97479-hedrq1' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v20150630-97479-hedrq1' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v20150630-97479-16407az' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-w6nc2v20150630-97479-16407az' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-gj6voi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-68ofmg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-waspkm.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-6d7y2e.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl20150630-97479-r1inev' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl20150630-97479-r1inev' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl20150630-97479-1v3hiou' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl20150630-97479-1v3hiou' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl20150630-97479-170wjj5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-1jwgtyl20150630-97479-170wjj5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-payzns.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-50mgp4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97479-15r8gk5.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:47:14.361454"], ["updated_at", "2015-07-01 02:47:14.361454"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:47:14.370187"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:47:14.370187"]] + SQL (74.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:47:14.371972"], ["gallery_id", 7], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:47:13.339790"], ["updated_at", "2015-07-01 02:47:14.371972"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:47:14.463055"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:47:14.463055"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:47:14.464654"], ["gallery_id", 8], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:47:13.845761"], ["updated_at", "2015-07-01 02:47:14.464654"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 7]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 8]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-ik1vnf.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb20150630-97538-jek1p5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb20150630-97538-jek1p5' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb20150630-97538-x9zdu6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb20150630-97538-x9zdu6' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb20150630-97538-1m18z3c' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-iy0swb20150630-97538-1m18z3c' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-zto7f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-16skzmw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-x8kipt.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-dcdufr.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec1.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec1.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec1.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec120150630-97538-i8ixkn' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec120150630-97538-i8ixkn' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec1.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec1.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec1.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec120150630-97538-th073v' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec120150630-97538-th073v' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec1.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec1.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec1.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec120150630-97538-1kzodqf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-12obec120150630-97538-1kzodqf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-8josun.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-14l0og.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97538-1q9cxvi.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:47:43.902689"], ["updated_at", "2015-07-01 02:47:43.902689"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:47:43.910973"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:47:43.910973"]] + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:47:43.912775"], ["gallery_id", 9], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:47:42.892895"], ["updated_at", "2015-07-01 02:47:43.912775"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:47:43.928931"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:47:43.928931"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:47:43.930447"], ["gallery_id", 10], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:47:43.435998"], ["updated_at", "2015-07-01 02:47:43.930447"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.1ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 5], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 9]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 10]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-ilw75h.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm20150630-97613-wre9ql' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm20150630-97613-wre9ql' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm20150630-97613-cjayuy' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm20150630-97613-cjayuy' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm20150630-97613-irk5if' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1yn9dcm20150630-97613-irk5if' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-yqsecv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lw3wca.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-neck1s.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-6qm29j.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z20150630-97613-9zhjsx' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z20150630-97613-9zhjsx' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z20150630-97613-6mo153' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z20150630-97613-6mo153' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z20150630-97613-6qlmgj' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-lzut4z20150630-97613-6qlmgj' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-1qdl097.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-rbyifh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97613-tqyp9v.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:49:16.247731"], ["updated_at", "2015-07-01 02:49:16.247731"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:49:16.257410"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:49:16.257410"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:49:16.259375"], ["gallery_id", 11], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:49:15.184236"], ["updated_at", "2015-07-01 02:49:16.259375"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:49:16.277896"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:49:16.277896"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:49:16.279390"], ["gallery_id", 12], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:49:15.730537"], ["updated_at", "2015-07-01 02:49:16.279390"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (2.9ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.9ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 6], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 11]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 12]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-hrretb.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs2.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs2.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs2.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs220150630-97678-1wehsw3' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs220150630-97678-1wehsw3' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs2.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs2.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs2.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs220150630-97678-1ozngx7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs220150630-97678-1ozngx7' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs2.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs2.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs2.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs220150630-97678-fcnrgh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-jk5rs220150630-97678-fcnrgh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-d2rskj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-u5q8kd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-cux0gv.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-3uy84g.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw20150630-97678-1ui73ha' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw20150630-97678-1ui73ha' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw20150630-97678-yr0qv6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw20150630-97678-yr0qv6' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw20150630-97678-q2glx3' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-44lxnw20150630-97678-q2glx3' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-18zeooc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-1wlgpt2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97678-11ocz20.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:49:36.640926"], ["updated_at", "2015-07-01 02:49:36.640926"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:49:36.649328"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:49:36.649328"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:49:36.651196"], ["gallery_id", 13], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:49:35.616216"], ["updated_at", "2015-07-01 02:49:36.651196"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:49:36.665592"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:49:36.665592"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:49:36.667189"], ["gallery_id", 14], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:49:36.121058"], ["updated_at", "2015-07-01 02:49:36.667189"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 7]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 7], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 13]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 14]] +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1g0frhi.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq20150630-97749-1b0amll' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq20150630-97749-1b0amll' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq20150630-97749-19ekm7x' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq20150630-97749-19ekm7x' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq20150630-97749-1yvwcn2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1ff1rrq20150630-97749-1yvwcn2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-1c2hzg0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-i919br.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97749-va2ap6.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:50:47.234836"], ["updated_at", "2015-07-01 02:50:47.234836"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:50:47.242759"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:50:47.242759"]] + SQL (79.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 02:50:47.244284"], ["gallery_id", 15], ["updated_at", "2015-07-01 02:50:47.244284"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:50:47.324799"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:50:47.324799"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:50:47.326062"], ["gallery_id", 16], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:50:46.720724"], ["updated_at", "2015-07-01 02:50:47.326062"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 16]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 16]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-17fqtik.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh20150630-97787-109j7lz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh20150630-97787-109j7lz' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh20150630-97787-1blpkng' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh20150630-97787-1blpkng' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh20150630-97787-7ci40b' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-7chwxh20150630-97787-7ci40b' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-1pnydyr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-xjbkgn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-1jjlmip.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-1imqex9.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a6.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a6.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a6.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a620150630-97787-i29a76' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a620150630-97787-i29a76' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a6.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a6.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a6.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a620150630-97787-yv3utm' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a620150630-97787-yv3utm' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a6.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a6.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a6.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a620150630-97787-w4cxfr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-14vr4a620150630-97787-w4cxfr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-1awqprd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-11jqep6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150630-97787-16n1y0n.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 02:51:37.402667"], ["updated_at", "2015-07-01 02:51:37.402667"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 02:51:37.412348"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 02:51:37.412348"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:51:37.414099"], ["gallery_id", 17], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:51:36.308540"], ["updated_at", "2015-07-01 02:51:37.414099"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 02:51:37.429756"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 02:51:37.429756"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 02:51:37.431283"], ["gallery_id", 18], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 02:51:36.868243"], ["updated_at", "2015-07-01 02:51:37.431283"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.9ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 9]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 9], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 17]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 18]] +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (15.9ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-1g9usso.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb20150701-99967-2dhwgp' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb20150701-99967-2dhwgp' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb20150701-99967-2m22vy' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb20150701-99967-2m22vy' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb20150701-99967-1adx32l' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-109n1jb20150701-99967-1adx32l' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-ujkfhj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-ptjknk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-11s2r42.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-1u0rb60.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n20150701-99967-od7qct' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n20150701-99967-od7qct' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n20150701-99967-11ngo7b' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n20150701-99967-11ngo7b' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n20150701-99967-mddurh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-qgeb1n20150701-99967-mddurh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-fsiugh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-1p97ru3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-99967-s2duce.png' + SQL (0.6ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 17:38:20.463331"], ["updated_at", "2015-07-01 17:38:20.463331"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 17:38:20.472701"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 17:38:20.472701"]] + SQL (27.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 17:38:20.474554"], ["gallery_id", 19], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 17:38:19.336223"], ["updated_at", "2015-07-01 17:38:20.474554"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 17:38:20.538335"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 17:38:20.538335"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 17:38:20.539847"], ["gallery_id", 20], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 17:38:19.947242"], ["updated_at", "2015-07-01 17:38:20.539847"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.0ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.9ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 10], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 19]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 20]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1db9g69.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb3.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb3.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb3.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb320150701-170-1wj8d1r' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb320150701-170-1wj8d1r' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb3.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb3.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb3.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb320150701-170-1iba50j' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb320150701-170-1iba50j' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb3.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb3.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb3.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb320150701-170-155cwi1' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1hoswb320150701-170-155cwi1' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-y7bx2i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-iq3w8z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-3r63ku.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-186kkut.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n20150701-170-17r9svw' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n20150701-170-17r9svw' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n20150701-170-6l92p0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n20150701-170-6l92p0' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n20150701-170-173bjve' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1kb7d8n20150701-170-173bjve' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-10eklo5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-1f2utf9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-170-8pezsu.png' + SQL (0.6ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 17:41:02.394582"], ["updated_at", "2015-07-01 17:41:02.394582"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 17:41:02.403823"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 17:41:02.403823"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 17:41:02.405928"], ["gallery_id", 21], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 17:41:01.315763"], ["updated_at", "2015-07-01 17:41:02.405928"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 17:41:02.459081"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 17:41:02.459081"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 17:41:02.460659"], ["gallery_id", 22], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 17:41:01.877930"], ["updated_at", "2015-07-01 17:41:02.460659"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.0ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (1.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]] + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 11], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 21]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 22]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-1nphb3t.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj20150701-233-7wq91p' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj20150701-233-7wq91p' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj20150701-233-9gyxk2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj20150701-233-9gyxk2' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj20150701-233-yt0al' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-dtioaj20150701-233-yt0al' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-fqv7ee.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-lkt1d4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-1x1eym2.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-w1cw7x.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o20150701-233-ovl03a' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o20150701-233-ovl03a' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o20150701-233-1pw0v25' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o20150701-233-1pw0v25' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o20150701-233-8sty3b' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-8ns26o20150701-233-8sty3b' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-18dfv6o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-19sh14b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-233-1g1bc7n.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 17:41:30.447616"], ["updated_at", "2015-07-01 17:41:30.447616"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 17:41:30.457081"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 17:41:30.457081"]] + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 17:41:30.458755"], ["gallery_id", 23], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 17:41:29.392256"], ["updated_at", "2015-07-01 17:41:30.458755"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 17:41:30.487770"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 17:41:30.487770"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-07-01 17:41:30.489411"], ["gallery_id", 24], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 17:41:29.933509"], ["updated_at", "2015-07-01 17:41:30.489411"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.0ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 12], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 23]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 24]] +  (0.3ms) ROLLBACK +  (181.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (17.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateEvents (20140803170839) +  (0.1ms) BEGIN +  (42.4ms) CREATE TABLE "events" ("id" serial primary key, "title" character varying(255), "created_at" timestamp, "updated_at" timestamp)  + SQL (15.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140803170839"]] +  (0.7ms) COMMIT +Migrating to CreatePolygalleries (20150320165705) +  (15.4ms) BEGIN +  (40.8ms) CREATE TABLE "polygallery_galleries" ("id" serial primary key, "title" character varying(255) DEFAULT 'gallery', "default_photo_id" integer, "galleryable_id" integer, "galleryable_type" character varying(255), "class_name" character varying(255), "created_at" timestamp, "updated_at" timestamp)  +  (5.9ms) CREATE TABLE "polygallery_photos" ("id" serial primary key, "gallery_id" integer, "photo_file_name" character varying(255), "photo_content_type" character varying(255), "photo_file_size" integer, "photo_updated_at" timestamp, "title" character varying(255), "caption" text, "class_name" character varying(255), "created_at" timestamp, "updated_at" timestamp) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150320165705"]] +  (0.8ms) COMMIT +Migrating to CreatePolygalleriesIfNecessary (20150701180557) +  (31.0ms) BEGIN + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150701180557"]] +  (0.5ms) COMMIT +Migrating to AddAssociationsToPolygalleryPhotos (20150701180956) +  (0.1ms) BEGIN +  (0.4ms) ALTER TABLE "polygallery_photos" ADD COLUMN "gallery_title" character varying(255) +  (0.2ms) ALTER TABLE "polygallery_photos" ADD COLUMN "galleryable_id" integer +  (0.2ms) ALTER TABLE "polygallery_photos" ADD COLUMN "galleryable_type" character varying(255) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150701180956"]] +  (15.5ms) COMMIT + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to AddAssociationsToPolygalleryPhotos (20150701180956) +  (0.2ms) BEGIN +  (35.0ms) ALTER TABLE "polygallery_photos" DROP "galleryable_type" +  (0.2ms) ALTER TABLE "polygallery_photos" DROP "galleryable_id" +  (0.2ms) ALTER TABLE "polygallery_photos" DROP "gallery_title" + SQL (25.7ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20150701180956' +  (2.2ms) COMMIT + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to AddAssociationsToPolygalleryPhotos (20150701180956) +  (0.1ms) BEGIN +  (77.4ms) ALTER TABLE "polygallery_photos" ADD COLUMN "gallery_title" character varying(255) +  (0.3ms) ALTER TABLE "polygallery_photos" ADD COLUMN "galleryable_id" integer +  (0.4ms) ALTER TABLE "polygallery_photos" ADD COLUMN "galleryable_type" character varying(255) +  (2.3ms) SELECT COUNT(*) FROM "polygallery_galleries" + SQL (16.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150701180956"]] +  (14.8ms) COMMIT + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-9bhz4l.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx20150701-1092-j5coli' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx20150701-1092-j5coli' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx20150701-1092-1b10fzc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx20150701-1092-1b10fzc' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx20150701-1092-4dxpm0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-i3xubx20150701-1092-4dxpm0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-2gos9y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-1q0ua1b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-1oksjhd.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-cexbmu.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp20150701-1092-1pian0c' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp20150701-1092-1pian0c' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp20150701-1092-1aiyif3' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp20150701-1092-1aiyif3' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp20150701-1092-1gp8tea' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-kczzrp20150701-1092-1gp8tea' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-vqid5k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-15oh753.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1092-1v18gxr.png' + SQL (11.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:20:04.571065"], ["updated_at", "2015-07-01 18:20:04.571065"]] + SQL (0.5ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:20:04.632197"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:20:04.632197"]] + SQL (7.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:20:04.634456"], ["gallery_id", 1], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:20:03.330276"], ["updated_at", "2015-07-01 18:20:04.634456"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:20:04.689552"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:20:04.689552"]] + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:20:04.691403"], ["gallery_id", 2], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:20:04.011747"], ["updated_at", "2015-07-01 18:20:04.691403"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (2.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]] + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 1]] + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-2y5jws.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v20150701-1195-1tofr8m' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v20150701-1195-1tofr8m' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v20150701-1195-18qjfbs' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v20150701-1195-18qjfbs' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v20150701-1195-yvng0g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-1goc31v20150701-1195-yvng0g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-l2qt4y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-57rl2i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-ckarvd.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-c80ple.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao1.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao1.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao1.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao120150701-1195-yhv4nz' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao120150701-1195-yhv4nz' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao1.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao1.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao1.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao120150701-1195-1sy6ktc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao120150701-1195-1sy6ktc' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao1.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao1.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao1.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao120150701-1195-1hxhk2d' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-hvlao120150701-1195-1hxhk2d' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-nowxz1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-oz44x6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1195-9a24oo.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:22:50.747211"], ["updated_at", "2015-07-01 18:22:50.747211"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:22:50.757410"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:22:50.757410"]] + SQL (17.0ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:22:50.759360"], ["gallery_id", 3], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:22:49.679663"], ["updated_at", "2015-07-01 18:22:50.759360"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:22:50.793823"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:22:50.793823"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:22:50.795338"], ["gallery_id", 4], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:22:50.237733"], ["updated_at", "2015-07-01 18:22:50.795338"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 2]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 2], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-18d12is.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z20150701-1261-1zvw2v' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z20150701-1261-1zvw2v' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z20150701-1261-1fhnij1' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z20150701-1261-1fhnij1' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z20150701-1261-1caan0j' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-g0ec2z20150701-1261-1caan0j' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-1wv92s4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-xrwqps.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-dzygft.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-7io6l0.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul20150701-1261-oisw97' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul20150701-1261-oisw97' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul20150701-1261-1sxopy7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul20150701-1261-1sxopy7' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul20150701-1261-15a4ydq' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-196rhul20150701-1261-15a4ydq' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-w6qq80.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-11bnt72.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1261-1robaw1.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:23:13.650414"], ["updated_at", "2015-07-01 18:23:13.650414"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:23:13.660696"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:23:13.660696"]] + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:23:13.662478"], ["gallery_id", 5], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:23:12.624490"], ["updated_at", "2015-07-01 18:23:13.662478"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:23:13.679853"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:23:13.679853"]] + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:23:13.681466"], ["gallery_id", 6], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:23:13.120350"], ["updated_at", "2015-07-01 18:23:13.681466"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] +  (0.6ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 3], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-19swnaj.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej20150701-1325-znbs3f' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej20150701-1325-znbs3f' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej20150701-1325-146x0lf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej20150701-1325-146x0lf' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej20150701-1325-9la81m' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-14hvcej20150701-1325-9la81m' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-8kolw2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-18xa0v2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-nzve0x.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1q3vf9o.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre20150701-1325-1jr2awk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre20150701-1325-1jr2awk' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre20150701-1325-jzusg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre20150701-1325-jzusg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre20150701-1325-1xt90b2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1f7vdre20150701-1325-1xt90b2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1lp2yc6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-rjw68v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1325-1dieq50.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:23:40.106768"], ["updated_at", "2015-07-01 18:23:40.106768"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:23:40.116726"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:23:40.116726"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:23:40.118524"], ["gallery_id", 7], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:23:39.054571"], ["updated_at", "2015-07-01 18:23:40.118524"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:23:40.143652"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:23:40.143652"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:23:40.145190"], ["gallery_id", 8], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:23:39.594115"], ["updated_at", "2015-07-01 18:23:40.145190"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.0ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 4], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1498-nbwex4.png' +  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.3ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-1wqce8i.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi20150701-1518-nyv3lj' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi20150701-1518-nyv3lj' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi20150701-1518-19xtow7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi20150701-1518-19xtow7' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi.png[0]' -auto-orient -resize "x200" -crop "100x200+127+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi20150701-1518-1x48iu5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-nxv7fi20150701-1518-1x48iu5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-15f86it.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-hvjrvr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-15whpc7.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-16v1yku.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz20150701-1518-1qwdv3g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz20150701-1518-1qwdv3g' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz20150701-1518-18a3yy6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz20150701-1518-18a3yy6' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz20150701-1518-15uazq8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-12f3npz20150701-1518-15uazq8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-1lda702.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-19i2q2d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1518-qax8vv.png' + SQL (0.6ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:29:34.814373"], ["updated_at", "2015-07-01 18:29:34.814373"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:29:34.825279"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:29:34.825279"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:29:34.827136"], ["gallery_id", 9], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:29:33.817315"], ["updated_at", "2015-07-01 18:29:34.827136"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:29:34.845410"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:29:34.845410"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:29:34.846860"], ["gallery_id", 10], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:29:34.219900"], ["updated_at", "2015-07-01 18:29:34.846860"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.8ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 5], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-14w0xc9.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc20150701-1588-tsm8on' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc20150701-1588-tsm8on' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc20150701-1588-dnymn0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc20150701-1588-dnymn0' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc.png[0]' -auto-orient -resize "x200" -crop "100x200+127+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc20150701-1588-14jqdtu' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-3okxrc20150701-1588-14jqdtu' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-lte79p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-12evtau.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1pkv874.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-kplpw9.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o20150701-1588-6d24fq' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o20150701-1588-6d24fq' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o20150701-1588-1s84249' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o20150701-1588-1s84249' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o20150701-1588-17nwtzy' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1wwlr1o20150701-1588-17nwtzy' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-xpbebk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-1oiowtz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1588-xqpjiv.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:30:13.463768"], ["updated_at", "2015-07-01 18:30:13.463768"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:30:13.472556"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:30:13.472556"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:30:13.474051"], ["gallery_id", 11], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:30:12.519877"], ["updated_at", "2015-07-01 18:30:13.474051"]] + SQL (61.5ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:30:13.503230"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:30:13.503230"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:30:13.566196"], ["gallery_id", 12], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:30:12.965373"], ["updated_at", "2015-07-01 18:30:13.566196"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.9ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.5ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]] + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 6], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-18ct6ah.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz3.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz3.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz3.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz320150701-1663-sd17p5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz320150701-1663-sd17p5' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz3.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz3.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz3.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz320150701-1663-1rosz81' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz320150701-1663-1rosz81' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz3.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz3.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz3.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz320150701-1663-v5g4uc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-erumz320150701-1663-v5g4uc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-p8p9dg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-s3rayf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-hotmzl.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:31:42.092309"], ["updated_at", "2015-07-01 18:31:42.092309"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:31:42.099840"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:31:42.099840"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:31:42.101276"], ["gallery_id", 13], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:31:42.101276"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:31:42.102756"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:31:42.102756"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:31:42.103789"], ["gallery_id", 14], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:31:41.587978"], ["updated_at", "2015-07-01 18:31:42.103789"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 7]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 14]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-14qojyn.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn20150701-1663-183cbun' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn20150701-1663-183cbun' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn20150701-1663-licvl7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn20150701-1663-licvl7' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn.png[0]' -auto-orient -resize "x200" -crop "100x200+127+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn20150701-1663-7h5ikb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1g3fgrn20150701-1663-7h5ikb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-tzfw1h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-vyz8eo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-j6q72a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1ypp3pd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-18i06w2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1a2vwg1.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-lilysi.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk20150701-1663-8wpndd' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk20150701-1663-8wpndd' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk20150701-1663-1umgp82' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk20150701-1663-1umgp82' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk20150701-1663-8uxoo4' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-163txtk20150701-1663-8uxoo4' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1kueruu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-n5b43t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-2ikvye.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-9w3si7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1d3sxc6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1663-1lhprym.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:31:43.113705"], ["updated_at", "2015-07-01 18:31:43.113705"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:31:43.115557"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:31:43.115557"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:31:43.116807"], ["gallery_id", 15], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:31:42.234830"], ["updated_at", "2015-07-01 18:31:43.116807"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:31:43.132876"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:31:43.132876"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:31:43.134241"], ["gallery_id", 16], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:31:42.621446"], ["updated_at", "2015-07-01 18:31:43.134241"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.0ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 8], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-wi6qj3.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1aujn6m.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1aujn6m.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1aujn6m.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1aujn6m20150701-1755-uvbc2a' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1aujn6m20150701-1755-uvbc2a' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1aujn6m.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1aujn6m.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1aujn6m.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1aujn6m20150701-1755-5bs8sb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1aujn6m20150701-1755-5bs8sb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-b8tjxn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1gu49t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-yqa5vt.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-l5pt6u.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin20150701-1755-15evxdv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin20150701-1755-15evxdv' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin20150701-1755-9asphk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin20150701-1755-9asphk' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin20150701-1755-164jwai' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1bodsin20150701-1755-164jwai' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-19ryolt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-36nfgz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1yci6r3.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:32:38.288782"], ["updated_at", "2015-07-01 18:32:38.288782"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:32:38.298438"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:32:38.298438"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:32:38.300110"], ["gallery_id", 17], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:32:37.416605"], ["updated_at", "2015-07-01 18:32:38.300110"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:32:38.327457"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:32:38.327457"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:32:38.328982"], ["gallery_id", 18], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:32:37.755336"], ["updated_at", "2015-07-01 18:32:38.328982"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.8ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 9]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 9], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] +  (0.6ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-pgjnbn.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1gazq41.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1gazq41.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1gazq41.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1gazq4120150701-1755-10wbh1e' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1gazq4120150701-1755-10wbh1e' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1gazq41.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1gazq41.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1gazq41.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1gazq4120150701-1755-1eks022' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1gazq4120150701-1755-1eks022' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-14u0ykn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1uj10b4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-17kjnoa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-w0rkcs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1fth8ay.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1rsxzah.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-qzcj7f.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:32:41.157048"], ["updated_at", "2015-07-01 18:32:41.157048"]] + SQL (40.8ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:32:41.159381"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:32:41.159381"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:32:41.201763"], ["gallery_id", 19], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:32:40.862342"], ["updated_at", "2015-07-01 18:32:41.201763"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:32:41.214687"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:32:41.214687"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 19]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 20]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 20]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 19]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 20]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-2a0eyt.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez20150701-1755-cuqk59' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez20150701-1755-cuqk59' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez20150701-1755-1p66uv5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez20150701-1755-1p66uv5' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez20150701-1755-z1vtny' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1nkaaez20150701-1755-z1vtny' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-13h8rrr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-15ngwd3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-rry0ch.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-ujdlpz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-r2k43r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-14tm60s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-um9kg8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1x9suh3.png' + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_id", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["created_at", "2015-07-01 18:32:41.800814"], ["gallery_id", 20], ["gallery_title", "custom_gallery"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:32:41.280436"], ["updated_at", "2015-07-01 18:32:41.800814"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 10], ["galleryable_type", "Event"]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1jv9y2r.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u20150701-1755-90d0le' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u20150701-1755-90d0le' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u20150701-1755-fm5erp' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u20150701-1755-fm5erp' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u20150701-1755-185frk5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1q5h18u20150701-1755-185frk5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-t3c3xw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1k5f7ii.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-ty03og.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-16mlygu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1jfek68.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-174u2ve.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-555q8g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-7dggu6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-lyfnaz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1755-1d9j6c1.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:32:42.451586"], ["updated_at", "2015-07-01 18:32:42.451586"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:32:42.453425"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:32:42.453425"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:32:42.454476"], ["gallery_id", 21], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:32:42.454476"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:32:42.455897"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:32:42.455897"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:32:42.456851"], ["gallery_id", 22], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:32:41.882903"], ["updated_at", "2015-07-01 18:32:42.456851"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 22]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1q9zjm8.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-9ibgz5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-9ibgz5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-9ibgz5.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-9ibgz520150701-1886-1917cpt' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-9ibgz520150701-1886-1917cpt' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-9ibgz5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-9ibgz5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-9ibgz5.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-9ibgz520150701-1886-vu6wza' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-9ibgz520150701-1886-vu6wza' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-vb6wx7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1hgkz9o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1d5zo19.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:33:02.612573"], ["updated_at", "2015-07-01 18:33:02.612573"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:33:02.620552"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:33:02.620552"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:33:02.622076"], ["gallery_id", 23], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:33:02.329691"], ["updated_at", "2015-07-01 18:33:02.622076"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:33:02.689999"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:33:02.689999"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 23]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 24]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 24]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 23]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 24]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1e8copx.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r20150701-1886-pvf3k7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r20150701-1886-pvf3k7' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r20150701-1886-myus4h' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r20150701-1886-myus4h' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r20150701-1886-kmc442' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vwm24r20150701-1886-kmc442' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1g5ms66.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-514xpm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1ik31di.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-bksodq.png' + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_id", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["created_at", "2015-07-01 18:33:03.251456"], ["gallery_id", 24], ["gallery_title", "custom_gallery"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:33:02.768206"], ["updated_at", "2015-07-01 18:33:03.251456"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 12], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1sm2dz3.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-xrowbm.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-xrowbm.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-xrowbm.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-xrowbm20150701-1886-2cbtr9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-xrowbm20150701-1886-2cbtr9' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-xrowbm.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-xrowbm.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-xrowbm.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-xrowbm20150701-1886-m6iaqw' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-xrowbm20150701-1886-m6iaqw' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1s6b8i5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1wlk6im.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1wenbiu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-ejwdnl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-oh16o0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-cecrdn.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-28z49j.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h20150701-1886-1mb9rbf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h20150701-1886-1mb9rbf' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h20150701-1886-oqucdf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h20150701-1886-oqucdf' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h20150701-1886-xwe2yq' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-13x987h20150701-1886-xwe2yq' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1nhvul5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-edde7k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-njoile.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1wi9ld.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-5idqya.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1uxubns.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:33:04.131235"], ["updated_at", "2015-07-01 18:33:04.131235"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:33:04.133017"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:33:04.133017"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:33:04.134399"], ["gallery_id", 25], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:33:03.327221"], ["updated_at", "2015-07-01 18:33:04.134399"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:33:04.236729"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:33:04.236729"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:33:04.238048"], ["gallery_id", 26], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:33:03.638001"], ["updated_at", "2015-07-01 18:33:04.238048"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 13], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1vds4kr.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc20150701-1886-16qqek9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc20150701-1886-16qqek9' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc20150701-1886-1tyww43' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc20150701-1886-1tyww43' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc20150701-1886-1mr6g9g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-aqn5hc20150701-1886-1mr6g9g' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1i0ev2q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1w94hbi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1t7rwbq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-d4cjff.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-gfmcft.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-vb8qbh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-xr84ug.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-1cx8avn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-yt1mya.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-1886-17wkbek.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:33:07.359868"], ["updated_at", "2015-07-01 18:33:07.359868"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:33:07.361812"], ["galleryable_id", 14], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:33:07.361812"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:33:07.362923"], ["gallery_id", 27], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:33:07.362923"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:33:07.364248"], ["galleryable_id", 14], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:33:07.364248"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:33:07.365156"], ["gallery_id", 28], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:33:06.809866"], ["updated_at", "2015-07-01 18:33:07.365156"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 28]] +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-17otjbm.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo20150701-2018-1cfm72k' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo20150701-2018-1cfm72k' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo20150701-2018-1hdusg1' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo20150701-2018-1hdusg1' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo20150701-2018-1xn01tc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-13qljzo20150701-2018-1xn01tc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-l5pq3g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-3tw4gu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-yl6det.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:33:41.700233"], ["updated_at", "2015-07-01 18:33:41.700233"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:33:41.756825"], ["galleryable_id", 15], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:33:41.756825"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:33:41.758561"], ["gallery_id", 29], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:33:41.758561"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:33:41.760068"], ["galleryable_id", 15], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:33:41.760068"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:33:41.761154"], ["gallery_id", 30], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:33:41.240255"], ["updated_at", "2015-07-01 18:33:41.761154"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 15]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 15], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 30]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1wuz.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1pzf047.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1pzf047.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1pzf047.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1pzf04720150701-2018-cda4t4' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1pzf04720150701-2018-cda4t4' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1pzf047.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1pzf047.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1pzf047.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1pzf04720150701-2018-5p2u2t' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1pzf04720150701-2018-5p2u2t' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-ewpu1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-y7w1h9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-17thjhq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1thq6mi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1vjzcjr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1qu489n.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1nxsigl.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li70.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li70.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li70.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li7020150701-2018-6izqtb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li7020150701-2018-6izqtb' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li70.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li70.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li70.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li7020150701-2018-9joi5n' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li7020150701-2018-9joi5n' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li70.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li70.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li70.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li7020150701-2018-1szy63l' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1j9li7020150701-2018-1szy63l' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-17xgta7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-c54sjz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-152qqkl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-i88coo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-72ut6i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1m4ucee.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:33:42.623097"], ["updated_at", "2015-07-01 18:33:42.623097"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:33:42.625015"], ["galleryable_id", 16], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:33:42.625015"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:33:42.626155"], ["gallery_id", 31], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:33:41.834119"], ["updated_at", "2015-07-01 18:33:42.626155"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:33:42.636648"], ["galleryable_id", 16], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:33:42.636648"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:33:42.638070"], ["gallery_id", 32], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:33:42.131876"], ["updated_at", "2015-07-01 18:33:42.638070"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 16]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 16], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 16], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-cxo4jo.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1g8ku1m.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1g8ku1m.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1g8ku1m.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1g8ku1m20150701-2018-1bb7nsv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1g8ku1m20150701-2018-1bb7nsv' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1g8ku1m.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1g8ku1m.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1g8ku1m.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1g8ku1m20150701-2018-bxlls1' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1g8ku1m20150701-2018-bxlls1' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-45g0rp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-16v3evn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1oy75v5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-121nwem.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-fvx1ce.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-r1jnw7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-16qaxro.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-10gj8s3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-imzoua.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-2d11ra.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:33:45.460978"], ["updated_at", "2015-07-01 18:33:45.460978"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:33:45.462888"], ["galleryable_id", 17], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:33:45.462888"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:33:45.464032"], ["gallery_id", 33], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:33:45.154642"], ["updated_at", "2015-07-01 18:33:45.464032"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:33:45.473824"], ["galleryable_id", 17], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:33:45.473824"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 17]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 33]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 34]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 34]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 33]] + Polygallery::Photo Load (0.1ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 34]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-wnswnk.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq006.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq006.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq006.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq00620150701-2018-1mcaqcp' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq00620150701-2018-1mcaqcp' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq006.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq006.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq006.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq00620150701-2018-8lpo91' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq00620150701-2018-8lpo91' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq006.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq006.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq006.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq00620150701-2018-aoeybg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1kyq00620150701-2018-aoeybg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1elqujz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-sbp1s7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-v56iuo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1uoslfr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1b2hykc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1e8mg6c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1jm5pek.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-wpr8ju.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-lvpuqu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-1mhbzt0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2018-ge8z80.png' + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_id", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["created_at", "2015-07-01 18:33:46.085629"], ["gallery_id", 34], ["gallery_title", "custom_gallery"], ["galleryable_id", 17], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:33:45.541702"], ["updated_at", "2015-07-01 18:33:46.085629"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 17]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 17], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 17], ["galleryable_type", "Event"]] +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-54u8av.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1o75ae6.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1o75ae6.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1o75ae6.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1o75ae620150701-2182-b4kf8t' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1o75ae620150701-2182-b4kf8t' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1o75ae6.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1o75ae6.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1o75ae6.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1o75ae620150701-2182-5j6rws' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1o75ae620150701-2182-5j6rws' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-utofl4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1cm8u52.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1qpdmn3.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:38:08.489372"], ["updated_at", "2015-07-01 18:38:08.489372"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:38:08.496814"], ["galleryable_id", 18], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:38:08.496814"]] + SQL (0.4ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:38:08.498320"], ["gallery_id", 35], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:08.214203"], ["updated_at", "2015-07-01 18:38:08.498320"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:38:08.508645"], ["galleryable_id", 18], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:38:08.508645"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 18]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.4ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 35]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 36]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 36]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 35]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 36]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-5r4fv2.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr5.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr520150701-2182-gv5ge0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr520150701-2182-gv5ge0' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr5.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr520150701-2182-1xvqxt' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr520150701-2182-1xvqxt' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr5.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr5.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr5.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr520150701-2182-1ggsgzf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-il4nr520150701-2182-1ggsgzf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1obpzup.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1mpnsvo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1hjqfqt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-d584vt.png' + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_id", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["created_at", "2015-07-01 18:38:09.110645"], ["gallery_id", 36], ["gallery_title", "custom_gallery"], ["galleryable_id", 18], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:08.633421"], ["updated_at", "2015-07-01 18:38:09.110645"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 18]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 18], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 18], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1ehb1ea.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq20150701-2182-1obdzcj' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq20150701-2182-1obdzcj' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq20150701-2182-3c36ku' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq20150701-2182-3c36ku' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq20150701-2182-1ccg7r7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1w1ulzq20150701-2182-1ccg7r7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-df44ow.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1qbr9l1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-nnfmm0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-12zzpie.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-11y1p3b.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cm5xn5.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:38:09.670087"], ["updated_at", "2015-07-01 18:38:09.670087"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:38:09.671938"], ["galleryable_id", 19], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:38:09.671938"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:38:09.673070"], ["gallery_id", 37], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:38:09.673070"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:38:09.674516"], ["galleryable_id", 19], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:38:09.674516"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:38:09.675487"], ["gallery_id", 38], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:09.182473"], ["updated_at", "2015-07-01 18:38:09.675487"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 19]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 19], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 19], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 19], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 38]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-13fkdly.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-vm426b.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-vm426b.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-vm426b.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-vm426b20150701-2182-bi05ht' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-vm426b20150701-2182-bi05ht' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-vm426b.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-vm426b.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-vm426b.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-vm426b20150701-2182-i4qg8j' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-vm426b20150701-2182-i4qg8j' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-yy21us.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1q2bu1g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1le5p8y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1dp1ew1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-19e6t9x.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-17iu6f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-15585q4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-10hjm6y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1khygxw.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-114h8ga.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn20150701-2182-1jh7u4t' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn20150701-2182-1jh7u4t' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn20150701-2182-5g4l7z' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn20150701-2182-5g4l7z' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn20150701-2182-1o848e0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-cj0hbn20150701-2182-1o848e0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1o6xyi6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-jx3ldu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-i0rcsz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1031z3a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-w808vo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-g7qspr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-hc8ikw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-tudefk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2182-1d7tw6f.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:38:10.591824"], ["updated_at", "2015-07-01 18:38:10.591824"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:38:10.593571"], ["galleryable_id", 20], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:38:10.593571"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:38:10.594875"], ["gallery_id", 39], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:09.761955"], ["updated_at", "2015-07-01 18:38:10.594875"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:38:10.605848"], ["galleryable_id", 20], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:38:10.605848"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:38:10.607083"], ["gallery_id", 40], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:10.082489"], ["updated_at", "2015-07-01 18:38:10.607083"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 20]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 20], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 20], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 20], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 20], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 20], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 20], ["galleryable_type", "Event"]] +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-18b2wxc.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1cf1fpo.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1cf1fpo.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1cf1fpo.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1cf1fpo20150701-2331-ziw5xo' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1cf1fpo20150701-2331-ziw5xo' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1cf1fpo.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1cf1fpo.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1cf1fpo.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1cf1fpo20150701-2331-vgungw' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1cf1fpo20150701-2331-vgungw' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1190fkc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1n4gmd6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1gcikzq.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-19m5r1z.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz2.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz2.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz2.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz220150701-2331-e3s7zn' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz220150701-2331-e3s7zn' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz2.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz2.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz2.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz220150701-2331-1lotiav' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz220150701-2331-1lotiav' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz2.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz2.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz2.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz220150701-2331-mvuj14' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1h8ssz220150701-2331-mvuj14' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rnde6f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-12qojyv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-4dhacw.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:38:36.344926"], ["updated_at", "2015-07-01 18:38:36.344926"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:38:36.354734"], ["galleryable_id", 21], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:38:36.354734"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:38:36.356483"], ["gallery_id", 41], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:35.545635"], ["updated_at", "2015-07-01 18:38:36.356483"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:38:36.370420"], ["galleryable_id", 21], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:38:36.370420"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:38:36.371931"], ["gallery_id", 42], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:35.824955"], ["updated_at", "2015-07-01 18:38:36.371931"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 21]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 21], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 21], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 21], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 21], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 21], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 21], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-10qnaph.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a20150701-2331-2yn8h6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a20150701-2331-2yn8h6' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a20150701-2331-1hv1xka' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a20150701-2331-1hv1xka' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a20150701-2331-e9k14n' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ircg7a20150701-2331-e9k14n' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1t6z0mv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-pqg8b9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-hkyuee.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-ns7r9p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-ge7o2s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-163tv3q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1fvt0ee.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:38:39.245510"], ["updated_at", "2015-07-01 18:38:39.245510"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:38:39.247300"], ["galleryable_id", 22], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:38:39.247300"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:38:39.248484"], ["gallery_id", 43], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:38:39.248484"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:38:39.249848"], ["galleryable_id", 22], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:38:39.249848"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:38:39.251087"], ["gallery_id", 44], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:38.751943"], ["updated_at", "2015-07-01 18:38:39.251087"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 22]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 22], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 22], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 22], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 44]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-xsp6v0.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ab0awd.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ab0awd.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ab0awd.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ab0awd20150701-2331-1m7orid' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ab0awd20150701-2331-1m7orid' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ab0awd.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ab0awd.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ab0awd.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ab0awd20150701-2331-1wbukyl' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1ab0awd20150701-2331-1wbukyl' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-cagzcr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1utrvey.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-mwcpkj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1b6bwsj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1lqgkfa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-80hge1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1wqhrx3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1049t2g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-gh6001.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-10q1pjx.png' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:38:39.627473"], ["updated_at", "2015-07-01 18:38:39.627473"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:38:39.629383"], ["galleryable_id", 23], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:38:39.629383"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:38:39.630578"], ["gallery_id", 45], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:39.333760"], ["updated_at", "2015-07-01 18:38:39.630578"]] + SQL (19.1ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:38:39.641835"], ["galleryable_id", 23], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:38:39.641835"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 23]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.4ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 45]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 46]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 46]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 45]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 46]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1wyoghr.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt20150701-2331-x38v0n' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt20150701-2331-x38v0n' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt20150701-2331-zy9q1s' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt20150701-2331-zy9q1s' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt20150701-2331-1flgf3x' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1rf9tzt20150701-2331-1flgf3x' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1umwehs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-a52kji.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-gon381.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-ptb41n.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-bapirt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-qhcpvk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1qx34zv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-mkt3p4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-yupgya.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-1kf790m.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2331-kpt5un.png' + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_id", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["created_at", "2015-07-01 18:38:40.269504"], ["gallery_id", 46], ["gallery_title", "custom_gallery"], ["galleryable_id", 23], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:39.728910"], ["updated_at", "2015-07-01 18:38:40.269504"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 23]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 23], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 23], ["galleryable_type", "Event"]] +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-u8mq6f.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-e1g6jt.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-e1g6jt.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-e1g6jt.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-e1g6jt20150701-2472-r3jr3s' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-e1g6jt20150701-2472-r3jr3s' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-e1g6jt.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-e1g6jt.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-e1g6jt.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-e1g6jt20150701-2472-19dlcxs' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-e1g6jt20150701-2472-19dlcxs' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-31663.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-ehlq9r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-t5qesr.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-2xl6mq.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p20150701-2472-1azpnrt' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p20150701-2472-1azpnrt' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p20150701-2472-f1tyh9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p20150701-2472-f1tyh9' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p20150701-2472-1xz9359' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-sebs7p20150701-2472-1xz9359' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-18ra076.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-8r18ej.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2472-ion7me.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:38:52.551247"], ["updated_at", "2015-07-01 18:38:52.551247"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:38:52.558887"], ["galleryable_id", 24], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:38:52.558887"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:38:52.560444"], ["gallery_id", 47], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:51.779068"], ["updated_at", "2015-07-01 18:38:52.560444"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:38:52.598310"], ["galleryable_id", 24], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:38:52.598310"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:38:52.599936"], ["gallery_id", 48], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:38:52.090764"], ["updated_at", "2015-07-01 18:38:52.599936"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 24]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 24], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 24], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 24], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 24], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 24], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 24], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1en20x1.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1m6ezwo.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1m6ezwo.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1m6ezwo.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1m6ezwo20150701-2530-1ti26se' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1m6ezwo20150701-2530-1ti26se' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1m6ezwo.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1m6ezwo.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1m6ezwo.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1m6ezwo20150701-2530-1fo98c2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1m6ezwo20150701-2530-1fo98c2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1mrhsai.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-13tprt7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-16pgvdq.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-szyon7.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx20150701-2530-l55irr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx20150701-2530-l55irr' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx20150701-2530-d27tjy' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx20150701-2530-d27tjy' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx20150701-2530-1mubmwf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1e0fktx20150701-2530-1mubmwf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-1pxiik0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-d61uqw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2530-17mvlbq.png' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:39:48.811802"], ["updated_at", "2015-07-01 18:39:48.811802"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:39:48.820952"], ["galleryable_id", 25], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:39:48.820952"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:39:48.822666"], ["gallery_id", 49], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:39:47.988754"], ["updated_at", "2015-07-01 18:39:48.822666"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:39:48.835294"], ["galleryable_id", 25], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:39:48.835294"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:39:48.836991"], ["gallery_id", 50], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:39:48.300447"], ["updated_at", "2015-07-01 18:39:48.836991"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 25]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 25], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 25], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 25], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 25], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 25], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 25], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-1qr1p89.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-sa57da.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-sa57da.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-sa57da.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-sa57da20150701-2588-18q6ksp' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-sa57da20150701-2588-18q6ksp' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-sa57da.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-sa57da.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-sa57da.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-sa57da20150701-2588-1pma7vt' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-sa57da20150701-2588-1pma7vt' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-1biy82.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-98gqyp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-o0q8l0.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-w745fj.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf20150701-2588-1sa439x' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf20150701-2588-1sa439x' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf20150701-2588-uk4s2d' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf20150701-2588-uk4s2d' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf20150701-2588-1rkxo9p' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-e58ykf20150701-2588-1rkxo9p' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-ti35l0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-1l6lcq7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2588-3sdwpb.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:40:08.320355"], ["updated_at", "2015-07-01 18:40:08.320355"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:40:08.328083"], ["galleryable_id", 26], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:40:08.328083"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:40:08.329594"], ["gallery_id", 51], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:07.542368"], ["updated_at", "2015-07-01 18:40:08.329594"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:40:08.348679"], ["galleryable_id", 26], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:40:08.348679"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:40:08.350177"], ["gallery_id", 52], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:07.853998"], ["updated_at", "2015-07-01 18:40:08.350177"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 26]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 26], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 26], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 26], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 26], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 26], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 26], ["galleryable_type", "Event"]] +  (0.5ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started GET "/" for 127.0.0.1 at 2015-07-01 12:40:26 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (8.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (24.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.0ms) + Rendered events/_simple_form.html.haml (74.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.1ms) + Rendered events/_form.html.haml (5.2ms) + Rendered home/index.html.haml within layouts/application (100.9ms) +Completed 200 OK in 270ms (Views: 162.7ms | ActiveRecord: 7.4ms) +Started GET "/assets/application.css" for 127.0.0.1 at 2015-07-01 12:40:27 -0600 +Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-07-01 12:40:27 -0600 +Started GET "/assets/application.js" for 127.0.0.1 at 2015-07-01 12:40:27 -0600 +Started POST "/events" for 127.0.0.1 at 2015-07-01 12:40:28 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Spare Ribs Boudin Ground Round", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fdc9ccb4bb8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150701-2641-vp4722>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-bbvndv.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-6y2qdv.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-6y2qdv.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-6y2qdv.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-6y2qdv20150701-2641-uyinpf' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-6y2qdv20150701-2641-uyinpf' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-6y2qdv.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-6y2qdv.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-6y2qdv.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-6y2qdv20150701-2641-17rdoos' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-6y2qdv20150701-2641-17rdoos' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1pdcdg1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nkdo34.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-2rqbqi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-12z2oaa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-xx44cg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-h4vs3i.png' + SQL (0.5ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 18:40:29.242155"], ["title", "Spare Ribs Boudin Ground Round"], ["updated_at", "2015-07-01 18:40:29.242155"]] + SQL (26.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:40:29.249181"], ["galleryable_id", 27], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:40:29.249181"]] + SQL (23.2ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "gallery_title", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 18:40:29.277347"], ["gallery_id", 53], ["gallery_title", "gallery"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:28.870643"], ["updated_at", "2015-07-01 18:40:29.277347"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:40:29.314653"], ["galleryable_id", 27], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:40:29.314653"]] +  (15.8ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 498ms (ActiveRecord: 66.4ms) +Started GET "/" for 127.0.0.1 at 2015-07-01 12:40:29 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.8ms) + Rendered events/_simple_form.html.haml (17.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.2ms) + Rendered events/_form.html.haml (1.5ms) + Rendered home/index.html.haml within layouts/application (20.4ms) +Completed 200 OK in 37ms (Views: 22.1ms | ActiveRecord: 3.2ms) +  (0.6ms) SELECT COUNT(*) FROM "events" + Event Load (0.6ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 27], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 27], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 27], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 27], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 27], ["galleryable_type", "Event"]] +  (31.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (64.1ms) SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (27.3ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (118.6ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-07-01 12:40:29 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.0ms) + Rendered events/_simple_form.html.haml (16.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.2ms) + Rendered events/_form.html.haml (1.6ms) + Rendered home/index.html.haml within layouts/application (18.2ms) +Completed 200 OK in 29ms (Views: 19.5ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-07-01 12:40:31 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Meatloaf Landjaeger Pig", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fdc9cb95e30 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150701-2641-es6dtk>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435776030631"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fdc9cb95b10 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150701-2641-hu5r3g>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435776030631][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435776030929"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fdc9cb95818 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150701-2641-knojyd>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1435776030929][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fdc9cb951d8 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150701-2641-s3apyw>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435776031500"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fdc9cb94ee0 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150701-2641-1ii6730>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435776031500][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-nka2se.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nhmkaa.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nhmkaa.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nhmkaa.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nhmkaa20150701-2641-76upp3' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nhmkaa20150701-2641-76upp3' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nhmkaa.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nhmkaa.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nhmkaa.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nhmkaa20150701-2641-t7gqrv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nhmkaa20150701-2641-t7gqrv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1rii28j.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-l5qaa0.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-l5qaa0.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-l5qaa0.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-l5qaa020150701-2641-1ldvpbc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-l5qaa020150701-2641-1ldvpbc' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-l5qaa0.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-l5qaa0.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-l5qaa0.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-l5qaa020150701-2641-1gfq9do' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-l5qaa020150701-2641-1gfq9do' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-2le257.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ijbijb.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ijbijb.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ijbijb.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ijbijb20150701-2641-12ta9vn' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ijbijb20150701-2641-12ta9vn' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ijbijb.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ijbijb.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ijbijb.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ijbijb20150701-2641-rmgq90' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ijbijb20150701-2641-rmgq90' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-142qjeu.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9ebkf.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9ebkf.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9ebkf.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9ebkf20150701-2641-9llill' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9ebkf20150701-2641-9llill' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9ebkf.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9ebkf.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9ebkf.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9ebkf20150701-2641-v5piwp' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9ebkf20150701-2641-v5piwp' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1x96xrh.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16uk6eo.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16uk6eo.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16uk6eo.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16uk6eo20150701-2641-1xop93t' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16uk6eo20150701-2641-1xop93t' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16uk6eo.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16uk6eo.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16uk6eo.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16uk6eo20150701-2641-10dn4dc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16uk6eo20150701-2641-10dn4dc' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1fh2zsh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1xqc4px.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-dhrso3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1f91it7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1yhvl5o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1t4vm11.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-zq4d4q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-cky5kh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-7yecw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9b4d5z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1mekmdz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1xy3pxq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-4r12q4.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1qrmxue.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-13n7v81.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1pd70s1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-19gl1o9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-kvowmd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-gudu7k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-m1h03h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-m0kgck.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-ym197q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-a74gv7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-57yyfn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1k7uu0d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1xmx7gn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-oupeas.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-d63oel.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1unuofb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1d9adu6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1j63yis.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1youdc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-kacmvp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-bkok9j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-b2agaq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pw4599.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-jad6c6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-bmwjc0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9x225f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-a5l0gq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-sol0kg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-b957um.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-onjbic.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-19lvbmi.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-w10ig2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ols8h9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1tn8yol.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16qd1qr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-4jvg1h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1dmor4o.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uaas17.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1gokbqe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1b2r17i.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-11rxzsk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1alfs94.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1rupfiu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1vyhgt2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9m7gjf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ywacem.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1u59vjm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1cgat36.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-xsuryj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1t5xa90.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-a9sufn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-31bh8l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-h20wp2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1eqxjb6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-ofeas3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1q86mwk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-k9rzap.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-mocaqo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-jj74sr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-svj0ko.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-4qev7l.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-z4t156.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-rhyl57.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1bbj8w2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-u2y89e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-5etlp5.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-18lpen9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-srnvo3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1p5rsvo.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pxb94p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1wwvglg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1bib242.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-fp43cs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1vyjgaa.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1b8snfp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16vj0w0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-e4b40a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-jkprux.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-10kp9uc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1o9e8e9.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-6cq3h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9vdu8f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-k4cobz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1b0jm6k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1884uhu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1l38rzt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1hmemwt.png' + SQL (16.0ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 18:40:34.128799"], ["title", "Meatloaf Landjaeger Pig"], ["updated_at", "2015-07-01 18:40:34.128799"]] + SQL (15.1ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:40:34.147200"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:40:34.147200"]] + SQL (0.6ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "gallery_title", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 18:40:34.164067"], ["gallery_id", 1], ["gallery_title", "gallery"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:31.986950"], ["updated_at", "2015-07-01 18:40:34.164067"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "gallery_title", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 18:40:34.178822"], ["gallery_id", 1], ["gallery_title", "gallery"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:32.240839"], ["updated_at", "2015-07-01 18:40:34.178822"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "gallery_title", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 18:40:34.190411"], ["gallery_id", 1], ["gallery_title", "gallery"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:32.490086"], ["updated_at", "2015-07-01 18:40:34.190411"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:40:34.203054"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:40:34.203054"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "gallery_title", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 18:40:34.204536"], ["gallery_id", 2], ["gallery_title", "custom_gallery"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:32.743022"], ["updated_at", "2015-07-01 18:40:34.204536"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "gallery_title", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 18:40:34.215993"], ["gallery_id", 2], ["gallery_title", "custom_gallery"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:32.984127"], ["updated_at", "2015-07-01 18:40:34.215993"]] +  (31.2ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 2383ms (ActiveRecord: 64.8ms) +Started GET "/" for 127.0.0.1 at 2015-07-01 12:40:34 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.7ms) + Rendered events/_simple_form.html.haml (22.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (1.5ms) + Rendered home/index.html.haml within layouts/application (25.0ms) +Completed 200 OK in 50ms (Views: 26.7ms | ActiveRecord: 0.8ms) +  (0.9ms) SELECT COUNT(*) FROM "events" + Event Load (0.7ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.6ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.2ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (24.9ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-07-01 12:40:34 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (10.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.5ms) + Rendered events/_simple_form.html.haml (34.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (2.0ms) + Rendered home/index.html.haml within layouts/application (37.6ms) +Completed 200 OK in 51ms (Views: 39.3ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-07-01 12:40:35 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Meatball Frankfurter Boudin", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fdc9ca5ca78 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150701-2641-brq7k1>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-yxtqhl.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pkji2u.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pkji2u.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pkji2u.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pkji2u20150701-2641-1d4zijv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pkji2u20150701-2641-1d4zijv' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pkji2u.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pkji2u.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pkji2u.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pkji2u20150701-2641-4lv208' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-pkji2u20150701-2641-4lv208' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-i93tgx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-24dc0g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-17254en.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-nefwzv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-r7ui89.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-19w68a2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1vymw6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-rgoydt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-cnzy37.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-18eywgw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-104zuwb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1bus51z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-ygiutk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-12wapyk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1k0un53.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-25h5zx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-17r5803.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1t2y3g1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-154urrv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-2e4fg8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-fvojk8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1bbglsp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-3191up.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1mna30w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-tnqmge.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1tpy32y.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-12lmdwu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-rghrnh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1c6rcus.png' + SQL (0.7ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 18:40:36.048635"], ["title", "Meatball Frankfurter Boudin"], ["updated_at", "2015-07-01 18:40:36.048635"]] + SQL (0.5ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:40:36.051603"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:40:36.051603"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:40:36.053607"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:40:36.053607"]] + SQL (0.5ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "gallery_title", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 18:40:36.055533"], ["gallery_id", 2], ["gallery_title", "custom_gallery"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:35.511472"], ["updated_at", "2015-07-01 18:40:36.055533"]] +  (15.7ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 645ms (ActiveRecord: 17.8ms) +Started GET "/" for 127.0.0.1 at 2015-07-01 12:40:36 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.2ms) + Rendered events/_simple_form.html.haml (18.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.2ms) + Rendered events/_form.html.haml (1.4ms) + Rendered home/index.html.haml within layouts/application (21.6ms) +Completed 200 OK in 37ms (Views: 23.4ms | ActiveRecord: 0.9ms) +  (0.5ms) SELECT COUNT(*) FROM "events" + Event Load (0.5ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.6ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.6ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.1ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (6.6ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-07-01 12:40:36 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.9ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.6ms) + Rendered events/_simple_form.html.haml (18.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.2ms) + Rendered events/_form.html.haml (1.4ms) + Rendered home/index.html.haml within layouts/application (20.0ms) +Completed 200 OK in 31ms (Views: 21.3ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-07-01 12:40:37 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Strip Steak Prosciutto Tail", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fdca2196190 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150701-2641-1r4vacn>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][0][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435776037114"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fdca2195e98 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150701-2641-17fkkal>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435776037114][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}, "1435776037462"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fdca2195ba0 @tempfile=#<Tempfile:/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/RackMultipart20150701-2641-zv5sy9>, @original_filename="logo_placeholder_medium.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][custom_photos_attributes][1435776037462][photo]\"; filename=\"logo_placeholder_medium.png\"\r\nContent-Type: image/png\r\n">, "caption"=>"Test test test", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ka4die.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-183e581.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-183e581.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-183e581.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-183e58120150701-2641-15m14r' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-183e58120150701-2641-15m14r' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-183e581.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-183e581.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-183e581.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-183e58120150701-2641-22c5k' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-183e58120150701-2641-22c5k' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-11t0ur3.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uvyib1.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uvyib1.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uvyib1.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uvyib120150701-2641-1smh9x0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uvyib120150701-2641-1smh9x0' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uvyib1.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uvyib1.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uvyib1.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uvyib120150701-2641-94kwle' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uvyib120150701-2641-94kwle' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1c0dkys.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nkaeq0.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nkaeq0.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nkaeq0.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nkaeq020150701-2641-16wxa2u' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nkaeq020150701-2641-16wxa2u' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nkaeq0.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nkaeq0.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nkaeq0.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nkaeq020150701-2641-gdek8p' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1nkaeq020150701-2641-gdek8p' +  (0.2ms) BEGIN +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-2ziwsq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-4kdg11.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-2xxzmm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-k3v9li.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ozafl.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1au72fs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1hcyu4q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-jgar64.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-179hdm1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-jmfmg0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1xjqoep.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-10pj4d8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-vm1n9e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-347wjg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ri9574.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1tkjdr7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1g9wetd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-bplqpv.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-txe1v1.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1da72br.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-91txq7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-zmz4k2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-vzabg0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16lw6ea.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-krslm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-15cm2w.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1t9v06n.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-12k5hjt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1yxzbbc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1b9yfnz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1eclbh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-t7yubb.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1kupvqs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1g9cclm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-9ph0ux.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-19ov6fr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-38bh7k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1abl0qg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1uqd5mm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1evn86r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1y3f3ak.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1u60p66.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1hp2sri.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1kggqcs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1d4xx3p.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-rqlpzh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1759ecu.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1h7vteq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1qzo0j8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ftv7ll.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-jox0qt.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1tffulh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-lm420u.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-gwfqtc.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1h7r6bq.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-nblgr7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-11cbs6c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-16yzg4a.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1vseg4e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-wxvpi2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1o6y3ui.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-867a6f.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-u0h29d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-jwhtjp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1pc4dym.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-11els9t.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-wf3o8r.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1b4671.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1dj9n6s.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-d9im0c.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1t97pkp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1xdgmye.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-8s2ed7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-yv9qkx.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1899h36.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1s2t562.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-17a9dt3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-nv2c88.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-szdhoz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-ikdzqm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-3s7gxe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1utnyaw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1iqivvs.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-orh8vj.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1puto07.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-gafigz.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-c7m68g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-cdn17h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1hv43nk.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-d865a3.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1usr5gn.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1b0xott.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-bud7fe.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1d2z33v.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1fs4650.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1j57z4q.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-ty8aue.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-vfmi21.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1npzhva.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1gj3ryh.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1ab4aef.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-148lkzg.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-ymebk2.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1xyshha.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1lsmb7g.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1mombn7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-297jsf.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-50c7q7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1xpj5o7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-y67psw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-dk43zm.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-2vs023.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-kuytqp.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-4hoctw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-b7w1u8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1u0ozh8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1kt7ij7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-ivcpf8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-mgg46k.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-1274590.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-ylct5z.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-y1mj0j.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-fxypgr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-we6liw.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-bxqvka.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-2641-cg1cro.png' + SQL (0.6ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 18:40:39.846588"], ["title", "Strip Steak Prosciutto Tail"], ["updated_at", "2015-07-01 18:40:39.846588"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:40:39.848991"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:40:39.848991"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:40:39.850449"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:40:39.850449"]] + SQL (0.5ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "gallery_title", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 18:40:39.851872"], ["gallery_id", 2], ["gallery_title", "custom_gallery"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:37.944213"], ["updated_at", "2015-07-01 18:40:39.851872"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "gallery_title", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 18:40:39.864648"], ["gallery_id", 2], ["gallery_title", "custom_gallery"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:38.198416"], ["updated_at", "2015-07-01 18:40:39.864648"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "gallery_title", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["caption", "Test test test"], ["created_at", "2015-07-01 18:40:39.888536"], ["gallery_id", 2], ["gallery_title", "custom_gallery"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:40:38.448545"], ["updated_at", "2015-07-01 18:40:39.888536"]] +  (15.7ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 2079ms (ActiveRecord: 18.1ms) +Started GET "/" for 127.0.0.1 at 2015-07-01 12:40:39 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.2ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (10.3ms) + Rendered events/_simple_form.html.haml (29.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.2ms) + Rendered events/_form.html.haml (1.7ms) + Rendered home/index.html.haml within layouts/application (41.0ms) +Completed 200 OK in 58ms (Views: 43.6ms | ActiveRecord: 0.0ms) +  (0.7ms) SELECT COUNT(*) FROM "events" + Event Load (0.5ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (1.3ms)  SELECT schemaname || '.' || tablename + FROM pg_tables + WHERE + tablename !~ '_prt_' AND + tablename <> 'schema_migrations' AND + schemaname = ANY (current_schemas(false)) + +  (1.2ms) select table_name from information_schema.views where table_schema = 'polygallery_dummy_test' +  (37.7ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL +Started GET "/" for 127.0.0.1 at 2015-07-01 12:40:40 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (12.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.7ms) + Rendered events/_simple_form.html.haml (29.3ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (2.6ms) + Rendered home/index.html.haml within layouts/application (32.6ms) +Completed 200 OK in 60ms (Views: 34.9ms | ActiveRecord: 0.0ms) +Started POST "/events" for 127.0.0.1 at 2015-07-01 12:40:40 -0600 +Processing by EventsController#create as HTML + Parameters: {"utf8"=>"✓", "event"=>{"title"=>"Kielbasa Jerky Ball Tip", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "custom_photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"} +  (0.2ms) BEGIN + SQL (15.7ms) INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-07-01 18:40:40.848858"], ["title", "Kielbasa Jerky Ball Tip"], ["updated_at", "2015-07-01 18:40:40.848858"]] + SQL (14.9ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:40:40.865825"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:40:40.865825"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:40:40.882013"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:40:40.882013"]] +  (0.6ms) COMMIT +Redirected to http://localhost:3003/ +Completed 302 Found in 46ms (ActiveRecord: 31.7ms) +Started GET "/" for 127.0.0.1 at 2015-07-01 12:40:40 -0600 +Processing by HomeController#index as HTML + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.8ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.0ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.4ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (10.4ms) + Rendered events/_simple_form.html.haml (30.1ms) + Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms) + Rendered events/_form.html.haml (2.8ms) + Rendered home/index.html.haml within layouts/application (35.2ms) +Completed 200 OK in 66ms (Views: 37.0ms | ActiveRecord: 0.0ms) +  (0.6ms) SELECT COUNT(*) FROM "events" + Event Load (0.2ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Event Load (1.2ms) SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1 + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "events" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" DISABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" DISABLE TRIGGER ALL +  (37.0ms) TRUNCATE TABLE "public"."events", "public"."polygallery_galleries", "public"."polygallery_photos" RESTART IDENTITY CASCADE; +  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "events" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_galleries" ENABLE TRIGGER ALL;ALTER TABLE "polygallery_photos" ENABLE TRIGGER ALL + ActiveRecord::SchemaMigration Load (16.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1x8455n.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-4ioqp.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-4ioqp.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-4ioqp.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-4ioqp20150701-3343-1fng0fj' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-4ioqp20150701-3343-1fng0fj' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-4ioqp.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-4ioqp.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-4ioqp.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-4ioqp20150701-3343-1vtau4r' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-4ioqp20150701-3343-1vtau4r' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-pnj7pd.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-6dz4g6.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-15mlncr.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-zj02fl.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-10xbcl4.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la4.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la4.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la4.png[0]' -auto-orient -resize "x300" -crop "300x300+116+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la420150701-3343-burlzm' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la420150701-3343-burlzm' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la4.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la4.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la4.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la420150701-3343-1qax4zr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la420150701-3343-1qax4zr' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la4.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la4.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la4.png[0]' -auto-orient -resize "x500" -crop "500x500+194+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la420150701-3343-6q7ko9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1xn2la420150701-3343-6q7ko9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-10gl48e.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1o17f7d.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-msfdj7.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-62yztx.png' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/logo_placeholder_medium.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1bygtvd.png' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1ghsqay.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1ghsqay.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1ghsqay.png[0]' -auto-orient -resize "x200" -crop "100x200+127+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1ghsqay20150701-3343-tk1qky' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1ghsqay20150701-3343-tk1qky' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1ghsqay.png[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1ghsqay.png[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1ghsqay.png[0]' -auto-orient -resize "x100" -crop "100x100+38+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1ghsqay20150701-3343-1h172ri' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1ghsqay20150701-3343-1h172ri' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-1gbiar0.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-7e34h.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-mmh5v8.png' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/129b4bc3368f2f329e5000480b4d2fe620150701-3343-gdgu7x.png' + SQL (18.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 18:53:30.969709"], ["updated_at", "2015-07-01 18:53:30.969709"]] + SQL (16.6ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 18:53:30.995584"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 18:53:30.995584"]] + SQL (1.1ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:53:31.013902"], ["gallery_id", 1], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:53:29.856857"], ["updated_at", "2015-07-01 18:53:31.013902"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:53:31.027253"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 18:53:31.027253"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:53:31.028822"], ["gallery_id", 2], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:53:30.182789"], ["updated_at", "2015-07-01 18:53:31.028822"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 18:53:31.043884"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 18:53:31.043884"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 18:53:31.045242"], ["gallery_id", 3], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["photo_content_type", "image/png"], ["photo_file_name", "logo_placeholder_medium.png"], ["photo_file_size", 175637], ["photo_updated_at", "2015-07-01 18:53:30.767053"], ["updated_at", "2015-07-01 18:53:31.045242"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]] +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-2mv08s.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-10t0c00.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-10t0c00.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-10t0c00.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-10t0c0020150701-3528-bd0wes' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-10t0c0020150701-3528-bd0wes' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-10t0c00.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-10t0c00.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-10t0c00.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-10t0c0020150701-3528-1j9s4fk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-10t0c0020150701-3528-1j9s4fk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-iq39xd.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-1cqbdf1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-tbt2xs.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3528-c0mc5e.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat2.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-f8lzto.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i20150701-3528-10yilfx' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i20150701-3528-10yilfx' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i20150701-3528-488p6x' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i20150701-3528-488p6x' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i20150701-3528-1mczmts' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-s3a95i20150701-3528-1mczmts' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-1tmt09k.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-ev90zr.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-o1ubx1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3528-1l2fql.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat3.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1gop33o.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1jimqvi.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1jimqvi.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1jimqvi.jpg[0]' -auto-orient -resize "x200" -crop "100x200+110+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1jimqvi20150701-3528-jtqzg8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1jimqvi20150701-3528-jtqzg8' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1jimqvi.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1jimqvi.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1jimqvi.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1jimqvi20150701-3528-1vw1g5h' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1jimqvi20150701-3528-1vw1g5h' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1tj8tpu.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1rf8nyi.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-1c5gf4s.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3528-b2gaje.jpg' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:04:57.938434"], ["updated_at", "2015-07-01 19:04:57.938434"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:04:57.945975"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:04:57.945975"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:04:57.947477"], ["gallery_id", 4], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:04:55.753586"], ["updated_at", "2015-07-01 19:04:57.947477"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:04:57.958296"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:04:57.958296"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:04:57.959850"], ["gallery_id", 5], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat2.jpg"], ["photo_file_size", 527247], ["photo_updated_at", "2015-07-01 19:04:56.445822"], ["updated_at", "2015-07-01 19:04:57.959850"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:04:57.984136"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:04:57.984136"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:04:57.985533"], ["gallery_id", 6], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat3.jpg"], ["photo_file_size", 251002], ["photo_updated_at", "2015-07-01 19:04:57.376840"], ["updated_at", "2015-07-01 19:04:57.985533"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.8ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 2]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 2], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 2], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1a36l9d.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10j2bvb.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10j2bvb.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10j2bvb.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10j2bvb20150701-3604-1z0k56a' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10j2bvb20150701-3604-1z0k56a' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10j2bvb.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10j2bvb.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10j2bvb.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10j2bvb20150701-3604-xje6lx' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10j2bvb20150701-3604-xje6lx' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-c5jhyt.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-q1llio.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-12f4zon.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1ohibp0.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat2.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-10zfgz3.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq77.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq77.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq77.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq7720150701-3604-15xa3lo' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq7720150701-3604-15xa3lo' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq77.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq77.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq77.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq7720150701-3604-14dz8sr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq7720150701-3604-14dz8sr' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq77.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq77.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq77.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq7720150701-3604-78g9lk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1p8uq7720150701-3604-78g9lk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1h7hgg3.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-17xrlim.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-1itaarj.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3604-cvj22u.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat3.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-7qiu4c.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-sjarap.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-sjarap.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-sjarap.jpg[0]' -auto-orient -resize "x200" -crop "100x200+110+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-sjarap20150701-3604-9dddcu' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-sjarap20150701-3604-9dddcu' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-sjarap.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-sjarap.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-sjarap.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-sjarap20150701-3604-6wvkti' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-sjarap20150701-3604-6wvkti' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-19w6yj0.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-6i6n7j.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-1f9eduw.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3604-10su5qv.jpg' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:05:52.122997"], ["updated_at", "2015-07-01 19:05:52.122997"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:05:52.131138"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:05:52.131138"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:05:52.132756"], ["gallery_id", 7], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:05:49.933347"], ["updated_at", "2015-07-01 19:05:52.132756"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:05:52.242993"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:05:52.242993"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:05:52.244460"], ["gallery_id", 8], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat2.jpg"], ["photo_file_size", 527247], ["photo_updated_at", "2015-07-01 19:05:50.619618"], ["updated_at", "2015-07-01 19:05:52.244460"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:05:52.268359"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:05:52.268359"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:05:52.269782"], ["gallery_id", 9], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat3.jpg"], ["photo_file_size", 251002], ["photo_updated_at", "2015-07-01 19:05:51.540399"], ["updated_at", "2015-07-01 19:05:52.269782"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.1ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 3], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 3], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]] +  (20.9ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1k2d28n.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn20150701-3604-j0xflp' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn20150701-3604-j0xflp' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn20150701-3604-1j50awu' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn20150701-3604-1j50awu' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn20150701-3604-1y7lmco' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1amt2jn20150701-3604-1y7lmco' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-qmqyzp.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-waksil.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-vr9u2f.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-rrt07k.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-hgb2b4.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-iw50ms.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-17kkt56.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-chdq6.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-18z25yk.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-u3pt11.jpg' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:05:55.808697"], ["updated_at", "2015-07-01 19:05:55.808697"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:05:55.810496"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:05:55.810496"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:05:55.811746"], ["gallery_id", 10], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:05:55.811746"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:05:55.813131"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:05:55.813131"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:05:55.814057"], ["gallery_id", 11], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:05:54.771379"], ["updated_at", "2015-07-01 19:05:55.814057"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:05:55.828304"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:05:55.828304"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:05:55.829721"], ["gallery_id", 12], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:05:55.829721"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 11]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1dc8awh.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-7gq2bm.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-7gq2bm.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-7gq2bm.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-7gq2bm20150701-3604-6shqk0' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-7gq2bm20150701-3604-6shqk0' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-7gq2bm.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-7gq2bm.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-7gq2bm.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-7gq2bm20150701-3604-sj1m7b' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-7gq2bm20150701-3604-sj1m7b' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-9dfs96.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1gxf8iv.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1lpymqh.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-l5awu8.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-a8npmr.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-buf3zq.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1bchau6.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-wndanx.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-rnkodq.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-hh52o0.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1lkg0rr.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-vjwank.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1l4mv86.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-799t95.jpg' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:05:56.769208"], ["updated_at", "2015-07-01 19:05:56.769208"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:05:56.771138"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:05:56.771138"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:05:56.772432"], ["gallery_id", 13], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:05:55.984012"], ["updated_at", "2015-07-01 19:05:56.772432"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:05:56.786850"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:05:56.786850"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:05:56.788486"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:05:56.788486"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:05:56.789679"], ["gallery_id", 15], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:05:56.789679"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.8ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]] + Polygallery::Gallery Load (0.7ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.6ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.5ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.4ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 13]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 14]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 14]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 13]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 14]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1649yrq.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt20150701-3604-1cd3ou8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt20150701-3604-1cd3ou8' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt20150701-3604-105x8p' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt20150701-3604-105x8p' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt20150701-3604-3ixzuk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-10vogzt20150701-3604-3ixzuk' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1md967r.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-ynyd74.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-k9fyyz.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-c6h1kc.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-14lrl35.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-muisu9.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1p48ayb.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1pyu95t.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1j60bcl.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1mox0bv.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-8c5t26.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-190ell.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-cyyskc.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1leihed.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3604-1pw1oym.jpg' + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_id", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["created_at", "2015-07-01 19:05:57.927526"], ["gallery_id", 14], ["gallery_title", "custom_gallery"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:05:56.877262"], ["updated_at", "2015-07-01 19:05:57.927526"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 5], ["galleryable_type", "Event"]] +  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1yofsd0.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1vz42p4.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1vz42p4.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1vz42p4.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1vz42p420150701-3774-6ik651' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1vz42p420150701-3774-6ik651' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1vz42p4.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1vz42p4.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1vz42p4.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1vz42p420150701-3774-6te30r' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1vz42p420150701-3774-6te30r' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-wsb546.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1f248uz.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1bsz3vm.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-ubsdr4.jpg' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:07:37.344834"], ["updated_at", "2015-07-01 19:07:37.344834"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:07:37.353375"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:07:37.353375"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:07:37.355106"], ["gallery_id", 16], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:07:36.664985"], ["updated_at", "2015-07-01 19:07:37.355106"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:07:37.366447"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:07:37.366447"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:07:37.367942"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:07:37.367942"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:07:37.368976"], ["gallery_id", 18], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:07:37.368976"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]] + Polygallery::Gallery Load (0.4ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.5ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 17]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 17]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 18]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 16]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 17]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1vadns0.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv20150701-3774-18r33om' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv20150701-3774-18r33om' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv20150701-3774-efxi1m' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv20150701-3774-efxi1m' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv20150701-3774-1x4b3w2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1dl80fv20150701-3774-1x4b3w2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1oruqjg.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-o5pr8f.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-m8x82k.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1l9mxkr.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1m90hce.jpg' + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_id", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["created_at", "2015-07-01 19:07:38.529980"], ["gallery_id", 17], ["gallery_title", "custom_gallery"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:07:37.456682"], ["updated_at", "2015-07-01 19:07:38.529980"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 6], ["galleryable_type", "Event"]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-xufp7r.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj20150701-3774-r0kk9h' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj20150701-3774-r0kk9h' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj20150701-3774-1tbynmj' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj20150701-3774-1tbynmj' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj20150701-3774-an6svh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-zsk8kj20150701-3774-an6svh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-h5mrbg.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-9o3i3p.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1n6cosg.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1chikb0.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1hxk9o1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1sgjiau.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1j9nzbi.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-66zh11.jpg' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:07:39.672229"], ["updated_at", "2015-07-01 19:07:39.672229"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:07:39.674041"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:07:39.674041"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:07:39.675346"], ["gallery_id", 19], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:07:39.675346"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:07:39.676953"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:07:39.676953"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:07:39.678149"], ["gallery_id", 20], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:07:38.626498"], ["updated_at", "2015-07-01 19:07:39.678149"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:07:39.716401"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:07:39.716401"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:07:39.717773"], ["gallery_id", 21], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:07:39.717773"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 7]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 7], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 20]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-5usm9b.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-8s8c54.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-8s8c54.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-8s8c54.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-8s8c5420150701-3774-1q3s127' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-8s8c5420150701-3774-1q3s127' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-8s8c54.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-8s8c54.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-8s8c54.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-8s8c5420150701-3774-1pvdu43' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-8s8c5420150701-3774-1pvdu43' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1cd3y0c.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-18uv8cf.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-113mv63.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-pghdzw.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1s0gm61.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-d4wzcn.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-rzrgku.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-10ni9nn.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1h4byja.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1iwjo73.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1h1ybb7.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3774-1smzdo8.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat2.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-uh74i8.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds20150701-3774-8maxtm' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds20150701-3774-8maxtm' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds20150701-3774-j4w1sd' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds20150701-3774-j4w1sd' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds20150701-3774-o7i4tv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-11w82ds20150701-3774-o7i4tv' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-c1gvhq.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-zy286q.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-53662b.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-xgj0lq.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-rapi1i.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-14h1adk.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-puaqr6.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-wyx523.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-e4iosi.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-zl20al.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-yfioer.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3774-1ufg5vy.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat3.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1qb6gkk.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1pi9zro.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1pi9zro.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1pi9zro.jpg[0]' -auto-orient -resize "x200" -crop "100x200+110+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1pi9zro20150701-3774-ccwtb' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1pi9zro20150701-3774-ccwtb' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1pi9zro.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1pi9zro.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1pi9zro.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1pi9zro20150701-3774-fazde2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1pi9zro20150701-3774-fazde2' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1owmmae.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1ucpkyh.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-pefqsl.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-17nkyzf.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-ym4w98.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-36jk4b.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1f61hat.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-ps9jzv.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1skmtws.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-7jy59z.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-m5ycjg.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3774-1b350xe.jpg' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:07:42.406927"], ["updated_at", "2015-07-01 19:07:42.406927"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:07:42.408801"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:07:42.408801"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:07:42.410044"], ["gallery_id", 22], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:07:39.915446"], ["updated_at", "2015-07-01 19:07:42.410044"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:07:42.421402"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:07:42.421402"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:07:42.422824"], ["gallery_id", 23], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat2.jpg"], ["photo_file_size", 527247], ["photo_updated_at", "2015-07-01 19:07:40.663095"], ["updated_at", "2015-07-01 19:07:42.422824"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:07:42.437877"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:07:42.437877"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:07:42.439313"], ["gallery_id", 24], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat3.jpg"], ["photo_file_size", 251002], ["photo_updated_at", "2015-07-01 19:07:41.728502"], ["updated_at", "2015-07-01 19:07:42.439313"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (1.0ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 8], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 8], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.9ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]] +Command :: identify -format '%wx%h,%[exif:orientation]' '/Users/smit1625/Sites/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/024/medium/cat3.jpg[0]' 2>/dev/null +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-xkl8sx.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-tfxgcm.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-tfxgcm.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-tfxgcm.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-tfxgcm20150701-3942-znrbnr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-tfxgcm20150701-3942-znrbnr' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-tfxgcm.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-tfxgcm.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-tfxgcm.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-tfxgcm20150701-3942-p50g4c' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-tfxgcm20150701-3942-p50g4c' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-10w9bud.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-1jhy8sa.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-1sz3tab.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-3942-mjj4g9.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat2.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-t88gvx.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i20150701-3942-1gm9wnn' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i20150701-3942-1gm9wnn' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i20150701-3942-m3x2pa' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i20150701-3942-m3x2pa' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i20150701-3942-g8xzoq' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1es0r7i20150701-3942-g8xzoq' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-v4yfqc.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-1xjycj7.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-amacbs.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-3942-5xrl1i.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat3.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-1na918d.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-1yidn4n.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-1yidn4n.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-1yidn4n.jpg[0]' -auto-orient -resize "x200" -crop "100x200+110+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-1yidn4n20150701-3942-fpk9b9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-1yidn4n20150701-3942-fpk9b9' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-1yidn4n.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-1yidn4n.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-1yidn4n.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-1yidn4n20150701-3942-1xonzzu' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-1yidn4n20150701-3942-1xonzzu' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-10cxv5z.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-d18dc0.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-18o8k6h.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-3942-p0nort.jpg' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:08:17.075893"], ["updated_at", "2015-07-01 19:08:17.075893"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:08:17.084489"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:08:17.084489"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:08:17.086198"], ["gallery_id", 25], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:08:14.936991"], ["updated_at", "2015-07-01 19:08:17.086198"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:08:17.097306"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:08:17.097306"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:08:17.098779"], ["gallery_id", 26], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat2.jpg"], ["photo_file_size", 527247], ["photo_updated_at", "2015-07-01 19:08:15.571069"], ["updated_at", "2015-07-01 19:08:17.098779"]] + SQL (21.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:08:17.124728"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:08:17.124728"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:08:17.147146"], ["gallery_id", 27], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat3.jpg"], ["photo_file_size", 251002], ["photo_updated_at", "2015-07-01 19:08:16.508561"], ["updated_at", "2015-07-01 19:08:17.147146"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 9]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 9], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 9], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]] +Command :: identify -format '%wx%h,%[exif:orientation]' '/Users/smit1625/Sites/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/027/medium/cat3.jpg[0]' 2>/dev/null +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-jw4iwi.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-tfshv1.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-tfshv1.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-tfshv1.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-tfshv120150701-4020-13f11li' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-tfshv120150701-4020-13f11li' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-tfshv1.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-tfshv1.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-tfshv1.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-tfshv120150701-4020-1lnslfc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-tfshv120150701-4020-1lnslfc' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-zl0ygl.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-113fbvt.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-16wzpgl.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4020-1ydrd9q.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat2.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-1z12c4z.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai27.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai27.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai27.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai2720150701-4020-7ijbfq' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai2720150701-4020-7ijbfq' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai27.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai27.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai27.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai2720150701-4020-5lxh6q' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai2720150701-4020-5lxh6q' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai27.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai27.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai27.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai2720150701-4020-bwpxog' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-uoai2720150701-4020-bwpxog' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-ffs4u0.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-1xvno8z.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-nawdfx.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4020-150vate.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat3.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-1u8gxtt.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-wrhfjj.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-wrhfjj.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-wrhfjj.jpg[0]' -auto-orient -resize "x200" -crop "100x200+110+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-wrhfjj20150701-4020-4hzxe8' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-wrhfjj20150701-4020-4hzxe8' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-wrhfjj.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-wrhfjj.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-wrhfjj.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-wrhfjj20150701-4020-183luy5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-wrhfjj20150701-4020-183luy5' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-w7c257.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-l8oet0.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-hs6xc4.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4020-z121tr.jpg' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:08:39.954561"], ["updated_at", "2015-07-01 19:08:39.954561"]] + SQL (0.4ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:08:39.962184"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:08:39.962184"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:08:39.963929"], ["gallery_id", 28], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:08:37.773024"], ["updated_at", "2015-07-01 19:08:39.963929"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:08:39.998208"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:08:39.998208"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:08:39.999717"], ["gallery_id", 29], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat2.jpg"], ["photo_file_size", 527247], ["photo_updated_at", "2015-07-01 19:08:38.463609"], ["updated_at", "2015-07-01 19:08:39.999717"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:08:40.012015"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:08:40.012015"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:08:40.013354"], ["gallery_id", 30], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat3.jpg"], ["photo_file_size", 251002], ["photo_updated_at", "2015-07-01 19:08:39.393469"], ["updated_at", "2015-07-01 19:08:40.013354"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Polygallery::Photo Load (0.7ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 10], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 10], ["galleryable_type", "Event"]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]] +Command :: identify -format '%wx%h,%[exif:orientation]' '/Users/smit1625/Sites/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/030/medium/cat3.jpg[0]' 2>/dev/null +  (0.4ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-ebhvui.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-h3hdld.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-h3hdld.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-h3hdld.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-h3hdld20150701-4100-1q3fd0v' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-h3hdld20150701-4100-1q3fd0v' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-h3hdld.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-h3hdld.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-h3hdld.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-h3hdld20150701-4100-1mdue6y' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-h3hdld20150701-4100-1mdue6y' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-1om1ptx.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-asgy6y.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-1p6luj8.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4100-1y4de69.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat2.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-r09v8f.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp20150701-4100-1wglvih' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp20150701-4100-1wglvih' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp20150701-4100-1ftpi05' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp20150701-4100-1ftpi05' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp20150701-4100-1tbgv39' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-jfb3dp20150701-4100-1tbgv39' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-1pzpfy2.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-36gghg.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-i9c0bl.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4100-1n22sem.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat3.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1re6wqd.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1eiah0r.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1eiah0r.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1eiah0r.jpg[0]' -auto-orient -resize "x200" -crop "100x200+110+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1eiah0r20150701-4100-1ex005o' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1eiah0r20150701-4100-1ex005o' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1eiah0r.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1eiah0r.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1eiah0r.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1eiah0r20150701-4100-pi98f7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1eiah0r20150701-4100-pi98f7' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1t7hki3.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1fulobw.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1fugpm2.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4100-1ifd750.jpg' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:09:05.733811"], ["updated_at", "2015-07-01 19:09:05.733811"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:09:05.741581"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:09:05.741581"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:09:05.743103"], ["gallery_id", 31], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:09:03.556428"], ["updated_at", "2015-07-01 19:09:05.743103"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:09:05.752727"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:09:05.752727"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:09:05.754029"], ["gallery_id", 32], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat2.jpg"], ["photo_file_size", 527247], ["photo_updated_at", "2015-07-01 19:09:04.200009"], ["updated_at", "2015-07-01 19:09:05.754029"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:09:05.765971"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:09:05.765971"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:09:05.767232"], ["gallery_id", 33], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat3.jpg"], ["photo_file_size", 251002], ["photo_updated_at", "2015-07-01 19:09:05.175311"], ["updated_at", "2015-07-01 19:09:05.767232"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] +  (0.5ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", 11], ["galleryable_type", "Event"]] +  (0.3ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 11], ["galleryable_type", "Event"]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.5ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.3ms) SELECT "polygallery_photos".* FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]] +Command :: identify -format '%wx%h,%[exif:orientation]' '/Users/smit1625/Sites/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/033/medium/cat3.jpg[0]' 2>/dev/null +  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-5gx0xr.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm20150701-4170-yl7ogo' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm20150701-4170-yl7ogo' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm20150701-4170-1beq2rl' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm20150701-4170-1beq2rl' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm20150701-4170-ygj7w6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1k2jhnm20150701-4170-ygj7w6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-11g75i.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1thba09.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1d2rg30.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1e7n7yf.jpg' + SQL (0.5ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:09:13.639288"], ["updated_at", "2015-07-01 19:09:13.639288"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:09:13.646362"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:09:13.646362"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:09:13.648260"], ["gallery_id", 34], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:09:13.648260"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:09:13.649927"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:09:13.649927"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:09:13.651142"], ["gallery_id", 35], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:09:12.714490"], ["updated_at", "2015-07-01 19:09:13.651142"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:09:13.665179"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:09:13.665179"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:09:13.666580"], ["gallery_id", 36], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:09:13.666580"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]] + Polygallery::Photo Load (0.4ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 ORDER BY "polygallery_photos"."id" ASC LIMIT 1 [["gallery_id", 35]] +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1ufj3wh.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-5s8fwn.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-5s8fwn.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-5s8fwn.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-5s8fwn20150701-4170-m93hj6' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-5s8fwn20150701-4170-m93hj6' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-5s8fwn.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-5s8fwn.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-5s8fwn.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-5s8fwn20150701-4170-jcgrmi' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-5s8fwn20150701-4170-jcgrmi' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1p1p20c.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-ms5p10.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1rtrgr2.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-hhc198.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-14eolh8.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1urphz5.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-raft9f.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-blus7e.jpg' + SQL (0.3ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:09:14.392021"], ["updated_at", "2015-07-01 19:09:14.392021"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:09:14.393751"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:09:14.393751"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:09:14.394835"], ["gallery_id", 37], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:09:13.753512"], ["updated_at", "2015-07-01 19:09:14.394835"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:09:14.405324"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:09:14.405324"]] + SQL (0.2ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:09:14.406605"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:09:14.406605"]] + SQL (0.2ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:09:14.407598"], ["gallery_id", 39], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:09:14.407598"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.4ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.3ms) SELECT 1 AS one FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 37]] + Polygallery::Gallery Load (0.2ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 38]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 38]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Photo Exists (0.2ms) SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 39]] +  (0.2ms) SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 37]] + Polygallery::Photo Load (0.2ms) SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 38]] +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-d70l1u.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl22.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl22.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl22.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl2220150701-4170-j4nker' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl2220150701-4170-j4nker' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl22.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl22.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl22.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl2220150701-4170-h61q9p' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl2220150701-4170-h61q9p' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl22.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl22.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl22.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl2220150701-4170-12glf72' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-qwvl2220150701-4170-12glf72' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-14d2b13.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1e52ufo.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1mes542.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1x7s2de.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-t9ymw8.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-6sodfh.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1ojgjhg.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-78snjs.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-sj40in.jpg' + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_id", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["created_at", "2015-07-01 19:09:15.537360"], ["gallery_id", 38], ["gallery_title", "custom_gallery"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:09:14.492499"], ["updated_at", "2015-07-01 19:09:15.537360"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] + Polygallery::Gallery Load (0.3ms) SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery_with_altered_style' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]] +  (0.4ms) SELECT COUNT(*) FROM "polygallery_photos" INNER JOIN "polygallery_galleries" ON "polygallery_photos"."gallery_id" = "polygallery_galleries"."id" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' [["galleryable_id", 13], ["galleryable_type", "Event"]] +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) COMMIT +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat1.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-hkb8mq.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-xy3nd0.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-xy3nd0.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-xy3nd0.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-xy3nd020150701-4170-2tqimr' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-xy3nd020150701-4170-2tqimr' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-xy3nd0.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-xy3nd0.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-xy3nd0.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-xy3nd020150701-4170-d4hb8c' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-xy3nd020150701-4170-d4hb8c' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1km2lpa.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-15ldr03.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1j19j40.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1uf0jjr.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1v2lg0t.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1uxmc9.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-53u7sr.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-2kkjn6.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1m08yue.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-1yemsqw.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-o74ovh.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/a980d10665f268b0ec6c13ebea43034f20150701-4170-145cpca.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat2.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-1oyl5kw.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr20150701-4170-bivbm9' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr20150701-4170-bivbm9' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr20150701-4170-1b70hen' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr20150701-4170-1b70hen' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr.jpg[0]' -auto-orient -resize "x500" -crop "500x500+150+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr20150701-4170-14m25vh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-7psezr20150701-4170-14m25vh' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-1r72crz.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-1v2jd8l.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-1gc8qiz.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-pki1lj.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-1na2oew.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-1e0oase.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-p78ae3.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-qtphxm.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-lfct64.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-1qq1urt.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-1n0k8x4.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9428beec5dd65d1b54985661ca3eefca20150701-4170-1ll9lb3.jpg' +Command :: file -b --mime '/Users/smit1625/Sites/polygallery/test/dummy/spec/upload_files/cat3.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-19xpv1o.jpg' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-50dxy4.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-50dxy4.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-50dxy4.jpg[0]' -auto-orient -resize "x200" -crop "100x200+110+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-50dxy420150701-4170-1c7q3ow' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-50dxy420150701-4170-1c7q3ow' +Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-50dxy4.jpg[0]' 2>/dev/null +Command :: identify -format %m '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-50dxy4.jpg[0]' +Command :: convert '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-50dxy4.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-50dxy420150701-4170-1g3rxi4' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-50dxy420150701-4170-1g3rxi4' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-m93866.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-ka7q8w.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-16o63n9.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-1h6mwi9.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-1i2yigj.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-2vhrz3.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-i6bguj.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-mw5uzt.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-mj9w4x.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-th3nj8.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-1t7rkjg.jpg' +Command :: file -b --mime '/var/folders/mh/rt5858512b5fm7wl6lrlc95w0000gn/T/9b9423f286ce21b709cf1f69dc48c4a420150701-4170-epvg3r.jpg' + SQL (0.4ms) INSERT INTO "events" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-07-01 19:09:18.782694"], ["updated_at", "2015-07-01 19:09:18.782694"]] + SQL (0.5ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-07-01 19:09:18.784714"], ["galleryable_id", 14], ["galleryable_type", "Event"], ["updated_at", "2015-07-01 19:09:18.784714"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:09:18.786874"], ["gallery_id", 40], ["gallery_title", "gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat1.jpg"], ["photo_file_size", 691841], ["photo_updated_at", "2015-07-01 19:09:15.875504"], ["updated_at", "2015-07-01 19:09:18.786874"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:09:18.801169"], ["galleryable_id", 14], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2015-07-01 19:09:18.801169"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:09:18.802942"], ["gallery_id", 41], ["gallery_title", "custom_gallery"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat2.jpg"], ["photo_file_size", 527247], ["photo_updated_at", "2015-07-01 19:09:16.644616"], ["updated_at", "2015-07-01 19:09:18.802942"]] + SQL (0.3ms) INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2015-07-01 19:09:18.894517"], ["galleryable_id", 14], ["galleryable_type", "Event"], ["title", "gallery_with_altered_style"], ["updated_at", "2015-07-01 19:09:18.894517"]] + SQL (0.3ms) INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "gallery_title", "galleryable_type", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["created_at", "2015-07-01 19:09:18.896111"], ["gallery_id", 42], ["gallery_title", "gallery_with_altered_style"], ["galleryable_type", "Event"], ["photo_content_type", "image/jpeg"], ["photo_file_name", "cat3.jpg"], ["photo_file_size", 251002], ["photo_updated_at", "2015-07-01 19:09:17.947170"], ["updated_at", "2015-07-01 19:09:18.896111"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1