Error loading application

I have such a strange mistake, and I do not know what to do.

This code works fine on my development and creation machine, but the production crashes.

All I have to do is load the page or call script / server to cause the following error:

Error message: interning an empty string

Exception Class: ArgumentError

Full stack trace: Code

Sorry for this short description, but that’s all I can show you. = /

Thanks.

+4
source share
1 answer

This may be due to the fact that you have an invalid file name for partial (file name with two consecutive zeros).

for instance

_partial..html.erb (invalid) 

This blog post mentions this error: http://anaphoral.blogspot.com/2009/04/rails-interning-empty-string.html

+2
source

Source: https://habr.com/ru/post/1303177/


All Articles