Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

234
Vistas
Rails application crashes on production on index page of all resources upon population of data, but works perfectly on local development environment

I have a rails application that works perfectly on development environment but crashes on index page in production, only when there is a record present on the resource.

When there is no record present, the same index page renders just fine. There are no changes on production.log, weirdly enough, even when navigating through the application.

Keep in mind that just the index page crashes, other areas of the application are still accessible when navigating through the url. Also, the resource's new action is able to save and persist the data.

The production server is set up with puma and nginx. There are also no error on Nginx's log, and access log shows proper redirection of the request to the application.

Nginx's access log:

nginx access log

I have also tried to run the application on local environment in production mode, but it crashes on the first login page.

Upon speculation that i might have messed up on i18n setup, I tried to run the application by first removing i18n from the application and secondly by re-configuring i18, both of which didn't present any changes to the problem.

There are no any complicated calculations on index method of controllers of all three resource. I am simply returning all the records in an instance variable, that's it.

I am using RoR-6

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda