[Ruby] Server Inconsistencies
Jordan Isip
jordanisip at yahoo.com
Sat Oct 13 21:07:21 PDT 2007
Hi All,
I'm having a bit of an issue that is hard to debug since it only occurs on my production server and not on my localhost. About half the time on my production server I get the following error on an instance variable defined within my controller.
ActionView::TemplateError (undefined method `[]' for nil:NilClass) on line #38:
<%= @total_points[caption.id] %>
Then if I hit 'refresh', it will work normally again. I would say this error comes up about 30% of the time. Any ideas on why there would be inconsistencies between the two difference servers?
Thanks in advance for your help.
Jordan
More information about the Ruby
mailing list