Skip to content

Instantly share code, notes, and snippets.

@connecticus
Created October 1, 2018 23:31
Show Gist options
  • Save connecticus/eca90b675582b1a9509aefa7ef36a4bd to your computer and use it in GitHub Desktop.
Save connecticus/eca90b675582b1a9509aefa7ef36a4bd to your computer and use it in GitHub Desktop.
Started POST "/admin/products/pech-mangal-vesta/images" for 127.0.0.1 at 2018-10-01 16:30:36 -0700
Processing by Spree::Admin::ImagesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"5JJAWLbpdtKR2Ie88e5HoycxBwtMdrvdoJsxnIwBhz99FExaF8iqp6ejSVFsES5T7nR7yFvBbIQtCNtT/Q2FQg==", "image"=>{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x0000555e7f219b10 @tempfile=#<Tempfile:/tmp/RackMultipart20181001-9688-x2hbk0.jpg>, @original_filename="netty.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"image[attachment]\"; filename=\"netty.jpg\"\r\nContent-Type: image/jpeg\r\n">, "viewable_id"=>{"3"=>["42"]}, "alt"=>"alt"}, "option_types"=>["3"], "button"=>"", "product_id"=>"pech-mangal-vesta"}
Spree::Preference Load (0.8ms) SELECT `spree_preferences`.* FROM `spree_preferences` WHERE `spree_preferences`.`key` = 'spree/backend_configuration/locale' LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/preferences/store.rb:50
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
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_auth_devise-f155d176565f/lib/spree/authentication_helpers.rb:11
Spree::Role Load (0.9ms) SELECT `spree_roles`.* FROM `spree_roles` INNER JOIN `spree_role_users` ON `spree_roles`.`id` = `spree_role_users`.`role_id` WHERE `spree_role_users`.`user_id` = 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/concerns/spree/user_methods.rb:36
Spree::Product Load (0.9ms) SELECT `spree_products`.* FROM `spree_products` WHERE `spree_products`.`deleted_at` IS NULL AND `spree_products`.`slug` = 'pech-mangal-vesta' LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:25
Spree::Variant Load (1.3ms) SELECT `spree_variants`.* FROM `spree_variants` WHERE `spree_variants`.`deleted_at` IS NULL AND `spree_variants`.`product_id` = 102 ORDER BY `spree_variants`.`position` ASC
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:25
Spree::OptionValueVariant Load (0.9ms) SELECT `spree_option_value_variants`.* FROM `spree_option_value_variants` WHERE `spree_option_value_variants`.`variant_id` IN (149, 150, 151, 152, 153)
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:25
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block (2 levels) in <main> at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/models/spree/option_value_decorator.rb:16)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from load_edit_data at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:25)
Spree::OptionValue Load (1.1ms) SELECT `spree_option_values`.* FROM `spree_option_values` WHERE `spree_option_values`.`id` IN (45, 44, 43, 42) ORDER BY `spree_option_values`.position
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:25
Spree::OptionType Load (0.8ms) SELECT `spree_option_types`.* FROM `spree_option_types` WHERE `spree_option_types`.`id` = 3 ORDER BY `spree_option_types`.`position` ASC
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:25
Spree::Image Load (1.2ms) SELECT `spree_assets`.* FROM `spree_assets` WHERE `spree_assets`.`viewable_type` = 'Spree::Variant' AND `spree_assets`.`type` IN ('Spree::Image') AND `spree_assets`.`viewable_id` IN (149, 150, 151, 152, 153) ORDER BY `spree_assets`.`position` ASC
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:25
Spree::Variant Load (0.8ms) SELECT `spree_variants`.* FROM `spree_variants` WHERE `spree_variants`.`deleted_at` IS NULL AND `spree_variants`.`id` = 149
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:25
Spree::Variant Load (1.5ms) SELECT `spree_variants`.* FROM `spree_variants` WHERE `spree_variants`.`deleted_at` IS NULL AND `spree_variants`.`product_id` = 102 AND `spree_variants`.`is_master` = FALSE ORDER BY `spree_variants`.`position` ASC
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:26
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block (2 levels) in <main> at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/models/spree/option_value_decorator.rb:16)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from options_text at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block (2 levels) in <main> at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/models/spree/option_value_decorator.rb:16)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from sort at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from sort at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
Spree::OptionValue Load (1.1ms) SELECT `spree_option_values`.* FROM `spree_option_values` INNER JOIN `spree_option_value_variants` ON `spree_option_values`.`id` = `spree_option_value_variants`.`option_value_id` WHERE `spree_option_value_variants`.`variant_id` = 150 ORDER BY `spree_option_values`.position
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104
Spree::OptionType Load (0.9ms) SELECT `spree_option_types`.* FROM `spree_option_types` WHERE `spree_option_types`.`id` = 3 ORDER BY `spree_option_types`.`position` ASC LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:109
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block (2 levels) in <main> at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/models/spree/option_value_decorator.rb:16)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from options_text at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block (2 levels) in <main> at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/models/spree/option_value_decorator.rb:16)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from sort at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from sort at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
Spree::OptionValue Load (1.1ms) SELECT `spree_option_values`.* FROM `spree_option_values` INNER JOIN `spree_option_value_variants` ON `spree_option_values`.`id` = `spree_option_value_variants`.`option_value_id` WHERE `spree_option_value_variants`.`variant_id` = 151 ORDER BY `spree_option_values`.position
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104
CACHE Spree::OptionType Load (0.0ms) SELECT `spree_option_types`.* FROM `spree_option_types` WHERE `spree_option_types`.`id` = 3 ORDER BY `spree_option_types`.`position` ASC LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:109
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block (2 levels) in <main> at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/models/spree/option_value_decorator.rb:16)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from options_text at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block (2 levels) in <main> at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/models/spree/option_value_decorator.rb:16)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from sort at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from sort at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
Spree::OptionValue Load (1.2ms) SELECT `spree_option_values`.* FROM `spree_option_values` INNER JOIN `spree_option_value_variants` ON `spree_option_values`.`id` = `spree_option_value_variants`.`option_value_id` WHERE `spree_option_value_variants`.`variant_id` = 152 ORDER BY `spree_option_values`.position
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104
CACHE Spree::OptionType Load (0.0ms) SELECT `spree_option_types`.* FROM `spree_option_types` WHERE `spree_option_types`.`id` = 3 ORDER BY `spree_option_types`.`position` ASC LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:109
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block (2 levels) in <main> at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/models/spree/option_value_decorator.rb:16)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from options_text at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block (2 levels) in <main> at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/models/spree/option_value_decorator.rb:16)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from sort at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from sort at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104)
Spree::OptionValue Load (1.1ms) SELECT `spree_option_values`.* FROM `spree_option_values` INNER JOIN `spree_option_value_variants` ON `spree_option_values`.`id` = `spree_option_value_variants`.`option_value_id` WHERE `spree_option_value_variants`.`variant_id` = 153 ORDER BY `spree_option_values`.position
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:104
CACHE Spree::OptionType Load (0.0ms) SELECT `spree_option_types`.* FROM `spree_option_types` WHERE `spree_option_types`.`id` = 3 ORDER BY `spree_option_types`.`position` ASC LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/variant.rb:109
Spree::Variant Load (1.1ms) SELECT `spree_variants`.* FROM `spree_variants` WHERE `spree_variants`.`deleted_at` IS NULL AND `spree_variants`.`product_id` = 102 AND `spree_variants`.`is_master` = TRUE LIMIT 1
↳ app/models/spree/product.rb:247
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from block (2 levels) in <main> at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/models/spree/option_value_decorator.rb:16)
DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "`spree_option_values`.position". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from option_values at /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/models/spree/product_decorator.rb:4)
Spree::OptionValue Load (1.5ms) SELECT DISTINCT spree_option_values.* FROM `spree_option_values` INNER JOIN `spree_option_value_variants` ON `spree_option_value_variants`.`option_value_id` = `spree_option_values`.`id` INNER JOIN `spree_variants` ON `spree_variants`.`id` = `spree_option_value_variants`.`variant_id` AND `spree_variants`.`deleted_at` IS NULL WHERE (spree_option_value_variants.variant_id IN (150,151,152,153)) ORDER BY `spree_option_values`.position
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/controllers/spree/admin/images_controller_decorator.rb:8
CACHE Spree::OptionType Load (0.1ms) SELECT `spree_option_types`.* FROM `spree_option_types` WHERE `spree_option_types`.`id` = 3 ORDER BY `spree_option_types`.`position` ASC LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/controllers/spree/admin/images_controller_decorator.rb:8
CACHE Spree::OptionType Load (0.0ms) SELECT `spree_option_types`.* FROM `spree_option_types` WHERE `spree_option_types`.`id` = 3 ORDER BY `spree_option_types`.`position` ASC LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/controllers/spree/admin/images_controller_decorator.rb:8
CACHE Spree::OptionType Load (0.0ms) SELECT `spree_option_types`.* FROM `spree_option_types` WHERE `spree_option_types`.`id` = 3 ORDER BY `spree_option_types`.`position` ASC LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/controllers/spree/admin/images_controller_decorator.rb:8
CACHE Spree::OptionType Load (0.0ms) SELECT `spree_option_types`.* FROM `spree_option_types` WHERE `spree_option_types`.`id` = 3 ORDER BY `spree_option_types`.`position` ASC LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_variant_options-7f044e9f633c/app/controllers/spree/admin/images_controller_decorator.rb:8
[paperclip] Trying to link /tmp/RackMultipart20181001-9688-x2hbk0.jpg to /tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg
[paperclip] Trying to link /tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg to /tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-ksp91r.jpg
Command :: file -b --mime '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-ksp91r.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]' 2>/dev/null
Command :: identify -format %m '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]'
Command :: convert '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]' -auto-orient -resize "48x48>" -quality 75 -strip -interlace Plane -auto-orient -colorspace sRGB '/tmp/adb11a439fc1b50154b82964aa842da620181001-9688-1vgfq98'
[paperclip] Trying to link /tmp/adb11a439fc1b50154b82964aa842da620181001-9688-1vgfq98 to /tmp/ccb09376d21a4e6f8bad35b6db376abc20181001-9688-1fvgyja
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]' 2>/dev/null
Command :: identify -format %m '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]'
Command :: convert '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]' -auto-orient -resize "135x135" -background white -gravity center -extent 135x140 -quality 75 -strip -interlace Plane -auto-orient -colorspace sRGB '/tmp/adb11a439fc1b50154b82964aa842da620181001-9688-18phcl5'
[paperclip] Trying to link /tmp/adb11a439fc1b50154b82964aa842da620181001-9688-18phcl5 to /tmp/612c8b47dcad8a85e33245f3f6603beb20181001-9688-3rm65p
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]' 2>/dev/null
Command :: identify -format %m '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]'
Command :: convert '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]' -auto-orient -resize "370x370" -background white -gravity center -extent 385x390 -quality 75 -strip -interlace Plane -auto-orient -colorspace sRGB '/tmp/adb11a439fc1b50154b82964aa842da620181001-9688-slobyc'
[paperclip] Trying to link /tmp/adb11a439fc1b50154b82964aa842da620181001-9688-slobyc to /tmp/27a4a3f84ff018a0ae65b902e05554d920181001-9688-iz8zn0
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]' 2>/dev/null
Command :: identify -format %m '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]'
Command :: convert '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]' -auto-orient -resize "600x600" -background white -gravity center -extent 625x625 -quality 75 -strip -interlace Plane -auto-orient -colorspace sRGB '/tmp/adb11a439fc1b50154b82964aa842da620181001-9688-olh1c9'
[paperclip] Trying to link /tmp/adb11a439fc1b50154b82964aa842da620181001-9688-olh1c9 to /tmp/9cb4f016f2aaee3efeccb1c63d5fbb3820181001-9688-1iellnl
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]' 2>/dev/null
Command :: identify -format %m '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]'
Command :: convert '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]' -auto-orient -resize "1600" -quality 75 -strip -interlace Plane -auto-orient -colorspace sRGB '/tmp/adb11a439fc1b50154b82964aa842da620181001-9688-126pavv'
[paperclip] Trying to link /tmp/adb11a439fc1b50154b82964aa842da620181001-9688-126pavv to /tmp/fd463e443d7e5e4dcdf0abd75f3634e020181001-9688-yk8fyx
(0.6ms) BEGIN
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/resource_controller.rb:48
[paperclip] Trying to link /tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg to /tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-1wxdj7b.jpg
Command :: file -b --mime '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-1wxdj7b.jpg'
[paperclip] Trying to link /tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg to /tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-layxqs.jpg
Command :: file -b --mime '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-layxqs.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/9e30c249f1f20c20cad11d86278d63f320181001-9688-im04gv.jpg[0]' 2>/dev/null
Spree::Asset Load (1.4ms) SELECT `spree_assets`.* FROM `spree_assets` WHERE `spree_assets`.`viewable_id` IS NULL AND `spree_assets`.`viewable_type` = 'Spree::Variant' AND (`spree_assets`.`position` IS NOT NULL) ORDER BY `spree_assets`.`position` DESC LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/resource_controller.rb:48
Spree::Image Create (1.0ms) INSERT INTO `spree_assets` (`viewable_type`, `attachment_width`, `attachment_height`, `attachment_file_size`, `position`, `attachment_content_type`, `attachment_file_name`, `type`, `attachment_updated_at`, `alt`, `created_at`, `updated_at`) VALUES ('Spree::Variant', 5184, 3456, 4747448, 10, 'image/jpeg', 'netty.jpg', 'Spree::Image', '2018-10-01 23:30:36', 'alt', '2018-10-01 23:30:46', '2018-10-01 23:30:46')
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/resource_controller.rb:48
(1.0ms) COMMIT
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/resource_controller.rb:48
Redirected to http://0.0.0.0:3000/admin/products/pech-mangal-vesta/images
Completed 302 Found in 10767ms (ActiveRecord: 23.3ms)
Started GET "/admin/products/pech-mangal-vesta/images" for 127.0.0.1 at 2018-10-01 16:30:47 -0700
Processing by Spree::Admin::ImagesController#index as HTML
Parameters: {"product_id"=>"pech-mangal-vesta"}
Spree::Preference Load (0.8ms) SELECT `spree_preferences`.* FROM `spree_preferences` WHERE `spree_preferences`.`key` = 'spree/backend_configuration/locale' LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/preferences/store.rb:50
Spree::User Load (0.9ms) 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
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_auth_devise-f155d176565f/lib/spree/authentication_helpers.rb:11
Spree::Role Load (0.9ms) SELECT `spree_roles`.* FROM `spree_roles` INNER JOIN `spree_role_users` ON `spree_roles`.`id` = `spree_role_users`.`role_id` WHERE `spree_role_users`.`user_id` = 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/concerns/spree/user_methods.rb:36
Spree::Product Load (0.8ms) SELECT `spree_products`.* FROM `spree_products` WHERE `spree_products`.`deleted_at` IS NULL AND `spree_products`.`slug` = 'pech-mangal-vesta' LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:21
SQL (2.1ms) SELECT `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`.`discontinue_on` AS t0_r15, `spree_variants`.`created_at` AS t0_r16, `spree_assets`.`id` AS t1_r0, `spree_assets`.`viewable_type` AS t1_r1, `spree_assets`.`viewable_id` 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` = 'Spree::Variant' WHERE `spree_variants`.`deleted_at` IS NULL AND `spree_assets`.`type` IN ('Spree::Image') AND `spree_variants`.`product_id` = 102 ORDER BY `spree_variants`.`position` ASC, `spree_assets`.`position` ASC
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:21
Spree::Variant Load (0.8ms) SELECT `spree_variants`.* FROM `spree_variants` WHERE `spree_variants`.`deleted_at` IS NULL AND `spree_variants`.`id` = 149
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:21
Spree::OptionValueVariant Load (0.9ms) SELECT `spree_option_value_variants`.* FROM `spree_option_value_variants` WHERE `spree_option_value_variants`.`variant_id` = 149
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/controllers/spree/admin/images_controller.rb:21
Deface: 4 overrides found for 'spree/layouts/admin'
Deface: 'include_rich_text_js' matched 1 times with '[data-hook="admin_footer_scripts"]'
Deface: [WARNING] No :original defined for 'include_rich_text_js', you should change its definition to include:
:original => 'e004c3e716cca1f673d5142bdd7c16dc2dc5b403'
Deface: 'add_secondary_carousels_to_admin_menu' matched 1 times with '[data-hook="admin_tabs"]'
Deface: [ERROR] The original source for 'add_secondary_carousels_to_admin_menu' has changed, this override should be reviewed to ensure it's still valid.
Deface: 'add_hero_carousels_to_admin_menu' matched 1 times with '[data-hook="admin_tabs"]'
Deface: [ERROR] The original source for 'add_hero_carousels_to_admin_menu' has changed, this override should be reviewed to ensure it's still valid.
Deface: 'blog_admin_tabs' matched 1 times with '#main-sidebar'
Deface: [WARNING] No :original defined for 'blog_admin_tabs', you should change its definition to include:
:original => '67150b4dd391f154f838b76a572c0b3b3ca4e175'
Rendering /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/images/index.html.erb within spree/layouts/admin
Deface: 2 overrides found for 'spree/admin/shared/_product_tabs'
Deface: 'add_related_products_admin_tab' matched 1 times with '[data-hook="admin_product_tabs"]'
Deface: [WARNING] No :original defined for 'add_related_products_admin_tab', you should change its definition to include:
:original => 'e9b22738865544719506f412c00bf3b061a866ba'
Deface: 'add_variant_properties_to_product_tabs' matched 1 times with '[data-hook='admin_product_tabs']'
Deface: [WARNING] No :original defined for 'add_variant_properties_to_product_tabs', you should change its definition to include:
:original => 'e76d7354a1c78ad25ae37d266d59c4c917b92f0f'
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/_product_tabs.html.erb (7.4ms)
Spree::Variant Exists (1.4ms) SELECT 1 AS one FROM `spree_variants` WHERE `spree_variants`.`deleted_at` IS NULL AND `spree_variants`.`product_id` = 102 AND `spree_variants`.`is_master` = FALSE LIMIT 1
↳ app/models/spree/product.rb:133
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/images/index.html.erb within spree/layouts/admin (59.4ms)
Spree::Preference Load (1.0ms) SELECT `spree_preferences`.* FROM `spree_preferences` WHERE `spree_preferences`.`key` = 'spree/app_configuration/admin_path' LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/preferences/store.rb:50
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/views/spree/shared/_paths.html.erb (5.0ms)
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/_translations.html.erb (22.1ms)
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/_head.html.erb (1687.4ms)
Deface: 1 overrides found for 'spree/admin/shared/_header'
Deface: 'auth_admin_login_navigation_bar' matched 0 times with '[data-hook='admin_login_navigation_bar'], #admin_login_navigation_bar[data-hook]'
Spree::Preference Load (0.9ms) SELECT `spree_preferences`.* FROM `spree_preferences` WHERE `spree_preferences`.`key` = 'spree/app_configuration/admin_interface_logo' LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/preferences/store.rb:50
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/_account_nav.html.erb (5.0ms)
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/_header.html.erb (48.7ms)
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/sub_menu/_returns.html.erb (3.8ms)
Deface: 1 overrides found for 'spree/admin/shared/sub_menu/_product'
Deface: 'add_product_relation_admin_sub_menu_tab' matched 1 times with '[data-hook="admin_product_sub_tabs"]'
Deface: [WARNING] No :original defined for 'add_product_relation_admin_sub_menu_tab', you should change its definition to include:
:original => '5c6807c2920b4280184cbdf867b7ba98e41b576f'
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/sub_menu/_product.html.erb (8.8ms)
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/sub_menu/_promotion.html.erb (3.2ms)
Spree::Store Load (0.8ms) SELECT `spree_stores`.* FROM `spree_stores` WHERE (url like '%0.0.0.0%') ORDER BY `spree_stores`.`id` ASC LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/store.rb:18
Spree::Store Load (1.0ms) SELECT `spree_stores`.* FROM `spree_stores` WHERE `spree_stores`.`default` = TRUE ORDER BY `spree_stores`.`id` ASC LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/store.rb:24
Deface: 1 overrides found for 'spree/admin/shared/sub_menu/_configuration'
Deface: 'add_rich_editor_tab' matched 1 times with '[data-hook="admin_configurations_sidebar_menu"]'
Deface: [WARNING] No :original defined for 'add_rich_editor_tab', you should change its definition to include:
:original => '0faac568db7e03f5705d3f86553d21a58bda03aa'
Spree::Preference Load (0.9ms) SELECT `spree_preferences`.* FROM `spree_preferences` WHERE `spree_preferences`.`key` = 'spree/app_configuration/default_country_id' LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/preferences/store.rb:50
Spree::Country Load (0.6ms) SELECT `spree_countries`.* FROM `spree_countries` WHERE `spree_countries`.`id` = 190 LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/sub_menu/_configuration.html.erb:9
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/sub_menu/_configuration.html.erb (26.0ms)
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/_main_menu.html.erb (196.7ms)
Spree::Preference Load (0.8ms) SELECT `spree_preferences`.* FROM `spree_preferences` WHERE `spree_preferences`.`key` = 'spree/app_configuration/admin_show_version' LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/preferences/store.rb:50
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/_version.html.erb (3.5ms)
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/_content_header.html.erb (1.4ms)
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/backend/app/views/spree/admin/shared/_sidebar.html.erb (0.7ms)
Spree::Preference Load (0.8ms) SELECT `spree_preferences`.* FROM `spree_preferences` WHERE `spree_preferences`.`key` = 'spree/editor_setting/enabled' LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/preferences/store.rb:50
Spree::Preference Load (0.6ms) SELECT `spree_preferences`.* FROM `spree_preferences` WHERE `spree_preferences`.`key` = 'spree/editor_setting/current_editor' LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/preferences/store.rb:50
Spree::Preference Load (0.7ms) SELECT `spree_preferences`.* FROM `spree_preferences` WHERE `spree_preferences`.`key` = 'spree/editor_setting/ids' LIMIT 1
↳ /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree-ad5715aad414/core/app/models/spree/preferences/store.rb:50
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_editor-c3d147ac19ba/app/views/shared/editor_engines/_ck_editor.html.erb (38.2ms)
Rendered /home/stas/.rvm/gems/ruby-2.3.7/bundler/gems/spree_editor-c3d147ac19ba/app/views/shared/_rich_editor_javascript.html.erb (67.6ms)
Completed 200 OK in 2368ms (Views: 2294.7ms | ActiveRecord: 16.6ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment