Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Message:
- ERROR: duplicate key value violates unique constraint "related_product_unique" DETAIL: Key (product_id, related_id, category)=(14620616, 14620617, similar) already exists.
- Trace:
- /home/sg/.gem/ruby/2.2.0/gems/apress-utils-2.3.0/lib/apress/utils/extensions/active_record/connection_adapters/postgre_sql_adapter.rb:27:in `async_exec'
- /home/sg/.gem/ruby/2.2.0/gems/apress-utils-2.3.0/lib/apress/utils/extensions/active_record/connection_adapters/postgre_sql_adapter.rb:27:in `exec_no_cache'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/postgresql_adapter.rb:660:in `block in exec_query'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/active_record.rb:67:in `log_with_newrelic_instrumentation'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/postgresql_adapter.rb:659:in `exec_query'
- (eval):9:in `exec_query_with_at_active_record'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:63:in `exec_insert'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/relation.rb:66:in `insert'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:367:in `create'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/timestamp.rb:58:in `create'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:268:in `block in create'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:403:in `_run__1632098737447468923__create__293010875970590195__callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_create_callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:268:in `create'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:348:in `create_or_update'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:264:in `block in create_or_update'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:425:in `_run__1632098737447468923__save__293010875970590195__callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:264:in `create_or_update'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:84:in `save'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/validations.rb:50:in `save'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/attribute_methods/dirty.rb:22:in `save'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:259:in `block (2 levels) in save'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:259:in `block in save'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:270:in `rollback_active_record_state!'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:258:in `save'
- /home/sg/.gem/ruby/2.2.0/gems/active_scaffold-3.3.3/lib/active_scaffold/extensions/unsaved_record.rb:15:in `save_with_unsaved_flag'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/active_record_helper.rb:26:in `block in save'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/transaction.rb:858:in `with_database_metric_name'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent.rb:584:in `with_database_metric_name'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/active_record_helper.rb:25:in `save'
- /home/sg/.gem/ruby/2.2.0/gems/apress-related_products-0.6.0/app/services/apress/related_products/crud_service.rb:91:in `direct_create'
- /home/sg/.gem/ruby/2.2.0/gems/apress-related_products-0.6.0/app/services/apress/related_products/crud_service.rb:74:in `create'
- /home/sg/.gem/ruby/2.2.0/gems/apress-related_products-0.6.0/app/services/apress/related_products/crud_service.rb:53:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/apress-related_products-0.6.0/app/services/apress/related_products/crud_service.rb:29:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/apress-related_products-0.6.0/app/services/apress/related_products/bind_service.rb:52:in `block (2 levels) in call'
- /home/sg/.gem/ruby/2.2.0/gems/apress-related_products-0.6.0/app/services/apress/related_products/bind_service.rb:51:in `each'
- /home/sg/.gem/ruby/2.2.0/gems/apress-related_products-0.6.0/app/services/apress/related_products/bind_service.rb:51:in `block in call'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction'
- /home/sg/.gem/ruby/2.2.0/gems/apress-related_products-0.6.0/app/services/apress/related_products/bind_service.rb:50:in `call'
- /home/sg/sites/sguide/releases/20171024074258/vendor/plugins/core_company_products/app/controllers/core_company_products/products_extensions/edit_actions.rb:124:in `block in update'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction'
- /home/sg/sites/sguide/releases/20171024074258/vendor/plugins/core_company_products/app/controllers/core_company_products/products_extensions/edit_actions.rb:122:in `update'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:167:in `process_action'
- (eval):9:in `process_action_with_at_request'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:702:in `block (2 levels) in _run__1437120807675031727__process_action__1757429360799835819__callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_17028'
- /home/sg/sites/sguide/releases/20171024074258/lib/action_tracker/controller.rb:20:in `set_tracker_context'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_17028'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:701:in `block in _run__1437120807675031727__process_action__1757429360799835819__callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_17027'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:326:in `around'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:310:in `_callback_around_5221'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_17027'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:601:in `_run__1437120807675031727__process_action__1757429360799835819__callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:17:in `process_action'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `block in instrument'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `instrument'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:30:in `block in process_action'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:363:in `perform_action_with_newrelic_trace'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:25:in `process_action'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:121:in `process'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/rendering.rb:46:in `process'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:203:in `dispatch'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:246:in `block in action'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:73:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:36:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/mapper.rb:43:in `call'
- /home/sg/.gem/ruby/2.2.0/bundler/gems/apress-domains-77a051cdb4e3/lib/apress/domains/extensions/journey/router.rb:45:in `block in call_with_domains'
- /home/sg/.gem/ruby/2.2.0/bundler/gems/apress-domains-77a051cdb4e3/lib/apress/domains/extensions/journey/router.rb:33:in `each'
- /home/sg/.gem/ruby/2.2.0/bundler/gems/apress-domains-77a051cdb4e3/lib/apress/domains/extensions/journey/router.rb:33:in `call_with_domains'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:608:in `call'
- /home/sg/.gem/ruby/2.2.0/bundler/gems/apress-domains-77a051cdb4e3/lib/apress/domains/extensions/action_dispatch/route_set.rb:20:in `call_with_multidomain_request'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/cascade.rb:33:in `block in call'
- /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/cascade.rb:24:in `each'
- /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/cascade.rb:24:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/bundler/gems/rack-insight-bd9088de90cd/lib/rack/insight/enable-button.rb:8:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/bundler/gems/rack-insight-bd9088de90cd/lib/rack/insight/app.rb:62:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/rack-cors-0.2.9/lib/rack/cors.rb:54:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/sites/sguide/releases/20171024074258/lib/middleware/google_bot_aware.rb:25:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/oink-0.10.1/lib/oink/middleware.rb:17:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/apress-application-2.33.0/lib/apress/application/middleware/weak_etag.rb:13:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/rack/browser_monitoring.rb:32:in `traced_call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/route_downcaser-1.2.1/lib/route_downcaser/downcase_route_middleware.rb:42:in `_call'
- /home/sg/.gem/ruby/2.2.0/gems/route_downcaser-1.2.1/lib/route_downcaser/downcase_route_middleware.rb:9:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/sites/sguide/releases/20171024074258/lib/middleware/predl_redirect.rb:13:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/head.rb:14:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/flash.rb:242:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:210:in `context'
- /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:205:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/cookies.rb:341:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb:64:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `_run__2502048616900433151__call__293010875970590195__callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/lograge-0.3.0/lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'
- /home/sg/.gem/ruby/2.2.0/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:16:in `block in call'
- /home/sg/.gem/ruby/2.2.0/gems/syslogger-1.6.4/lib/syslogger.rb:144:in `tagged'
- /home/sg/.gem/ruby/2.2.0/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:16:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/request_store-1.3.1/lib/request_store/middleware.rb:9:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/request_id.rb:22:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/methodoverride.rb:21:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/runtime.rb:17:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/lock.rb:15:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/rack-rewrite-1.2.1/lib/rack/rewrite.rb:20:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/static.rb:83:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/sites/sguide/releases/20171024074258/lib/middleware/ensure_encoding.rb:22:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/railties-3.2.22.5/lib/rails/engine.rb:484:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/railties-3.2.22.5/lib/rails/application.rb:231:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/railties-3.2.22.5/lib/rails/railtie/configurable.rb:30:in `method_missing'
- /home/sg/.gem/ruby/2.2.0/gems/newrelic_rpm-3.17.1.326/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'
- /home/sg/.gem/ruby/2.2.0/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:531:in `process_client'
- /home/sg/.gem/ruby/2.2.0/gems/unicorn-4.3.1/lib/unicorn/oob_gc.rb:60:in `process_client'
- /home/sg/.gem/ruby/2.2.0/gems/unicorn-worker-killer-0.4.3/lib/unicorn/worker_killer.rb:52:in `process_client'
- /home/sg/.gem/ruby/2.2.0/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:606:in `worker_loop'
- /home/sg/.gem/ruby/2.2.0/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:487:in `spawn_missing_workers'
- /home/sg/.gem/ruby/2.2.0/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:137:in `start'
- /usr/lib64/ruby/gems/2.2.0/gems/unicorn-5.1.0/bin/unicorn_rails:209:in `<top (required)>'
- /usr/bin/unicorn_rails:9:in `load'
- /usr/bin/unicorn_rails:9:in `<main>'
- Params:
- ---
- utf8: "✓"
- _method: put
- authenticity_token: Kje3KE9hi3d5c/BXmjAwEio0+gxArQxhhtVfTmnXXHE=
- product:
- name: "Питательный батончик глазированный «Ванильный»"
- price: '136.000'
- currency: '3'
- measure_unit_id: ''
- price_max: '0'
- is_exact_price: 'true'
- is_discount: 'false'
- images_attributes:
- - id: '27442052'
- position: 1
- comment: ''
- _destroy: '0'
- label: without_type
- product_group_id: '594205'
- rubric_id: '194814'
- rubric_l4_priority: '0'
- rubric_l5_priority: '0'
- announce: "Энергия, сытость и минимум калорий со вкусом ванили. Ваш идеальный перекус
- в течение дня."
- description: "
- Питательные батончики занимают ведущее место в рейтинге перекусов
- по питательности и низкокалорийности. Они идеальны по форме и содержанию. C ними
- Вы получите все необходимое: энергию, сытость, минимум калорий. А также важные
- нутриенты: белок, аминокислоты, витамины и клетчатку.
- \r\n\r\n
- Возьмите
- батончик с собой, выходя из дома, и проблема перекусов в офисе, в школе или институте
- будет решена!
- \r\n\r\n
- Пищевая ценность в 100 г сухого продукта (средние
- значения): белки – 4 г, жиры – 11 г, углеводы – 46
- г Энергетическая ценность: 240 ккал.
- \r\n\r\n
- Действие:
- \r\n\r\n
- -
- L-карнитин в составе батончиков способствует замедлению образования жира;
- \r\n\r\n
- -
- гидролизат коллагена способствует укреплению связок и суставов, повышению упругости
- кожи, улучшению структуры волос и ногтей;
- \r\n\r\n
- - пшеничные волокна надолго
- обеспечивают чувство насыщения, способствуют снижению уровня холестерина и сахара
- в крови.
- \r\n\r\n
- Состав: вода, патока, подсластитель «Аспасвит»,
- ароматизатор «Ваниль», витаминный комплекс (C, B1, B6, E, B12, B2,
- B3, H), L-карнитин, минеральный комплекс (цитрат калия, цитрат натрия, лактат
- кальция, карбонат магния, бензоат натрия, сорбат калия), пшеничные волокна, кокосовая
- стружка, сыворотка, изолят соевого белка, концентрат соевого белка 80%, гидролизат
- коллагена, мальтодекстрин, изюм, шоколадная глазурь.
- \r\n"
- exists: available
- trait_products_attributes:
- '1000':
- trait_id: '30248'
- '1001':
- trait_id: '30248'
- '1002':
- trait_id: '30248'
- '1003':
- trait_id: '30248'
- '1004':
- trait_id: '30249'
- '1005':
- trait_id: '30249'
- '1006':
- trait_id: '30249'
- '1007':
- trait_id: '30249'
- article: '820012'
- page_title: ''
- show_on_homepage: '0'
- offer_ids: []
- price-type-14620616: exact_price_14620616
- undefined: ''
- company_traits:
- traits:
- - name: ''
- values:
- - value: ''
- related_products:
- attendant_0:
- related_id: '14620600'
- position: '1'
- category: attendant
- _destroy: ''
- related:
- name: "Полезные Смарт конфеты «Банан»"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620600-poleznyye_smart_konfety_banan
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/036_thumb.jpg
- attendant_1:
- related_id: '14620602'
- position: '2'
- category: attendant
- _destroy: ''
- related:
- name: "ПолезныеСмарт конфеты «Молоко»"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620602-poleznyyesmart_konfety_moloko
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/038_thumb.jpg
- attendant_2:
- related_id: '14620603'
- position: '3'
- category: attendant
- _destroy: ''
- related:
- name: "Полезные Смарт конфеты «Клубника»"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620603-poleznyye_smart_konfety_klubnika
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/039_thumb.jpg
- attendant_3:
- related_id: '14620590'
- position: '4'
- category: attendant
- _destroy: ''
- related:
- name: "Крем-суп с брокколи"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620590-krem_sup_s_brokkoli
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/026_thumb.jpg
- attendant_4:
- related_id: '14620591'
- position: '5'
- category: attendant
- _destroy: ''
- related:
- name: "Крем-суп томатный"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620591-krem_sup_tomatny
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/028_thumb.jpg
- attendant_5:
- related_id: '14620592'
- position: '6'
- category: attendant
- _destroy: ''
- related:
- name: "Крем-суп куриный"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620592-krem_sup_kuriny
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/721_thumb.jpg
- attendant_6:
- related_id: '14620594'
- position: '7'
- category: attendant
- _destroy: ''
- related:
- name: "Крем-суп грибной"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620594-krem_sup_gribnoy
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/708_thumb.jpg
- attendant_7:
- related_id: '14620608'
- position: '8'
- category: attendant
- _destroy: ''
- related:
- name: "Белковый коктейль"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620608-belkovy_kokteyl_240_g
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/044_thumb.jpg
- attendant_8:
- related_id: '14620609'
- position: '9'
- category: attendant
- _destroy: ''
- related:
- name: "Протеиновый коктейль «Ваниль»"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620609-pitatelny_kokteyl_vanil_550_g_18_portsi
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/046_thumb.jpg
- attendant_9:
- related_id: '14620610'
- position: '10'
- category: attendant
- _destroy: ''
- related:
- name: "Протеиновый коктейль «Экзотические фрукты»"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620610-pitatelny_kokteyl_ekzoticheskiye_frukty_550_g_18_portsi
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/045_thumb.jpg
- attendant_10:
- related_id: '14620614'
- position: '11'
- category: attendant
- _destroy: ''
- related:
- name: "Протеиновый коктейль «Зеленый кофе»"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620614-pitatelny_kokteyl_zeleny_kofe_550_g_18_portsi
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/050_thumb.jpg
- attendant_11:
- related_id: '14692888'
- position: '12'
- category: attendant
- _destroy: ''
- related:
- name: "Белковый коктейль"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14692888-belkovy_kokteyl_240_g
- image:
- url: http://st9.styapokupayu.ru/images/product/027/534/477_thumb.jpg
- attendant_12:
- related_id: '14620615'
- position: '13'
- category: attendant
- _destroy: ''
- related:
- name: "Протеиновый коктейль «Капучино»"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620615-pitatelny_kokteyl_kapuchino_550_g_18_portsi
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/051_thumb.jpg
- similar_0:
- related_id: '14620617'
- position: '1'
- category: similar
- _destroy: ''
- related:
- name: "Питательный батончик глазированный «Экзотические фрукты»"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620617-pitatelny_batonchik_glazirovanny_ekzoticheskiye_frukty_50_g
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/053_thumb.jpg
- similar_1:
- related_id: '14620619'
- position: '2'
- category: similar
- _destroy: ''
- related:
- name: "Питательный батончик глазированный «Шоколадный»"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620619-pitatelny_batonchik_glazirovanny_shokoladny_50_g
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/055_thumb.jpg
- similar_2:
- related_id: '14620620'
- position: '3'
- category: similar
- _destroy: ''
- related:
- name: "Питательный батончик глазированный «Лесная ягода»"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620620-pitatelny_batonchik_glazirovanny_lesnaya_yagoda_50_g
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/056_thumb.jpg
- similar_3:
- related_id: '14620623'
- position: '4'
- category: similar
- _destroy: ''
- related:
- name: "Батончик глазированный «Белковый»"
- url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620623-batonchik_glazirovanny_belkovy_50_g
- image:
- url: http://st9.styapokupayu.ru/images/product/027/442/058_thumb.jpg
- commit: "Сохранить"
- action: update
- controller: products
- company_id: '503871'
- id: 14620616-pitatelny_batonchik_glazirovanny_vanilny_50_g
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement