I haven't heard reports of any production-only errors. There are several
things that can cause double-rendering, although I don't know why it
wouldn't happen in development.

It's hard to say anything more without seeing code or stack traces.

On Thu, Aug 19, 2010 at 1:17 PM, Serenity <[email protected]> wrote:

> Has anybody run into problems with Haml with Rails 3?
>
> I have two strange behaviors - one is a double-render that is only
> happening when I run rails with -e production.
>
> The other is much bigger, a total crash, also only in production - the
> browser gives me
>
>  500 Internal Server Error
>
>  If you are the administrator of this website, then please read this
> web application's log
>  file and/or the web server's log file to find out what went wrong.
>
> And in the rails log, I get:
>
> Error during failsafe response: can't convert nil into String
>
> There is no mention of haml in the trace, it's just a big rails trace.
> But the crash stops happening if I skip the reference to one of my
> haml partials. Conversely, when I step all the way through the same
> partial in the debugger, I get all the way to the end without any
> problems, but then while I'm still in it, but there is no code left in
> it, and I hit 'next', I find myself in the exception catcher with a
> 'template error' that has no detail to it that I'm able to find.
>
> Has anyone else run into anything like either of these? Again, neither
> occurs without -e production.
>
> Thanks,
> Avram
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to