Skip to content

Instantly share code, notes, and snippets.

@bld2104
Last active March 9, 2016 01:40
Show Gist options
  • Save bld2104/967288d9bc7d5349914e to your computer and use it in GitHub Desktop.
Save bld2104/967288d9bc7d5349914e to your computer and use it in GitHub Desktop.
logs when i try to add an image with amazon installed
2016-03-09T01:39:25.345484+00:00 heroku[router]: at=info method=GET path="/shop/admin" host=sweetfields.herokuapp.com request_id=fc34ac37-8da0-4666-b14a-358eee24591f fwd="100.14.176.16" dyno=web.1 connect=1ms service=22ms status=302 bytes=1303
2016-03-09T01:39:25.336840+00:00 app[web.1]: Started GET "/shop/admin" for 100.14.176.16 at 2016-03-09 01:39:25 +0000
2016-03-09T01:39:25.339928+00:00 app[web.1]: Processing by Spree::Admin::RootController#index as HTML
2016-03-09T01:39:25.343118+00:00 app[web.1]: Spree::Preference Load (0.7ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/backend_configuration/locale"]]
2016-03-09T01:39:25.346028+00:00 app[web.1]: Spree::User Load (0.8ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."id" = $1 ORDER BY "spree_users"."id" ASC LIMIT 1 [["id", 1]]
2016-03-09T01:39:25.347302+00:00 app[web.1]: Redirected to https://sweetfields.herokuapp.com/shop/admin/orders
2016-03-09T01:39:25.348845+00:00 app[web.1]: Completed 302 Found in 9ms (ActiveRecord: 1.5ms)
2016-03-09T01:39:25.428720+00:00 app[web.1]: Started GET "/shop/admin/orders" for 100.14.176.16 at 2016-03-09 01:39:25 +0000
2016-03-09T01:39:25.433981+00:00 app[web.1]: Processing by Spree::Admin::OrdersController#index as HTML
2016-03-09T01:39:25.437160+00:00 app[web.1]: Spree::Preference Load (1.4ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/backend_configuration/locale"]]
2016-03-09T01:39:25.440705+00:00 app[web.1]: Spree::User Load (1.3ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."id" = $1 ORDER BY "spree_users"."id" ASC LIMIT 1 [["id", 1]]
2016-03-09T01:39:25.453734+00:00 app[web.1]: (7.7ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = $2 [["user_id", 1], ["name", "admin"]]
2016-03-09T01:39:25.531479+00:00 app[web.1]: (1.2ms) SELECT DISTINCT "spree_variants"."sku", "spree_variants"."id" FROM "spree_variants" INNER JOIN "spree_line_items" ON "spree_line_items"."variant_id" = "spree_variants"."id" WHERE "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants"."sku" ASC
2016-03-09T01:39:25.534418+00:00 app[web.1]: (0.9ms) SELECT DISTINCT "spree_promotions"."name", "spree_promotions"."id" FROM "spree_promotions" INNER JOIN spree_orders_promotions ON spree_orders_promotions.promotion_id = spree_promotions.id
2016-03-09T01:39:25.539953+00:00 app[web.1]: (1.2ms) SELECT DISTINCT COUNT(DISTINCT "spree_orders"."id") FROM "spree_orders" WHERE ("spree_orders"."completed_at" IS NOT NULL)
2016-03-09T01:39:25.542407+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_index_table_options.html.erb (5.1ms)
2016-03-09T01:39:25.544234+00:00 app[web.1]: (0.9ms) SELECT COUNT(DISTINCT count_column) FROM (SELECT DISTINCT "spree_orders"."id" AS count_column FROM "spree_orders" WHERE ("spree_orders"."completed_at" IS NOT NULL) LIMIT 15 OFFSET 0) subquery_for_count
2016-03-09T01:39:25.553743+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_index_table_options.html.erb (1.4ms)
2016-03-09T01:39:25.553755+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/orders/index.html.erb within spree/layouts/admin (45.4ms)
2016-03-09T01:39:25.553756+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_translations.html.erb (3.2ms)
2016-03-09T01:39:25.553756+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_head.html.erb (4.7ms)
2016-03-09T01:39:25.554049+00:00 app[web.1]: CACHE (0.0ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = $2 [["user_id", 1], ["name", "admin"]]
2016-03-09T01:39:25.556086+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/bundler/gems/spree_auth_devise-3b243be5f93f/lib/views/backend/spree/layouts/admin/_login_nav.html.erb (1.0ms)
2016-03-09T01:39:25.556163+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_header.html.erb (4.1ms)
2016-03-09T01:39:25.560619+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_product.html.erb (2.7ms)
2016-03-09T01:39:25.564788+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_promotion.html.erb (1.0ms)
2016-03-09T01:39:25.567310+00:00 app[web.1]: Spree::Store Load (0.9ms) SELECT "spree_stores".* FROM "spree_stores" WHERE (url like '%sweetfields.herokuapp.com%') ORDER BY "spree_stores"."id" ASC LIMIT 1
2016-03-09T01:39:25.569091+00:00 app[web.1]: Spree::Store Load (0.8ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = 't' ORDER BY "spree_stores"."id" ASC LIMIT 1
2016-03-09T01:39:25.572670+00:00 app[web.1]: Spree::Preference Load (0.6ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/app_configuration/default_country_id"]]
2016-03-09T01:39:25.574944+00:00 app[web.1]: Spree::Country Load (1.1ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" IS NULL LIMIT 1
2016-03-09T01:39:25.576230+00:00 app[web.1]: Spree::Country Load (0.7ms) SELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT 1
2016-03-09T01:39:25.579934+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_configuration.html.erb (9.9ms)
2016-03-09T01:39:25.580100+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_main_menu.html.erb (23.7ms)
2016-03-09T01:39:25.580763+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_content_header.html.erb (0.3ms)
2016-03-09T01:39:25.582099+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_table_filter.html.erb (0.9ms)
2016-03-09T01:39:25.582619+00:00 app[web.1]: Completed 200 OK in 149ms (Views: 78.5ms | ActiveRecord: 18.7ms)
2016-03-09T01:39:25.580687+00:00 heroku[router]: at=info method=GET path="/shop/admin/orders" host=sweetfields.herokuapp.com request_id=fe74d296-c6a8-4c2f-9695-55c3d4527b2a fwd="100.14.176.16" dyno=web.1 connect=1ms service=172ms status=200 bytes=18955
2016-03-09T01:39:25.991757+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=sweetfields.herokuapp.com request_id=6de8aa82-3b3a-4449-8460-fced5d220c02 fwd="100.14.176.16" dyno=web.1 connect=2ms service=6ms status=304 bytes=133
2016-03-09T01:39:28.341307+00:00 app[web.1]: Started GET "/shop/admin/products" for 100.14.176.16 at 2016-03-09 01:39:28 +0000
2016-03-09T01:39:28.343568+00:00 app[web.1]: Processing by Spree::Admin::ProductsController#index as HTML
2016-03-09T01:39:28.345478+00:00 app[web.1]: Spree::Preference Load (0.7ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/backend_configuration/locale"]]
2016-03-09T01:39:28.348570+00:00 app[web.1]: Spree::User Load (1.0ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."id" = $1 ORDER BY "spree_users"."id" ASC LIMIT 1 [["id", 1]]
2016-03-09T01:39:28.352551+00:00 app[web.1]: (0.7ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = $2 [["user_id", 1], ["name", "admin"]]
2016-03-09T01:39:28.365223+00:00 app[web.1]: (5.7ms) SELECT DISTINCT COUNT(DISTINCT "spree_products"."id") FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL
2016-03-09T01:39:28.368143+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_index_table_options.html.erb (9.6ms)
2016-03-09T01:39:28.369659+00:00 app[web.1]: (0.9ms) SELECT COUNT(DISTINCT count_column) FROM (SELECT DISTINCT "spree_products"."id" AS count_column FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL LIMIT 10 OFFSET 0) subquery_for_count
2016-03-09T01:39:28.372391+00:00 app[web.1]: Spree::Product Load (1.1ms) SELECT DISTINCT "spree_products".* FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL ORDER BY "spree_products"."name" ASC LIMIT 10 OFFSET 0
2016-03-09T01:39:28.375991+00:00 app[web.1]: Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."is_master" = 'f' AND "spree_variants"."product_id" IN (1, 2, 3) ORDER BY "spree_variants".position ASC
2016-03-09T01:39:28.378712+00:00 app[web.1]: Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."is_master" = 't' AND "spree_variants"."product_id" IN (1, 2, 3)
2016-03-09T01:39:28.383036+00:00 app[web.1]: Spree::Image Load (0.9ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_type" = 'Spree::Variant' AND "spree_assets"."viewable_id" IN (1, 2, 3) ORDER BY "spree_assets"."position" ASC
2016-03-09T01:39:28.386430+00:00 app[web.1]: Spree::Price Load (0.7ms) SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."deleted_at" IS NULL AND "spree_prices"."currency" = $1 AND "spree_prices"."variant_id" IN (1, 2, 3) [["currency", "USD"]]
2016-03-09T01:39:28.405765+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_index_table_options.html.erb (2.4ms)
2016-03-09T01:39:28.405880+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/products/index.html.erb within spree/layouts/admin (50.1ms)
2016-03-09T01:39:28.411019+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_translations.html.erb (3.3ms)
2016-03-09T01:39:28.411186+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_head.html.erb (4.9ms)
2016-03-09T01:39:28.413293+00:00 app[web.1]: CACHE (0.0ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = $2 [["user_id", 1], ["name", "admin"]]
2016-03-09T01:39:28.415233+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/bundler/gems/spree_auth_devise-3b243be5f93f/lib/views/backend/spree/layouts/admin/_login_nav.html.erb (1.2ms)
2016-03-09T01:39:28.415315+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_header.html.erb (3.8ms)
2016-03-09T01:39:28.420295+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_product.html.erb (3.5ms)
2016-03-09T01:39:28.425982+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_promotion.html.erb (1.5ms)
2016-03-09T01:39:28.433036+00:00 app[web.1]: Spree::Store Load (5.7ms) SELECT "spree_stores".* FROM "spree_stores" WHERE (url like '%sweetfields.herokuapp.com%') ORDER BY "spree_stores"."id" ASC LIMIT 1
2016-03-09T01:39:28.438821+00:00 app[web.1]: Spree::Store Load (4.5ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = 't' ORDER BY "spree_stores"."id" ASC LIMIT 1
2016-03-09T01:39:28.443839+00:00 app[web.1]: Spree::Preference Load (0.7ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/app_configuration/default_country_id"]]
2016-03-09T01:39:28.446041+00:00 app[web.1]: Spree::Country Load (0.8ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" IS NULL LIMIT 1
2016-03-09T01:39:28.447882+00:00 app[web.1]: Spree::Country Load (1.4ms) SELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT 1
2016-03-09T01:39:28.450944+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_configuration.html.erb (11.3ms)
2016-03-09T01:39:28.451038+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_main_menu.html.erb (35.5ms)
2016-03-09T01:39:28.451528+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_content_header.html.erb (0.3ms)
2016-03-09T01:39:28.452401+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_table_filter.html.erb (0.6ms)
2016-03-09T01:39:28.452730+00:00 app[web.1]: Completed 200 OK in 109ms (Views: 73.0ms | ActiveRecord: 26.7ms)
2016-03-09T01:39:28.451202+00:00 heroku[router]: at=info method=GET path="/shop/admin/products" host=sweetfields.herokuapp.com request_id=85a8dcf9-d92d-4626-8083-db62dd1fdc0d fwd="100.14.176.16" dyno=web.1 connect=1ms service=120ms status=200 bytes=18613
2016-03-09T01:39:30.559704+00:00 app[web.1]: Started GET "/shop/admin/products/large-csa-box/edit" for 100.14.176.16 at 2016-03-09 01:39:30 +0000
2016-03-09T01:39:30.561461+00:00 app[web.1]: Processing by Spree::Admin::ProductsController#edit as HTML
2016-03-09T01:39:30.561472+00:00 app[web.1]: Parameters: {"id"=>"large-csa-box"}
2016-03-09T01:39:30.563071+00:00 app[web.1]: Spree::Preference Load (0.6ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/backend_configuration/locale"]]
2016-03-09T01:39:30.565696+00:00 app[web.1]: Spree::User Load (0.7ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."id" = $1 ORDER BY "spree_users"."id" ASC LIMIT 1 [["id", 1]]
2016-03-09T01:39:30.568026+00:00 app[web.1]: (0.6ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = $2 [["user_id", 1], ["name", "admin"]]
2016-03-09T01:39:30.569973+00:00 app[web.1]: Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."slug" = $1 ORDER BY "spree_products"."id" ASC LIMIT 1 [["slug", "large-csa-box"]]
2016-03-09T01:39:30.575027+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_product_tabs.html.erb (2.4ms)
2016-03-09T01:39:30.575293+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_error_messages.html.erb (0.1ms)
2016-03-09T01:39:30.578889+00:00 app[web.1]: Spree::Variant Exists (0.8ms) SELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = $1 AND "spree_variants"."is_master" = 'f' LIMIT 1 [["product_id", 1]]
2016-03-09T01:39:30.580846+00:00 app[web.1]: Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = $1 AND "spree_variants"."is_master" = 't' LIMIT 1 [["product_id", 1]]
2016-03-09T01:39:30.583219+00:00 app[web.1]: Spree::Price Load (1.0ms) SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = $1 AND "spree_prices"."currency" = $2 LIMIT 1 [["variant_id", 1], ["currency", "USD"]]
2016-03-09T01:39:30.586788+00:00 app[web.1]: Spree::Variant Exists (0.7ms) SELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = $1 AND "spree_variants"."is_master" = 'f' LIMIT 1 [["product_id", 1]]
2016-03-09T01:39:30.590321+00:00 app[web.1]: Spree::ShippingCategory Load (0.7ms) SELECT "spree_shipping_categories".* FROM "spree_shipping_categories" ORDER BY "spree_shipping_categories"."name" ASC
2016-03-09T01:39:30.592021+00:00 app[web.1]: Spree::TaxCategory Load (0.7ms) SELECT "spree_tax_categories".* FROM "spree_tax_categories" WHERE "spree_tax_categories"."deleted_at" IS NULL ORDER BY "spree_tax_categories"."name" ASC
2016-03-09T01:39:30.594297+00:00 app[web.1]: (0.9ms) SELECT "spree_taxons".id FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = $1 [["product_id", 1]]
2016-03-09T01:39:30.596323+00:00 app[web.1]: (0.8ms) SELECT "spree_option_types".id FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = $1 ORDER BY spree_option_types.position [["product_id", 1]]
2016-03-09T01:39:30.597375+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/products/_form.html.erb (21.6ms)
2016-03-09T01:39:30.598195+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_edit_resource_links.html.erb (0.6ms)
2016-03-09T01:39:30.598535+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/products/edit.html.erb within spree/layouts/admin (26.6ms)
2016-03-09T01:39:30.601361+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_translations.html.erb (1.9ms)
2016-03-09T01:39:30.601569+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_head.html.erb (2.8ms)
2016-03-09T01:39:30.602943+00:00 app[web.1]: CACHE (0.0ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = $2 [["user_id", 1], ["name", "admin"]]
2016-03-09T01:39:30.604156+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/bundler/gems/spree_auth_devise-3b243be5f93f/lib/views/backend/spree/layouts/admin/_login_nav.html.erb (0.7ms)
2016-03-09T01:39:30.604235+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_header.html.erb (2.4ms)
2016-03-09T01:39:30.608088+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_product.html.erb (2.6ms)
2016-03-09T01:39:30.611977+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_promotion.html.erb (0.9ms)
2016-03-09T01:39:30.613780+00:00 app[web.1]: Spree::Store Load (0.8ms) SELECT "spree_stores".* FROM "spree_stores" WHERE (url like '%sweetfields.herokuapp.com%') ORDER BY "spree_stores"."id" ASC LIMIT 1
2016-03-09T01:39:30.615539+00:00 app[web.1]: Spree::Store Load (1.0ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = 't' ORDER BY "spree_stores"."id" ASC LIMIT 1
2016-03-09T01:39:30.619673+00:00 app[web.1]: Spree::Preference Load (0.6ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/app_configuration/default_country_id"]]
2016-03-09T01:39:30.621650+00:00 app[web.1]: Spree::Country Load (0.7ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" IS NULL LIMIT 1
2016-03-09T01:39:30.622900+00:00 app[web.1]: Spree::Country Load (0.7ms) SELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT 1
2016-03-09T01:39:30.627016+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_configuration.html.erb (10.5ms)
2016-03-09T01:39:30.627135+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_main_menu.html.erb (22.7ms)
2016-03-09T01:39:30.627655+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_content_header.html.erb (0.3ms)
2016-03-09T01:39:30.628198+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_sidebar.html.erb (0.2ms)
2016-03-09T01:39:30.628633+00:00 app[web.1]: Completed 200 OK in 67ms (Views: 47.0ms | ActiveRecord: 12.8ms)
2016-03-09T01:39:30.626486+00:00 heroku[router]: at=info method=GET path="/shop/admin/products/large-csa-box/edit" host=sweetfields.herokuapp.com request_id=a28461cf-c94e-4f57-b2e4-6491374580a0 fwd="100.14.176.16" dyno=web.1 connect=1ms service=76ms status=200 bytes=20596
2016-03-09T01:39:31.781609+00:00 heroku[router]: at=info method=GET path="/shop/admin/products/large-csa-box/images" host=sweetfields.herokuapp.com request_id=3cad3de0-7814-4f28-8fbd-a1001bb64339 fwd="100.14.176.16" dyno=web.1 connect=2ms service=83ms status=200 bytes=12901
2016-03-09T01:39:31.712582+00:00 app[web.1]: Started GET "/shop/admin/products/large-csa-box/images" for 100.14.176.16 at 2016-03-09 01:39:31 +0000
2016-03-09T01:39:31.714558+00:00 app[web.1]: Processing by Spree::Admin::ImagesController#index as HTML
2016-03-09T01:39:31.714574+00:00 app[web.1]: Parameters: {"product_id"=>"large-csa-box"}
2016-03-09T01:39:31.716381+00:00 app[web.1]: Spree::Preference Load (0.7ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/backend_configuration/locale"]]
2016-03-09T01:39:31.719211+00:00 app[web.1]: Spree::User Load (1.0ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."id" = $1 ORDER BY "spree_users"."id" ASC LIMIT 1 [["id", 1]]
2016-03-09T01:39:31.722580+00:00 app[web.1]: (0.7ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = $2 [["user_id", 1], ["name", "admin"]]
2016-03-09T01:39:31.725215+00:00 app[web.1]: Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND "spree_products"."slug" = $1 ORDER BY "spree_products"."id" ASC LIMIT 1 [["slug", "large-csa-box"]]
2016-03-09T01:39:31.729973+00:00 app[web.1]: SQL (1.4ms) SELECT "spree_variants".*, "spree_variants"."id" AS t0_r0, "spree_variants"."sku" AS t0_r1, "spree_variants"."weight" AS t0_r2, "spree_variants"."height" AS t0_r3, "spree_variants"."width" AS t0_r4, "spree_variants"."depth" AS t0_r5, "spree_variants"."deleted_at" AS t0_r6, "spree_variants"."is_master" AS t0_r7, "spree_variants"."product_id" AS t0_r8, "spree_variants"."cost_price" AS t0_r9, "spree_variants"."position" AS t0_r10, "spree_variants"."cost_currency" AS t0_r11, "spree_variants"."track_inventory" AS t0_r12, "spree_variants"."tax_category_id" AS t0_r13, "spree_variants"."updated_at" AS t0_r14, "spree_variants"."stock_items_count" AS t0_r15, "spree_assets"."id" AS t1_r0, "spree_assets"."viewable_id" AS t1_r1, "spree_assets"."viewable_type" AS t1_r2, "spree_assets"."attachment_width" AS t1_r3, "spree_assets"."attachment_height" AS t1_r4, "spree_assets"."attachment_file_size" AS t1_r5, "spree_assets"."position" AS t1_r6, "spree_assets"."attachment_content_type" AS t1_r7, "spree_assets"."attachment_file_name" AS t1_r8, "spree_assets"."type" AS t1_r9, "spree_assets"."attachment_updated_at" AS t1_r10, "spree_assets"."alt" AS t1_r11, "spree_assets"."created_at" AS t1_r12, "spree_assets"."updated_at" AS t1_r13 FROM "spree_variants" LEFT OUTER JOIN "spree_assets" ON "spree_assets"."viewable_id" = "spree_variants"."id" AND "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_type" = $1 WHERE "spree_variants"."deleted_at" IS NULL AND "spree_assets"."type" IN ('Spree::Image') AND "spree_variants"."product_id" IN (1) ORDER BY "spree_assets"."position" ASC [["viewable_type", "Spree::Variant"]]
2016-03-09T01:39:31.740140+00:00 app[web.1]: Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."id" IN (1)
2016-03-09T01:39:31.742259+00:00 app[web.1]: HABTM_OptionValues Load (0.8ms) SELECT "spree_option_values_variants".* FROM "spree_option_values_variants" WHERE "spree_option_values_variants"."variant_id" IN (1)
2016-03-09T01:39:31.747964+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_product_tabs.html.erb (2.9ms)
2016-03-09T01:39:31.750710+00:00 app[web.1]: Spree::Variant Exists (0.7ms) SELECT 1 AS one FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = $1 AND "spree_variants"."is_master" = 'f' LIMIT 1 [["product_id", 1]]
2016-03-09T01:39:31.755036+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/images/index.html.erb within spree/layouts/admin (10.4ms)
2016-03-09T01:39:31.758852+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_translations.html.erb (2.6ms)
2016-03-09T01:39:31.759075+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_head.html.erb (3.7ms)
2016-03-09T01:39:31.760492+00:00 app[web.1]: CACHE (0.0ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = $2 [["user_id", 1], ["name", "admin"]]
2016-03-09T01:39:31.761895+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/bundler/gems/spree_auth_devise-3b243be5f93f/lib/views/backend/spree/layouts/admin/_login_nav.html.erb (0.7ms)
2016-03-09T01:39:31.761962+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_header.html.erb (2.6ms)
2016-03-09T01:39:31.766143+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_product.html.erb (3.0ms)
2016-03-09T01:39:31.770687+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_promotion.html.erb (1.0ms)
2016-03-09T01:39:31.772586+00:00 app[web.1]: Spree::Store Load (0.8ms) SELECT "spree_stores".* FROM "spree_stores" WHERE (url like '%sweetfields.herokuapp.com%') ORDER BY "spree_stores"."id" ASC LIMIT 1
2016-03-09T01:39:31.773855+00:00 app[web.1]: Spree::Store Load (0.7ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = 't' ORDER BY "spree_stores"."id" ASC LIMIT 1
2016-03-09T01:39:31.777010+00:00 app[web.1]: Spree::Preference Load (0.8ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/app_configuration/default_country_id"]]
2016-03-09T01:39:31.778624+00:00 app[web.1]: Spree::Country Load (0.7ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" IS NULL LIMIT 1
2016-03-09T01:39:31.779686+00:00 app[web.1]: Spree::Country Load (0.7ms) SELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT 1
2016-03-09T01:39:31.783457+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_configuration.html.erb (8.9ms)
2016-03-09T01:39:31.783618+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_main_menu.html.erb (21.5ms)
2016-03-09T01:39:31.784205+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_content_header.html.erb (0.3ms)
2016-03-09T01:39:31.784726+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_sidebar.html.erb (0.2ms)
2016-03-09T01:39:31.785169+00:00 app[web.1]: Completed 200 OK in 70ms (Views: 36.8ms | ActiveRecord: 10.6ms)
2016-03-09T01:39:32.550443+00:00 app[web.1]: Started GET "/shop/admin/products/large-csa-box/images/new" for 100.14.176.16 at 2016-03-09 01:39:32 +0000
2016-03-09T01:39:32.552125+00:00 app[web.1]: Processing by Spree::Admin::ImagesController#new as HTML
2016-03-09T01:39:32.552154+00:00 app[web.1]: Parameters: {"product_id"=>"large-csa-box"}
2016-03-09T01:39:32.553823+00:00 app[web.1]: Spree::Preference Load (0.7ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/backend_configuration/locale"]]
2016-03-09T01:39:32.556395+00:00 app[web.1]: Spree::User Load (1.0ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."id" = $1 ORDER BY "spree_users"."id" ASC LIMIT 1 [["id", 1]]
2016-03-09T01:39:32.559125+00:00 app[web.1]: (0.8ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = $2 [["user_id", 1], ["name", "admin"]]
2016-03-09T01:39:32.561897+00:00 app[web.1]: Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND "spree_products"."slug" = $1 ORDER BY "spree_products"."id" ASC LIMIT 1 [["slug", "large-csa-box"]]
2016-03-09T01:39:32.564406+00:00 app[web.1]: Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" IN (1) ORDER BY "spree_variants".position ASC
2016-03-09T01:39:32.566442+00:00 app[web.1]: HABTM_OptionValues Load (0.9ms) SELECT "spree_option_values_variants".* FROM "spree_option_values_variants" WHERE "spree_option_values_variants"."variant_id" IN (1)
2016-03-09T01:39:32.570933+00:00 app[web.1]: Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_type" = 'Spree::Variant' AND "spree_assets"."viewable_id" IN (1) ORDER BY "spree_assets"."position" ASC
2016-03-09T01:39:32.573133+00:00 app[web.1]: Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."id" IN (1)
2016-03-09T01:39:32.576183+00:00 app[web.1]: Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = $1 AND "spree_variants"."is_master" = 'f' ORDER BY "spree_variants".position ASC [["product_id", 1]]
2016-03-09T01:39:32.578070+00:00 app[web.1]: Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = $1 AND "spree_variants"."is_master" = 't' LIMIT 1 [["product_id", 1]]
2016-03-09T01:39:32.581772+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_product_tabs.html.erb (2.4ms)
2016-03-09T01:39:32.582048+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_error_messages.html.erb (0.1ms)
2016-03-09T01:39:32.583710+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/images/_form.html.erb (1.0ms)
2016-03-09T01:39:32.584561+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/images/new.html.erb within spree/layouts/admin (5.4ms)
2016-03-09T01:39:32.587681+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_translations.html.erb (2.0ms)
2016-03-09T01:39:32.587886+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_head.html.erb (3.1ms)
2016-03-09T01:39:32.589218+00:00 app[web.1]: CACHE (0.0ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = $2 [["user_id", 1], ["name", "admin"]]
2016-03-09T01:39:32.590463+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/bundler/gems/spree_auth_devise-3b243be5f93f/lib/views/backend/spree/layouts/admin/_login_nav.html.erb (0.7ms)
2016-03-09T01:39:32.590552+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_header.html.erb (2.4ms)
2016-03-09T01:39:32.595537+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_product.html.erb (3.3ms)
2016-03-09T01:39:32.600089+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_promotion.html.erb (0.9ms)
2016-03-09T01:39:32.602405+00:00 app[web.1]: Spree::Store Load (1.2ms) SELECT "spree_stores".* FROM "spree_stores" WHERE (url like '%sweetfields.herokuapp.com%') ORDER BY "spree_stores"."id" ASC LIMIT 1
2016-03-09T01:39:32.603915+00:00 app[web.1]: Spree::Store Load (0.9ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = 't' ORDER BY "spree_stores"."id" ASC LIMIT 1
2016-03-09T01:39:32.608057+00:00 app[web.1]: Spree::Preference Load (0.6ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/app_configuration/default_country_id"]]
2016-03-09T01:39:32.609950+00:00 app[web.1]: Spree::Country Load (0.7ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" IS NULL LIMIT 1
2016-03-09T01:39:32.611275+00:00 app[web.1]: Spree::Country Load (0.7ms) SELECT "spree_countries".* FROM "spree_countries" ORDER BY "spree_countries"."id" ASC LIMIT 1
2016-03-09T01:39:32.614182+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/sub_menu/_configuration.html.erb (9.3ms)
2016-03-09T01:39:32.614320+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_main_menu.html.erb (23.6ms)
2016-03-09T01:39:32.614647+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_content_header.html.erb (0.2ms)
2016-03-09T01:39:32.615026+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/views/spree/admin/shared/_sidebar.html.erb (0.1ms)
2016-03-09T01:39:32.615296+00:00 app[web.1]: Completed 200 OK in 63ms (Views: 32.2ms | ActiveRecord: 12.7ms)
2016-03-09T01:39:32.611423+00:00 heroku[router]: at=info method=GET path="/shop/admin/products/large-csa-box/images/new" host=sweetfields.herokuapp.com request_id=d61e390b-51fa-4355-935f-932d8d7aebae fwd="100.14.176.16" dyno=web.1 connect=1ms service=72ms status=200 bytes=12590
2016-03-09T01:39:36.785550+00:00 app[web.1]: Started POST "/shop/admin/products/large-csa-box/images" for 100.14.176.16 at 2016-03-09 01:39:36 +0000
2016-03-09T01:39:36.787795+00:00 app[web.1]: Processing by Spree::Admin::ImagesController#create as HTML
2016-03-09T01:39:36.787889+00:00 app[web.1]: Parameters: {"utf8"=>"✓", "authenticity_token"=>"mgB195MN+RuTLQxnOS8AqFYih19dgpIOFE7y4KguGYo+3ZhRRALPV5gH2uFXlTDG8OzNpEDXLBjDXPrCph26xQ==", "image"=>{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f258f28cf38 @tempfile=#<Tempfile:/tmp/RackMultipart20160309-3-1t21e98.png>, @original_filename="csa-box.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"image[attachment]\"; filename=\"csa-box.png\"\r\nContent-Type: image/png\r\n">, "viewable_id"=>"1", "alt"=>""}, "button"=>"", "product_id"=>"large-csa-box"}
2016-03-09T01:39:36.789704+00:00 app[web.1]: Spree::Preference Load (0.6ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = $1 LIMIT 1 [["key", "spree/backend_configuration/locale"]]
2016-03-09T01:39:36.792030+00:00 app[web.1]: Spree::User Load (0.6ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."id" = $1 ORDER BY "spree_users"."id" ASC LIMIT 1 [["id", 1]]
2016-03-09T01:39:36.794625+00:00 app[web.1]: (0.6ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = $2 [["user_id", 1], ["name", "admin"]]
2016-03-09T01:39:36.798551+00:00 app[web.1]: Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND "spree_products"."slug" = $1 ORDER BY "spree_products"."id" ASC LIMIT 1 [["slug", "large-csa-box"]]
2016-03-09T01:39:36.801841+00:00 app[web.1]: Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" IN (1) ORDER BY "spree_variants".position ASC
2016-03-09T01:39:36.804122+00:00 app[web.1]: HABTM_OptionValues Load (0.7ms) SELECT "spree_option_values_variants".* FROM "spree_option_values_variants" WHERE "spree_option_values_variants"."variant_id" IN (1)
2016-03-09T01:39:36.807313+00:00 app[web.1]: Spree::Image Load (0.8ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_type" = 'Spree::Variant' AND "spree_assets"."viewable_id" IN (1) ORDER BY "spree_assets"."position" ASC
2016-03-09T01:39:36.809166+00:00 app[web.1]: Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."id" IN (1)
2016-03-09T01:39:36.811512+00:00 app[web.1]: Spree::Variant Load (0.9ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = $1 AND "spree_variants"."is_master" = 'f' ORDER BY "spree_variants".position ASC [["product_id", 1]]
2016-03-09T01:39:36.813916+00:00 app[web.1]: Spree::Variant Load (0.7ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."product_id" = $1 AND "spree_variants"."is_master" = 't' LIMIT 1 [["product_id", 1]]
2016-03-09T01:39:36.821454+00:00 app[web.1]: Command :: file -b --mime '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-1ermkuj.png'
2016-03-09T01:39:36.824524+00:00 app[web.1]: Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]' 2>/dev/null
2016-03-09T01:39:36.868376+00:00 app[web.1]: Command :: identify -format %m '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]'
2016-03-09T01:39:36.875299+00:00 app[web.1]: Command :: convert '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]' -auto-orient -resize "48x48>" -strip -auto-orient -colorspace sRGB '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn20160309-3-16h1xiy'
2016-03-09T01:39:36.973076+00:00 app[web.1]: Command :: file -b --mime '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn20160309-3-16h1xiy'
2016-03-09T01:39:36.975811+00:00 app[web.1]: Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]' 2>/dev/null
2016-03-09T01:39:37.020855+00:00 app[web.1]: Command :: identify -format %m '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]'
2016-03-09T01:39:37.027388+00:00 app[web.1]: Command :: convert '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]' -auto-orient -resize "100x100>" -strip -auto-orient -colorspace sRGB '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn20160309-3-16rjeku'
2016-03-09T01:39:37.104824+00:00 app[web.1]: Command :: file -b --mime '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn20160309-3-16rjeku'
2016-03-09T01:39:37.107305+00:00 app[web.1]: Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]' 2>/dev/null
2016-03-09T01:39:37.162152+00:00 app[web.1]: Command :: identify -format %m '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]'
2016-03-09T01:39:37.167448+00:00 app[web.1]: Command :: convert '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]' -auto-orient -resize "240x240>" -strip -auto-orient -colorspace sRGB '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn20160309-3-62qi3l'
2016-03-09T01:39:37.261708+00:00 app[web.1]: Command :: file -b --mime '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn20160309-3-62qi3l'
2016-03-09T01:39:37.337832+00:00 app[web.1]: Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]' 2>/dev/null
2016-03-09T01:39:37.396119+00:00 app[web.1]: Command :: identify -format %m '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]'
2016-03-09T01:39:37.402612+00:00 app[web.1]: Command :: convert '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]' -auto-orient -resize "600x600>" -strip -auto-orient -colorspace sRGB '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn20160309-3-s325s1'
2016-03-09T01:39:37.654793+00:00 app[web.1]: Command :: file -b --mime '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn20160309-3-s325s1'
2016-03-09T01:39:37.698050+00:00 app[web.1]: Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-15hxrn.png[0]' 2>/dev/null
2016-03-09T01:39:37.751036+00:00 app[web.1]: (0.7ms) BEGIN
2016-03-09T01:39:37.752689+00:00 app[web.1]: Command :: file -b --mime '/tmp/ad428d8ced6a05f49d0340f8afcba8ce20160309-3-m02a5y.png'
2016-03-09T01:39:37.762093+00:00 app[web.1]: Spree::Asset Load (1.2ms) SELECT "spree_assets".* FROM "spree_assets" WHERE (spree_assets.position IS NOT NULL) AND "spree_assets"."viewable_id" = $1 AND "spree_assets"."viewable_type" = $2 ORDER BY spree_assets.position DESC LIMIT 1 [["viewable_id", 1], ["viewable_type", "Spree::Variant"]]
2016-03-09T01:39:37.768045+00:00 app[web.1]: SQL (3.5ms) INSERT INTO "spree_assets" ("type", "viewable_type", "viewable_id", "attachment_file_name", "attachment_content_type", "attachment_file_size", "attachment_updated_at", "attachment_width", "attachment_height", "alt", "created_at", "updated_at", "position") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["type", "Spree::Image"], ["viewable_type", "Spree::Variant"], ["viewable_id", 1], ["attachment_file_name", "csa-box.png"], ["attachment_content_type", "image/png"], ["attachment_file_size", 519920], ["attachment_updated_at", "2016-03-09 01:39:36.819444"], ["attachment_width", 700], ["attachment_height", 467], ["alt", ""], ["created_at", "2016-03-09 01:39:37.759399"], ["updated_at", "2016-03-09 01:39:37.759399"], ["position", 2]]
2016-03-09T01:39:37.770605+00:00 app[web.1]: Spree::Variant Load (0.8ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."deleted_at" IS NULL AND "spree_variants"."id" = $1 LIMIT 1 [["id", 1]]
2016-03-09T01:39:37.773292+00:00 app[web.1]: SQL (0.8ms) UPDATE "spree_variants" SET "updated_at" = '2016-03-09 01:39:37.771072' WHERE "spree_variants"."id" = $1 [["id", 1]]
2016-03-09T01:39:37.775863+00:00 app[web.1]: Spree::Product Load (0.9ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = $1 LIMIT 1 [["id", 1]]
2016-03-09T01:39:37.779667+00:00 app[web.1]: SQL (0.7ms) UPDATE "spree_products" SET "updated_at" = '2016-03-09 01:39:37.776935' WHERE "spree_products"."id" = $1 [["id", 1]]
2016-03-09T01:39:37.782873+00:00 app[web.1]: Spree::Taxon Load (1.5ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = $1 [["product_id", 1]]
2016-03-09T01:39:37.785125+00:00 app[web.1]: SQL (0.8ms) UPDATE "spree_taxons" SET "updated_at" = '2016-03-09 01:39:37.783717' WHERE 1=0
2016-03-09T01:39:37.789626+00:00 app[web.1]: SQL (2.5ms) UPDATE "spree_taxonomies" SET "updated_at" = '2016-03-09 01:39:37.786323' WHERE "spree_taxonomies"."id" IN (SELECT "spree_taxonomies"."id" FROM "spree_taxonomies" WHERE 1=0 ORDER BY spree_taxonomies.position, spree_taxonomies.created_at)
2016-03-09T01:39:37.790689+00:00 app[web.1]: [paperclip] saving /spree/images/6/original/csa-box.png
2016-03-09T01:39:37.805262+00:00 app[web.1]: (1.8ms) ROLLBACK
2016-03-09T01:39:37.811487+00:00 app[web.1]: Completed 500 Internal Server Error in 1023ms (ActiveRecord: 22.7ms)
2016-03-09T01:39:37.818657+00:00 app[web.1]:
2016-03-09T01:39:37.818673+00:00 app[web.1]: NameError (uninitialized constant Paperclip::Storage::S3::AWS):
2016-03-09T01:39:37.818675+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/paperclip-4.2.4/lib/paperclip/storage/s3.rb:361:in `rescue in block in flush_writes'
2016-03-09T01:39:37.818676+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/paperclip-4.2.4/lib/paperclip/storage/s3.rb:374:in `block in flush_writes'
2016-03-09T01:39:37.818676+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/paperclip-4.2.4/lib/paperclip/storage/s3.rb:331:in `each'
2016-03-09T01:39:37.818677+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/paperclip-4.2.4/lib/paperclip/storage/s3.rb:331:in `flush_writes'
2016-03-09T01:39:37.818678+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/paperclip-4.2.4/lib/paperclip/attachment.rb:238:in `save'
2016-03-09T01:39:37.818679+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/paperclip-4.2.4/lib/paperclip/has_attached_file.rb:91:in `block in add_active_record_callbacks'
2016-03-09T01:39:37.818679+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:446:in `instance_exec'
2016-03-09T01:39:37.818680+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:446:in `block in make_lambda'
2016-03-09T01:39:37.818681+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:228:in `call'
2016-03-09T01:39:37.818682+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
2016-03-09T01:39:37.818682+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:506:in `call'
2016-03-09T01:39:37.818683+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:506:in `block in call'
2016-03-09T01:39:37.818684+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:506:in `each'
2016-03-09T01:39:37.818684+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:506:in `call'
2016-03-09T01:39:37.818685+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:92:in `_run_callbacks'
2016-03-09T01:39:37.818686+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
2016-03-09T01:39:37.818687+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/callbacks.rb:302:in `create_or_update'
2016-03-09T01:39:37.818687+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/persistence.rb:120:in `save'
2016-03-09T01:39:37.818688+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/validations.rb:37:in `save'
2016-03-09T01:39:37.818689+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/attribute_methods/dirty.rb:21:in `save'
2016-03-09T01:39:37.818689+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/transactions.rb:286:in `block (2 levels) in save'
2016-03-09T01:39:37.818690+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
2016-03-09T01:39:37.818691+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
2016-03-09T01:39:37.818692+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/connection_adapters/abstract/transaction.rb:188:in `within_new_transaction'
2016-03-09T01:39:37.818693+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
2016-03-09T01:39:37.818693+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/transactions.rb:220:in `transaction'
2016-03-09T01:39:37.818694+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
2016-03-09T01:39:37.818695+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/transactions.rb:286:in `block in save'
2016-03-09T01:39:37.818695+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/transactions.rb:301:in `rollback_active_record_state!'
2016-03-09T01:39:37.818696+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/transactions.rb:285:in `save'
2016-03-09T01:39:37.818697+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/spree_backend-3.0.5/app/controllers/spree/admin/resource_controller.rb:53:in `create'
2016-03-09T01:39:37.818697+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2016-03-09T01:39:37.818698+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/abstract_controller/base.rb:198:in `process_action'
2016-03-09T01:39:37.818699+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
2016-03-09T01:39:37.818699+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2016-03-09T01:39:37.818704+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:117:in `call'
2016-03-09T01:39:37.818705+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:117:in `call'
2016-03-09T01:39:37.818705+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
2016-03-09T01:39:37.818706+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:505:in `call'
2016-03-09T01:39:37.818707+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:505:in `call'
2016-03-09T01:39:37.818707+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:92:in `_run_callbacks'
2016-03-09T01:39:37.818708+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
2016-03-09T01:39:37.818709+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
2016-03-09T01:39:37.818710+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
2016-03-09T01:39:37.818710+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
2016-03-09T01:39:37.818711+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2016-03-09T01:39:37.818712+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/notifications.rb:164:in `block in instrument'
2016-03-09T01:39:37.818712+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2016-03-09T01:39:37.818713+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/notifications.rb:164:in `instrument'
2016-03-09T01:39:37.818714+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2016-03-09T01:39:37.818714+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2016-03-09T01:39:37.818715+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2016-03-09T01:39:37.818716+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/abstract_controller/base.rb:137:in `process'
2016-03-09T01:39:37.818716+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionview-4.2.2/lib/action_view/rendering.rb:30:in `process'
2016-03-09T01:39:37.818717+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_controller/metal.rb:196:in `dispatch'
2016-03-09T01:39:37.818717+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2016-03-09T01:39:37.818718+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_controller/metal.rb:237:in `block in action'
2016-03-09T01:39:37.818719+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/route_set.rb:74:in `call'
2016-03-09T01:39:37.818719+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
2016-03-09T01:39:37.818720+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/route_set.rb:43:in `serve'
2016-03-09T01:39:37.818721+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/journey/router.rb:43:in `block in serve'
2016-03-09T01:39:37.818721+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/journey/router.rb:30:in `each'
2016-03-09T01:39:37.818831+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/journey/router.rb:30:in `serve'
2016-03-09T01:39:37.818832+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/route_set.rb:819:in `call'
2016-03-09T01:39:37.818833+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.2/lib/rails/engine.rb:518:in `call'
2016-03-09T01:39:37.818834+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.2/lib/rails/railtie.rb:194:in `public_send'
2016-03-09T01:39:37.818834+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.2/lib/rails/railtie.rb:194:in `method_missing'
2016-03-09T01:39:37.818835+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/mapper.rb:51:in `serve'
2016-03-09T01:39:37.818835+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/journey/router.rb:43:in `block in serve'
2016-03-09T01:39:37.818836+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/journey/router.rb:30:in `each'
2016-03-09T01:39:37.818844+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/journey/router.rb:30:in `serve'
2016-03-09T01:39:37.818844+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/route_set.rb:819:in `call'
2016-03-09T01:39:37.818845+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block in call'
2016-03-09T01:39:37.818846+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'
2016-03-09T01:39:37.818856+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'
2016-03-09T01:39:37.818857+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
2016-03-09T01:39:37.818857+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'
2016-03-09T01:39:37.818858+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
2016-03-09T01:39:37.818858+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2016-03-09T01:39:37.818872+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/middleware/flash.rb:260:in `call'
2016-03-09T01:39:37.818873+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
2016-03-09T01:39:37.818874+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
2016-03-09T01:39:37.818875+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/middleware/cookies.rb:560:in `call'
2016-03-09T01:39:37.818876+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/query_cache.rb:36:in `call'
2016-03-09T01:39:37.818877+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
2016-03-09T01:39:37.818878+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2016-03-09T01:39:37.818878+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:88:in `call'
2016-03-09T01:39:37.818879+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:88:in `_run_callbacks'
2016-03-09T01:39:37.818880+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
2016-03-09T01:39:37.818881+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
2016-03-09T01:39:37.818881+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2016-03-09T01:39:37.818882+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2016-03-09T01:39:37.818883+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2016-03-09T01:39:37.818884+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2016-03-09T01:39:37.818884+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.2/lib/rails/rack/logger.rb:38:in `call_app'
2016-03-09T01:39:37.818885+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.2/lib/rails/rack/logger.rb:20:in `block in call'
2016-03-09T01:39:37.818886+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2016-03-09T01:39:37.818887+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/tagged_logging.rb:26:in `tagged'
2016-03-09T01:39:37.818887+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/tagged_logging.rb:68:in `tagged'
2016-03-09T01:39:37.818888+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.2/lib/rails/rack/logger.rb:20:in `call'
2016-03-09T01:39:37.818889+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2016-03-09T01:39:37.818890+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
2016-03-09T01:39:37.818890+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
2016-03-09T01:39:37.818891+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.2/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2016-03-09T01:39:37.818892+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.2/lib/action_dispatch/middleware/static.rb:113:in `call'
2016-03-09T01:39:37.818893+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
2016-03-09T01:39:37.818893+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.2/lib/rails/engine.rb:518:in `call'
2016-03-09T01:39:37.818894+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.2/lib/rails/application.rb:164:in `call'
2016-03-09T01:39:37.818895+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
2016-03-09T01:39:37.818896+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
2016-03-09T01:39:37.818896+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
2016-03-09T01:39:37.818897+00:00 app[web.1]: vendor/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
2016-03-09T01:39:37.818898+00:00 app[web.1]: vendor/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
2016-03-09T01:39:37.818898+00:00 app[web.1]: vendor/ruby-2.2.4/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
2016-03-09T01:39:37.818899+00:00 app[web.1]:
2016-03-09T01:39:37.818900+00:00 app[web.1]:
2016-03-09T01:39:37.829214+00:00 heroku[router]: at=info method=POST path="/shop/admin/products/large-csa-box/images" host=sweetfields.herokuapp.com request_id=c5da455e-d703-4d5e-881b-5d8afe477cca fwd="100.14.176.16" dyno=web.1 connect=1ms service=1508ms status=500 bytes=1754
# Configure Spree Preferences
#
# Note: Initializing preferences available within the Admin will overwrite any changes that were made through the user interface when you restart.
# If you would like users to be able to update a setting with the Admin it should NOT be set here.
#
# Note: If a preference is set here it will be stored within the cache & database upon initialization.
# Just removing an entry from this initializer will not make the preference value go away.
# Instead you must either set a new value or remove entry, clear cache, and remove database entry.
#
# In order to initialize a setting do:
# config.setting_name = 'new value'
Spree.config do |config|
# Example:
# Uncomment to stop tracking inventory levels in the application
# config.track_inventory_levels = false
end
Spree.user_class = "Spree::User"
attachment_config = {
s3_credentials: {
access_key_id: ENV['AWS_ACCESS_KEY_ID'],
secret_access_key: ENV['AWS_SECRET_ACCESS_KEY'],
bucket: ENV['S3_BUCKET_NAME']
},
storage: :s3,
s3_headers: { "Cache-Control" => "max-age=31557600" },
s3_protocol: "https",
bucket: ENV['S3_BUCKET_NAME'],
url: ":s3_domain_url",
styles: {
mini: "48x48>",
small: "100x100>",
product: "240x240>",
large: "600x600>"
},
path: "/:class/:id/:style/:basename.:extension",
default_url: "/:class/:id/:style/:basename.:extension",
default_style: "product"
}
attachment_config.each do |key, value|
Spree::Image.attachment_definitions[:attachment][key.to_sym] = value
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment