Advertisement
Guest User

Untitled

a guest
Oct 24th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.48 KB | None | 0 0
  1. Message:
  2. ERROR: duplicate key value violates unique constraint "related_product_unique" DETAIL: Key (product_id, related_id, category)=(14620616, 14620617, similar) already exists.
  3. Trace:
  4. /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'
  5. /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'
  6. /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'
  7. /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'
  8. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  9. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
  10. /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'
  11. /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'
  12. (eval):9:in `exec_query_with_at_active_record'
  13. /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'
  14. /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'
  15. /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'
  16. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/relation.rb:66:in `insert'
  17. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:367:in `create'
  18. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/timestamp.rb:58:in `create'
  19. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:268:in `block in create'
  20. /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'
  21. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
  22. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_create_callbacks'
  23. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
  24. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:268:in `create'
  25. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:348:in `create_or_update'
  26. /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'
  27. /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'
  28. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
  29. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
  30. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
  31. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/callbacks.rb:264:in `create_or_update'
  32. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/persistence.rb:84:in `save'
  33. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/validations.rb:50:in `save'
  34. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/attribute_methods/dirty.rb:22:in `save'
  35. /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'
  36. /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'
  37. /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'
  38. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction'
  39. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
  40. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:259:in `block in save'
  41. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:270:in `rollback_active_record_state!'
  42. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:258:in `save'
  43. /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'
  44. /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'
  45. /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'
  46. /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'
  47. /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'
  48. /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'
  49. /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'
  50. /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'
  51. /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'
  52. /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'
  53. /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'
  54. /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'
  55. /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'
  56. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction'
  57. /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'
  58. /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'
  59. /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'
  60. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/transactions.rb:208:in `transaction'
  61. /home/sg/sites/sguide/releases/20171024074258/vendor/plugins/core_company_products/app/controllers/core_company_products/products_extensions/edit_actions.rb:122:in `update'
  62. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  63. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:167:in `process_action'
  64. (eval):9:in `process_action_with_at_request'
  65. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
  66. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
  67. /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'
  68. /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'
  69. /home/sg/sites/sguide/releases/20171024074258/lib/action_tracker/controller.rb:20:in `set_tracker_context'
  70. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_17028'
  71. /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'
  72. /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'
  73. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:326:in `around'
  74. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:310:in `_callback_around_5221'
  75. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_17027'
  76. /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'
  77. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
  78. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
  79. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
  80. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:17:in `process_action'
  81. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
  82. /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'
  83. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `block in instrument'
  84. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  85. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `instrument'
  86. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  87. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
  88. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  89. /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'
  90. /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'
  91. /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'
  92. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:121:in `process'
  93. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/rendering.rb:46:in `process'
  94. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:203:in `dispatch'
  95. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  96. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:246:in `block in action'
  97. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:73:in `call'
  98. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
  99. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:36:in `call'
  100. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/mapper.rb:43:in `call'
  101. /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'
  102. /home/sg/.gem/ruby/2.2.0/bundler/gems/apress-domains-77a051cdb4e3/lib/apress/domains/extensions/journey/router.rb:33:in `each'
  103. /home/sg/.gem/ruby/2.2.0/bundler/gems/apress-domains-77a051cdb4e3/lib/apress/domains/extensions/journey/router.rb:33:in `call_with_domains'
  104. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:608:in `call'
  105. /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'
  106. /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'
  107. /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/cascade.rb:33:in `block in call'
  108. /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/cascade.rb:24:in `each'
  109. /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/cascade.rb:24:in `call'
  110. /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'
  111. /home/sg/.gem/ruby/2.2.0/bundler/gems/rack-insight-bd9088de90cd/lib/rack/insight/enable-button.rb:8:in `call'
  112. /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'
  113. /home/sg/.gem/ruby/2.2.0/bundler/gems/rack-insight-bd9088de90cd/lib/rack/insight/app.rb:62:in `call'
  114. /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'
  115. /home/sg/.gem/ruby/2.2.0/gems/rack-cors-0.2.9/lib/rack/cors.rb:54:in `call'
  116. /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'
  117. /home/sg/sites/sguide/releases/20171024074258/lib/middleware/google_bot_aware.rb:25:in `call'
  118. /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'
  119. /home/sg/.gem/ruby/2.2.0/gems/oink-0.10.1/lib/oink/middleware.rb:17:in `call'
  120. /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'
  121. /home/sg/.gem/ruby/2.2.0/gems/apress-application-2.33.0/lib/apress/application/middleware/weak_etag.rb:13:in `call'
  122. /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'
  123. /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'
  124. /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'
  125. /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'
  126. /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'
  127. /home/sg/.gem/ruby/2.2.0/gems/route_downcaser-1.2.1/lib/route_downcaser/downcase_route_middleware.rb:42:in `_call'
  128. /home/sg/.gem/ruby/2.2.0/gems/route_downcaser-1.2.1/lib/route_downcaser/downcase_route_middleware.rb:9:in `call'
  129. /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'
  130. /home/sg/sites/sguide/releases/20171024074258/lib/middleware/predl_redirect.rb:13:in `call'
  131. /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'
  132. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  133. /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'
  134. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/head.rb:14:in `call'
  135. /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'
  136. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  137. /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'
  138. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/flash.rb:242:in `call'
  139. /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'
  140. /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:210:in `context'
  141. /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:205:in `call'
  142. /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'
  143. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/cookies.rb:341:in `call'
  144. /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'
  145. /home/sg/.gem/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb:64:in `call'
  146. /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'
  147. /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'
  148. /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'
  149. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  150. /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'
  151. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'
  152. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  153. /home/sg/.gem/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
  154. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  155. /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'
  156. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  157. /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'
  158. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  159. /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'
  160. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  161. /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'
  162. /home/sg/.gem/ruby/2.2.0/gems/lograge-0.3.0/lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'
  163. /home/sg/.gem/ruby/2.2.0/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:16:in `block in call'
  164. /home/sg/.gem/ruby/2.2.0/gems/syslogger-1.6.4/lib/syslogger.rb:144:in `tagged'
  165. /home/sg/.gem/ruby/2.2.0/gems/railties-3.2.22.5/lib/rails/rack/logger.rb:16:in `call'
  166. /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'
  167. /home/sg/.gem/ruby/2.2.0/gems/request_store-1.3.1/lib/request_store/middleware.rb:9:in `call'
  168. /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'
  169. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/request_id.rb:22:in `call'
  170. /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'
  171. /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/methodoverride.rb:21:in `call'
  172. /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'
  173. /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/runtime.rb:17:in `call'
  174. /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'
  175. /home/sg/.gem/ruby/2.2.0/gems/rack-1.4.7/lib/rack/lock.rb:15:in `call'
  176. /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'
  177. /home/sg/.gem/ruby/2.2.0/gems/rack-rewrite-1.2.1/lib/rack/rewrite.rb:20:in `call'
  178. /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'
  179. /home/sg/.gem/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/static.rb:83:in `call'
  180. /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'
  181. /home/sg/sites/sguide/releases/20171024074258/lib/middleware/ensure_encoding.rb:22:in `call'
  182. /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'
  183. /home/sg/.gem/ruby/2.2.0/gems/railties-3.2.22.5/lib/rails/engine.rb:484:in `call'
  184. /home/sg/.gem/ruby/2.2.0/gems/railties-3.2.22.5/lib/rails/application.rb:231:in `call'
  185. /home/sg/.gem/ruby/2.2.0/gems/railties-3.2.22.5/lib/rails/railtie/configurable.rb:30:in `method_missing'
  186. /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'
  187. /home/sg/.gem/ruby/2.2.0/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:531:in `process_client'
  188. /home/sg/.gem/ruby/2.2.0/gems/unicorn-4.3.1/lib/unicorn/oob_gc.rb:60:in `process_client'
  189. /home/sg/.gem/ruby/2.2.0/gems/unicorn-worker-killer-0.4.3/lib/unicorn/worker_killer.rb:52:in `process_client'
  190. /home/sg/.gem/ruby/2.2.0/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:606:in `worker_loop'
  191. /home/sg/.gem/ruby/2.2.0/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:487:in `spawn_missing_workers'
  192. /home/sg/.gem/ruby/2.2.0/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:137:in `start'
  193. /usr/lib64/ruby/gems/2.2.0/gems/unicorn-5.1.0/bin/unicorn_rails:209:in `<top (required)>'
  194. /usr/bin/unicorn_rails:9:in `load'
  195. /usr/bin/unicorn_rails:9:in `<main>'
  196. Params:
  197. ---
  198. utf8: "✓"
  199. _method: put
  200. authenticity_token: Kje3KE9hi3d5c/BXmjAwEio0+gxArQxhhtVfTmnXXHE=
  201. product:
  202. name: "Питательный батончик глазированный «Ванильный»"
  203. price: '136.000'
  204. currency: '3'
  205. measure_unit_id: ''
  206. price_max: '0'
  207. is_exact_price: 'true'
  208. is_discount: 'false'
  209. images_attributes:
  210. - id: '27442052'
  211. position: 1
  212. comment: ''
  213. _destroy: '0'
  214. label: without_type
  215. product_group_id: '594205'
  216. rubric_id: '194814'
  217. rubric_l4_priority: '0'
  218. rubric_l5_priority: '0'
  219. announce: "Энергия, сытость и минимум калорий со вкусом ванили. Ваш идеальный перекус
  220. в течение дня."
  221. description: "
  222. Питательные батончики занимают ведущее место в рейтинге перекусов
  223. по питательности и низкокалорийности. Они идеальны по форме и содержанию. C ними
  224. Вы получите все необходимое: энергию, сытость, минимум калорий. А также важные
  225. нутриенты: белок, аминокислоты, витамины и клетчатку.
  226. \r\n\r\n
  227. Возьмите
  228. батончик с собой, выходя из дома, и проблема перекусов в офисе, в школе или институте
  229. будет решена!
  230. \r\n\r\n
  231. Пищевая ценность в 100 г сухого продукта (средние
  232. значения): белки – 4 г, жиры – 11 г, углеводы – 46
  233. г Энергетическая ценность: 240 ккал.
  234. \r\n\r\n
  235. Действие:
  236. \r\n\r\n
  237. -
  238. L-карнитин в составе батончиков способствует замедлению образования жира;
  239. \r\n\r\n
  240. -
  241. гидролизат коллагена способствует укреплению связок и суставов, повышению упругости
  242. кожи, улучшению структуры волос и ногтей;
  243. \r\n\r\n
  244. - пшеничные волокна надолго
  245. обеспечивают чувство насыщения, способствуют снижению уровня холестерина и сахара
  246. в крови.
  247. \r\n\r\n
  248. Состав: вода, патока, подсластитель «Аспасвит»,
  249. ароматизатор «Ваниль», витаминный комплекс (C, B1, B6, E, B12, B2,
  250. B3, H), L-карнитин, минеральный комплекс (цитрат калия, цитрат натрия, лактат
  251. кальция, карбонат магния, бензоат натрия, сорбат калия), пшеничные волокна, кокосовая
  252. стружка, сыворотка, изолят соевого белка, концентрат соевого белка 80%, гидролизат
  253. коллагена, мальтодекстрин, изюм, шоколадная глазурь.
  254. \r\n"
  255. exists: available
  256. trait_products_attributes:
  257. '1000':
  258. trait_id: '30248'
  259. '1001':
  260. trait_id: '30248'
  261. '1002':
  262. trait_id: '30248'
  263. '1003':
  264. trait_id: '30248'
  265. '1004':
  266. trait_id: '30249'
  267. '1005':
  268. trait_id: '30249'
  269. '1006':
  270. trait_id: '30249'
  271. '1007':
  272. trait_id: '30249'
  273. article: '820012'
  274. page_title: ''
  275. show_on_homepage: '0'
  276. offer_ids: []
  277. price-type-14620616: exact_price_14620616
  278. undefined: ''
  279. company_traits:
  280. traits:
  281. - name: ''
  282. values:
  283. - value: ''
  284. related_products:
  285. attendant_0:
  286. related_id: '14620600'
  287. position: '1'
  288. category: attendant
  289. _destroy: ''
  290. related:
  291. name: "Полезные Смарт конфеты «Банан»"
  292. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620600-poleznyye_smart_konfety_banan
  293. image:
  294. url: http://st9.styapokupayu.ru/images/product/027/442/036_thumb.jpg
  295. attendant_1:
  296. related_id: '14620602'
  297. position: '2'
  298. category: attendant
  299. _destroy: ''
  300. related:
  301. name: "ПолезныеСмарт конфеты «Молоко»"
  302. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620602-poleznyyesmart_konfety_moloko
  303. image:
  304. url: http://st9.styapokupayu.ru/images/product/027/442/038_thumb.jpg
  305. attendant_2:
  306. related_id: '14620603'
  307. position: '3'
  308. category: attendant
  309. _destroy: ''
  310. related:
  311. name: "Полезные Смарт конфеты «Клубника»"
  312. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620603-poleznyye_smart_konfety_klubnika
  313. image:
  314. url: http://st9.styapokupayu.ru/images/product/027/442/039_thumb.jpg
  315. attendant_3:
  316. related_id: '14620590'
  317. position: '4'
  318. category: attendant
  319. _destroy: ''
  320. related:
  321. name: "Крем-суп с брокколи"
  322. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620590-krem_sup_s_brokkoli
  323. image:
  324. url: http://st9.styapokupayu.ru/images/product/027/442/026_thumb.jpg
  325. attendant_4:
  326. related_id: '14620591'
  327. position: '5'
  328. category: attendant
  329. _destroy: ''
  330. related:
  331. name: "Крем-суп томатный"
  332. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620591-krem_sup_tomatny
  333. image:
  334. url: http://st9.styapokupayu.ru/images/product/027/442/028_thumb.jpg
  335. attendant_5:
  336. related_id: '14620592'
  337. position: '6'
  338. category: attendant
  339. _destroy: ''
  340. related:
  341. name: "Крем-суп куриный"
  342. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620592-krem_sup_kuriny
  343. image:
  344. url: http://st9.styapokupayu.ru/images/product/027/442/721_thumb.jpg
  345. attendant_6:
  346. related_id: '14620594'
  347. position: '7'
  348. category: attendant
  349. _destroy: ''
  350. related:
  351. name: "Крем-суп грибной"
  352. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620594-krem_sup_gribnoy
  353. image:
  354. url: http://st9.styapokupayu.ru/images/product/027/442/708_thumb.jpg
  355. attendant_7:
  356. related_id: '14620608'
  357. position: '8'
  358. category: attendant
  359. _destroy: ''
  360. related:
  361. name: "Белковый коктейль"
  362. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620608-belkovy_kokteyl_240_g
  363. image:
  364. url: http://st9.styapokupayu.ru/images/product/027/442/044_thumb.jpg
  365. attendant_8:
  366. related_id: '14620609'
  367. position: '9'
  368. category: attendant
  369. _destroy: ''
  370. related:
  371. name: "Протеиновый коктейль «Ваниль»"
  372. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620609-pitatelny_kokteyl_vanil_550_g_18_portsi
  373. image:
  374. url: http://st9.styapokupayu.ru/images/product/027/442/046_thumb.jpg
  375. attendant_9:
  376. related_id: '14620610'
  377. position: '10'
  378. category: attendant
  379. _destroy: ''
  380. related:
  381. name: "Протеиновый коктейль «Экзотические фрукты»"
  382. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620610-pitatelny_kokteyl_ekzoticheskiye_frukty_550_g_18_portsi
  383. image:
  384. url: http://st9.styapokupayu.ru/images/product/027/442/045_thumb.jpg
  385. attendant_10:
  386. related_id: '14620614'
  387. position: '11'
  388. category: attendant
  389. _destroy: ''
  390. related:
  391. name: "Протеиновый коктейль «Зеленый кофе»"
  392. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620614-pitatelny_kokteyl_zeleny_kofe_550_g_18_portsi
  393. image:
  394. url: http://st9.styapokupayu.ru/images/product/027/442/050_thumb.jpg
  395. attendant_11:
  396. related_id: '14692888'
  397. position: '12'
  398. category: attendant
  399. _destroy: ''
  400. related:
  401. name: "Белковый коктейль"
  402. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14692888-belkovy_kokteyl_240_g
  403. image:
  404. url: http://st9.styapokupayu.ru/images/product/027/534/477_thumb.jpg
  405. attendant_12:
  406. related_id: '14620615'
  407. position: '13'
  408. category: attendant
  409. _destroy: ''
  410. related:
  411. name: "Протеиновый коктейль «Капучино»"
  412. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620615-pitatelny_kokteyl_kapuchino_550_g_18_portsi
  413. image:
  414. url: http://st9.styapokupayu.ru/images/product/027/442/051_thumb.jpg
  415. similar_0:
  416. related_id: '14620617'
  417. position: '1'
  418. category: similar
  419. _destroy: ''
  420. related:
  421. name: "Питательный батончик глазированный «Экзотические фрукты»"
  422. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620617-pitatelny_batonchik_glazirovanny_ekzoticheskiye_frukty_50_g
  423. image:
  424. url: http://st9.styapokupayu.ru/images/product/027/442/053_thumb.jpg
  425. similar_1:
  426. related_id: '14620619'
  427. position: '2'
  428. category: similar
  429. _destroy: ''
  430. related:
  431. name: "Питательный батончик глазированный «Шоколадный»"
  432. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620619-pitatelny_batonchik_glazirovanny_shokoladny_50_g
  433. image:
  434. url: http://st9.styapokupayu.ru/images/product/027/442/055_thumb.jpg
  435. similar_2:
  436. related_id: '14620620'
  437. position: '3'
  438. category: similar
  439. _destroy: ''
  440. related:
  441. name: "Питательный батончик глазированный «Лесная ягода»"
  442. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620620-pitatelny_batonchik_glazirovanny_lesnaya_yagoda_50_g
  443. image:
  444. url: http://st9.styapokupayu.ru/images/product/027/442/056_thumb.jpg
  445. similar_3:
  446. related_id: '14620623'
  447. position: '4'
  448. category: similar
  449. _destroy: ''
  450. related:
  451. name: "Батончик глазированный «Белковый»"
  452. url: http://rodnik-zdorovja.yapokupayu.ru/buy/14620623-batonchik_glazirovanny_belkovy_50_g
  453. image:
  454. url: http://st9.styapokupayu.ru/images/product/027/442/058_thumb.jpg
  455. commit: "Сохранить"
  456. action: update
  457. controller: products
  458. company_id: '503871'
  459. id: 14620616-pitatelny_batonchik_glazirovanny_vanilny_50_g
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement