Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hostname:
- 38816a7a86bc
- Exception:
- ActiveRecord::StatementInvalid
- Message:
- PG::UndefinedTable: ERROR: missing FROM-clause entry for table "email" LINE 1: SELECT "users".* FROM "users" WHERE "email"."company_stati... ^ : SELECT "users".* FROM "users" WHERE "email"."company_statistics_notifications_emails" = 'volodina@ek.apress.ru,belyakova@ek.apress.ru,evdokimov@ek.apress.ru' AND "email"."reports_receivers_sites_dynamics" = 'kuzminskaya@ek.apress.ru,reshetnikov@ek.apress.ru,grebenschikova@ek.apress.ru' AND "email"."old_products_period_of_aging" = '90' AND "email"."demand_source_delivery_id" = '300' AND "email"."import_notifications_emails" = 'volodina@ek.apress.ru,klochkov@ek.apress.ru,belyakova@ek.apress.ru,evdokimov@ek.apress.ru,kogai@ek.apress.ru,shipaev@ek.apress.ru,reshetnikov@ek.apress.ru' AND "email"."mail_deliveries_notifications_emails" = 'bratceva@ek.apress.ru,klochkov.artem@gmail.com' AND "email"."redirect_referer_exception_domains" = 'satu.kz;*.satu.kz;test-pulscen.ru;prom.ua;*.prom.ua;tiu.ru;*.tiu.ru;deal.by;*.deal.by;prom.md;*.prom.md;negociol.com;*.negociol.com;ticiz.com;*.ticiz.com;dk.ru;*.dk.ru;yapokupayu.ru;*.yapokupayu.ru;blizko.ru;*.blizko.ru;' AND "email"."default_template_scheme_id" = '60287' AND "email"."default_template_scheme_name" = 'gray' AND "email"."default_template_name" = 'modern' AND "email"."eti_scenario_editors" = 'eti@ya.ru' AND "email"."copy_demand_delivery_user_emails" = 'ymash24@mail.ru,podkorytova-ms@ek.apress.ru,zhdanova-nv@ek.apress.ru,parlament_light@mail.ru,evdokimovalexey@yandex.ru,krevkoabak@gmail.com' AND "email"."help_user_email" = 'tolstova@ek.apress.ru' AND "email"."telegram_orders_order_callback_created_to_customer" = 'Вам поступил заказ %{order_id} на обратный звонок. Подробности в личном кабинете: http://www.pulscen.ru/dashboard/customer/orders' AND "email"."viber_orders_order_callback_created_to_customer" = 'Вам поступил заказ %{order_id} на обратный звонок. Подробности в личном кабинете: http://www.pulscen.ru/dashboard/customer/orders' AND "email"."viber_orders_order_status_changed_to_customer" = 'Статус вашего заказа %{order_id} был изменен. Узнать подробности вы можете в личном кабинете: http://www.pulscen.ru/dashboard/customer/orders' AND "email"."viber_orders_message_created_to_customer" = 'На ваш заказ номер %{order_id} поступил новый комментарий. Прочитать комментарий и ответить на него вы можете в личном кабинете: http://www.pulscen.ru/dashboard/customer/orders' AND "email"."telegram_orders_order_status_changed_to_customer" = 'Статус вашего заказа %{order_id} был изменен. Узнать подробности вы можете в личном кабинете: http://www.pulscen.ru/dashboard/customer/orders' AND "email"."telegram_orders_message_created_to_customer" = 'На ваш заказ номер %{order_id} поступил новый комментарий. Прочитать комментарий и ответить на него вы можете в личном кабинете: http://www.pulscen.ru/dashboard/customer/orders' AND "email"."telegram_orders_order_created_to_customer" = 'Ваш заказ номер %{order_id} успешно отправлен поставщику. Отредактировать заказ или добавить комментарий вы можете в личном кабинете: http://www.pulscen.ru/dashboard/customer/orders' AND "email"."viber_orders_order_created_to_customer" = 'Ваш заказ номер %{order_id} успешно отправлен поставщику. Отредактировать заказ или добавить комментарий вы можете в личном кабинете: http://www.pulscen.ru/dashboard/customer/orders' AND "email"."promo_company_domain" = 'site-1' AND "email"."chat_company_ids" = '99406986' AND "email"."help_company_domain" = 'help' LIMIT 1
- Params:
- ---
- action: megasite
- controller: additional_services
- region: ru
- Trace:
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/postgresql_adapter.rb:798:in `async_exec'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/postgresql_adapter.rb:798:in `exec_no_cache'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/postgresql/database_statements.rb:138:in `block in exec_query'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/abstract_adapter.rb:442:in `block in log'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/abstract_adapter.rb:437:in `log'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/postgresql/database_statements.rb:137:in `exec_query'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/postgresql_adapter.rb:915:in `select'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/abstract/database_statements.rb:25:in `select_all'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/abstract/query_cache.rb:62:in `block in select_all'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/abstract/query_cache.rb:77:in `cache_sql'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/abstract/query_cache.rb:62:in `select_all'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/querying.rb:36:in `find_by_sql'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/relation.rb:587:in `exec_queries'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/relation.rb:471:in `load'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/relation.rb:220:in `to_a'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/relation/finder_methods.rb:316:in `find_take'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/relation/finder_methods.rb:66:in `take'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/relation/finder_methods.rb:49:in `find_by'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/dynamic_matchers.rb:76:in `find_by_email'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/dynamic_matchers.rb:20:in `method_missing'
- /app/app/controllers/additional_services_controller.rb:13:in `support_user'
- /bundle/2.2/gems/actionpack-4.0.13/lib/abstract_controller/helpers.rb:53:in `support_user'
- /app/app/views/additional_services/megasite.html.haml:2:in `_app_views_additional_services_megasite_html_haml___1694977436775918449_167851680'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_view/template.rb:143:in `block in render'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/notifications.rb:161:in `instrument'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_view/template.rb:141:in `render'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/notifications.rb:159:in `block in instrument'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/notifications.rb:159:in `instrument'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_view/renderer/template_renderer.rb:47:in `render_template'
- /bundle/2.2/gems/apress-utils-2.8.0/lib/apress/utils/extensions/content_for_cache.rb:61:in `render_template_with_cached_content_for'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_view/renderer/template_renderer.rb:17:in `render'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_view/renderer/renderer.rb:42:in `render_template'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_view/renderer/renderer.rb:23:in `render'
- /bundle/2.2/gems/actionpack-4.0.13/lib/abstract_controller/rendering.rb:127:in `_render_template'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/streaming.rb:219:in `_render_template'
- /bundle/2.2/gems/actionpack-4.0.13/lib/abstract_controller/rendering.rb:120:in `render_to_body'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/rendering.rb:33:in `render_to_body'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/renderers.rb:26:in `render_to_body'
- /bundle/2.2/gems/actionpack-4.0.13/lib/abstract_controller/rendering.rb:97:in `render'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/rendering.rb:16:in `render'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
- /usr/local/rvm/rubies/ruby-2.2.7/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/core_ext/benchmark.rb:12:in `ms'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
- /bundle/2.2/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/action_controller.rb:12:in `cleanup_view_runtime'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/instrumentation.rb:40:in `render'
- /bundle/2.2/gems/active_scaffold-3.4.41.1/lib/active_scaffold/extensions/action_controller_rendering.rb:14:in `render_with_active_scaffold'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- /bundle/2.2/gems/actionpack-4.0.13/lib/abstract_controller/base.rb:189:in `process_action'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/rendering.rb:10:in `process_action'
- /bundle/2.2/gems/actionpack-4.0.13/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/callbacks.rb:464:in `block in _run__45994149032905787__process_action__callbacks'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/callbacks.rb:212:in `block in _conditional_callback_around_1707'
- /bundle/2.2/bundler/gems/apress-domains-7cdfe84e5e2b/app/controllers/apress/domains/extensions/action_controller.rb:49:in `block in suspend_ssl'
- /bundle/2.2/bundler/gems/apress-domains-7cdfe84e5e2b/lib/apress/domains/ssl.rb:28:in `block in suspend'
- /bundle/2.2/bundler/gems/apress-domains-7cdfe84e5e2b/lib/apress/domains/ssl.rb:40:in `within_active'
- /bundle/2.2/bundler/gems/apress-domains-7cdfe84e5e2b/lib/apress/domains/ssl.rb:28:in `suspend'
- /bundle/2.2/bundler/gems/apress-domains-7cdfe84e5e2b/app/controllers/apress/domains/extensions/action_controller.rb:49:in `suspend_ssl'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/callbacks.rb:211:in `_conditional_callback_around_1707'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/callbacks.rb:433:in `_run__45994149032905787__process_action__callbacks'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/callbacks.rb:80:in `run_callbacks'
- /bundle/2.2/gems/actionpack-4.0.13/lib/abstract_controller/callbacks.rb:17:in `process_action'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/rescue.rb:29:in `process_action'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/notifications.rb:159:in `block in instrument'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/notifications.rb:159:in `instrument'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
- /bundle/2.2/gems/actionpack-4.0.13/lib/abstract_controller/base.rb:136:in `process'
- /bundle/2.2/gems/actionpack-4.0.13/lib/abstract_controller/rendering.rb:44:in `process'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal.rb:195:in `dispatch'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_controller/metal.rb:231:in `block in action'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/routing/route_set.rb:82:in `call'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/routing/route_set.rb:50:in `call'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/routing/mapper.rb:44:in `call'
- /bundle/2.2/bundler/gems/apress-domains-7cdfe84e5e2b/lib/apress/domains/extensions/journey/router.rb:45:in `block in call_with_domains'
- /bundle/2.2/bundler/gems/apress-domains-7cdfe84e5e2b/lib/apress/domains/extensions/journey/router.rb:33:in `each'
- /bundle/2.2/bundler/gems/apress-domains-7cdfe84e5e2b/lib/apress/domains/extensions/journey/router.rb:33:in `call_with_domains'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/routing/route_set.rb:676:in `call'
- /bundle/2.2/bundler/gems/apress-domains-7cdfe84e5e2b/lib/apress/domains/extensions/action_dispatch/route_set.rb:20:in `call_with_multidomain_request'
- /bundle/2.2/bundler/gems/ruby-prof-rails-9266a8f970aa/lib/rack/ruby-prof-rails.rb:14:in `call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/cascade.rb:33:in `block in call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/cascade.rb:24:in `each'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/cascade.rb:24:in `call'
- /bundle/2.2/bundler/gems/rack-insight-9caff7fb8ce1/lib/rack/insight/enable-button.rb:8:in `call'
- /bundle/2.2/bundler/gems/rack-insight-9caff7fb8ce1/lib/rack/insight/app.rb:62:in `call'
- /app/lib/google_bot_aware.rb:25:in `call'
- /bundle/2.2/gems/apress-application-4.12.2/lib/apress/application/middleware/weak_etag.rb:13:in `call'
- /bundle/2.2/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:186:in `call!'
- /bundle/2.2/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:164:in `call'
- /bundle/2.2/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:186:in `call!'
- /bundle/2.2/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:164:in `call'
- /bundle/2.2/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:186:in `call!'
- /bundle/2.2/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:164:in `call'
- /bundle/2.2/gems/omniauth-1.4.2/lib/omniauth/builder.rb:63:in `call'
- /app/lib/middleware/predl_redirect.rb:13:in `call'
- /bundle/2.2/gems/client_side_validations-4.2.12/lib/client_side_validations/middleware.rb:15:in `call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
- /bundle/2.2/gems/apress-utils-2.8.0/lib/apress/utils/extensions/action_dispatch/flash.rb:262:in `call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/middleware/cookies.rb:486:in `call'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/query_cache.rb:36:in `call'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
- /bundle/2.2/gems/activerecord-4.0.13/lib/active_record/migration.rb:373:in `call'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/callbacks.rb:373:in `_run__565251758391055283__call__callbacks'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/callbacks.rb:80:in `run_callbacks'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
- /bundle/2.2/gems/railties-4.0.13/lib/rails/rack/logger.rb:38:in `call_app'
- /bundle/2.2/gems/railties-4.0.13/lib/rails/rack/logger.rb:20:in `block in call'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/tagged_logging.rb:68:in `block in tagged'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/tagged_logging.rb:26:in `tagged'
- /bundle/2.2/gems/activesupport-4.0.13/lib/active_support/tagged_logging.rb:68:in `tagged'
- /bundle/2.2/gems/railties-4.0.13/lib/rails/rack/logger.rb:20:in `call'
- /app/config/initializers/quiet_assets.rb:16:in `call_with_quiet_assets'
- /bundle/2.2/gems/request_store-1.3.1/lib/request_store/middleware.rb:9:in `call'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/middleware/request_id.rb:21:in `call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'
- /bundle/2.2/gems/rack-rewrite-1.5.1/lib/rack/rewrite.rb:24:in `call'
- /bundle/2.2/gems/actionpack-4.0.13/lib/action_dispatch/middleware/static.rb:84:in `call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'
- /bundle/2.2/bundler/gems/webpacker-f47ad2d41566/lib/webpacker/dev_server_proxy.rb:17:in `perform_request'
- /bundle/2.2/gems/rack-proxy-0.6.4/lib/rack/proxy.rb:57:in `call'
- /bundle/2.2/gems/railties-4.0.13/lib/rails/engine.rb:511:in `call'
- /bundle/2.2/gems/railties-4.0.13/lib/rails/application.rb:97:in `call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/lock.rb:17:in `call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/content_length.rb:14:in `call'
- /bundle/2.2/gems/rack-1.5.5/lib/rack/handler/webrick.rb:60:in `service'
- /usr/local/rvm/rubies/ruby-2.2.7/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
- /usr/local/rvm/rubies/ruby-2.2.7/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
- /usr/local/rvm/rubies/ruby-2.2.7/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement