views:

23

answers:

2

Hi ppl,

I am having this bizarre error and I don't know what to do.

This code runs fine on my development and staging machine but crashes on production.

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

Error message: interning empty string

Exception class: ArgumentError

Full Stack trace: Code

Sorry for this short description, but this is all that i am able to show to you. =/

Thank you.

+2  A: 

This could be because you have an invalid filename for a partial (a filename with two consecutive zeros).

For example

_partial..html.erb (invalid)

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

Gdeglin
thanks for your rapid response, but unfortunately my partials are fine. =(I am installing ruby-debug now. I hope it can help me figure out what is wrong. =)
Leandro
A: 

Hi all!

I discovered what I did wrong. Thanks Gdeglin's help!

I had a partial named _.html.erb. I removed it and everything started to work. =D

Cya!

Leandro
Don't answer a question. Use comments instead.
Laykes