Michael
Getting memory errors when I try to interact with ActiveRecord models
Seeing the same thing here, however it's working on my machine when I access the railway shell and use rails console, however my colleague is seeing these memalloc errors and are seeing the same error (
FATAL: no PostgreSQL user name specified in startup packet
) pop into the observability panel. Did anyone here manage to find a fix/workaround?
We're using the same version of Railway CLI, and our system environments are a match as well.18 replies
Healthcheck failing - Ruby on Rails
Hello future traveller. If you find your Ruby on Rails application failing your health check, remember to exclude your healthcheck path from your enforced SSL paths, see the below rails docs:
https://edgeapi.rubyonrails.org/classes/ActionDispatch/SSL.html
Which will tell you to put something like this in your environment file (e.g. production.rb) if that link is broken:
19 replies
Healthcheck failing - Ruby on Rails
Hmm an interesting thought. It's a pretty stock-standard rails app - so I don't have anything too fancy. I do enforce access over SSL, and have a middleware that allows clients to pass a header requesting for a response format, but it doesn't require that header. I'll try turning off force SSL and my header middleware and will retry a deploy.
19 replies