 | | Verifique os erros abaixo: | -
actionview::templateerror (pg::connectionbad: connection is closed: select * from "web banner item" where ("web banner item".banner id = 963 and (web banner item.item id is null)) order by web banner item.ordem, web banner item.id) on line #2 of app/views/home/componentes/ bxslider.html.erb:
1:
2: <% componente.itens.each do |item| -%>
3: <% if item.conteudo.blank? -%>
4: <% if item.url.blank? %>
5: <%= image tag imagem banner tag(item) -%>
config/initializers/01 postgres improved.rb:147:in `rescue in select'
config/initializers/01 postgres improved.rb:129:in `select'
app/views/home/componentes/ bxslider.html.erb:2
app/views/home/ componentes.html.erb:2:in `block in run erb app47views47home47 componentes46html46erb locals componentes object'
app/views/home/ componentes.html.erb:1:in `each'
app/views/home/ componentes.html.erb:1
lib/fusion/web/helpers/componentes helper.rb:6:in `processar componentes'
app/views/home/construtor/ secao.html.erb:2
app/views/home/construtor/ conteudo.html.erb:3:in `block in run erb app47views47home47construtor47 conteudo46html46erb locals conteudo fundo object'
app/views/home/construtor/ conteudo.html.erb:1
app/views/home/construtor/ fundo.html.erb:3:in `block in run erb app47views47home47construtor47 fundo46html46erb locals fundo object tipo'
app/views/home/construtor/ fundo.html.erb:1
lib/fusion/web/helpers/construtor helper.rb:19:in `processar corpo'
app/views/layouts/home.html.erb:55
lib/fusion/web/paginas checkout.rb:35:in `carrinho'
app/controllers/home controller.rb:378:in `model transactions'
lib/fusion/rack encoding.rb:10:in `call'
puma (2.8.2) lib/puma/configuration.rb:71:in `call'
puma (2.8.2) lib/puma/server.rb:490:in `handle request'
puma (2.8.2) lib/puma/server.rb:361:in `process client'
puma (2.8.2) lib/puma/server.rb:254:in `block in run'
puma (2.8.2) lib/puma/thread pool.rb:92:in `block in spawn thread'
| |
Verifique os erros abaixo:
ActionView::TemplateError (PG::ConnectionBad: connection is closed: SELECT * FROM "web_banner_item" WHERE ("web_banner_item".banner_id = 963 AND (web_banner_item.item_id IS NULL)) ORDER BY web_banner_item.ordem, web_banner_item.id) on line #2 of app/views/home/componentes/_bxslider.html.erb:
1:
2: <% componente.itens.each do |item| -%>
3: <% if item.conteudo.blank? -%>
4: <% if item.url.blank? %>
5:
<%= image_tag imagem_banner_tag(item) -%>
config/initializers/01_postgres_improved.rb:147:in `rescue in select'
config/initializers/01_postgres_improved.rb:129:in `select'
app/views/home/componentes/_bxslider.html.erb:2
app/views/home/_componentes.html.erb:2:in `block in _run_erb_app47views47home47_componentes46html46erb_locals_componentes_object'
app/views/home/_componentes.html.erb:1:in `each'
app/views/home/_componentes.html.erb:1
lib/fusion/web/helpers/componentes_helper.rb:6:in `processar_componentes'
app/views/home/construtor/_secao.html.erb:2
app/views/home/construtor/_conteudo.html.erb:3:in `block in _run_erb_app47views47home47construtor47_conteudo46html46erb_locals_conteudo_fundo_object'
app/views/home/construtor/_conteudo.html.erb:1
app/views/home/construtor/_fundo.html.erb:3:in `block in _run_erb_app47views47home47construtor47_fundo46html46erb_locals_fundo_object_tipo'
app/views/home/construtor/_fundo.html.erb:1
lib/fusion/web/helpers/construtor_helper.rb:19:in `processar_corpo'
app/views/layouts/home.html.erb:55
lib/fusion/web/paginas_checkout.rb:35:in `carrinho'
app/controllers/home_controller.rb:378:in `model_transactions'
lib/fusion/rack_encoding.rb:10:in `call'
puma (2.8.2) lib/puma/configuration.rb:71:in `call'
puma (2.8.2) lib/puma/server.rb:490:in `handle_request'
puma (2.8.2) lib/puma/server.rb:361:in `process_client'
puma (2.8.2) lib/puma/server.rb:254:in `block in run'
puma (2.8.2) lib/puma/thread_pool.rb:92:in `block in spawn_thread'