On 6 February 2012 12:28, Alexander Kurakin <li...@ruby-forum.com> wrote: > I have an error in my unicorn log... Traces: > > Error during failsafe response: ActionView::Template::Error > /home/hosting_molclub/.gem/ruby/1.9.1/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:11:in > `block in render' > ...' > > And there is 'stack level too deep' in the rails logs. > > What have I do?
You have a recursive loop in your code somewhere. Can you tell anything from the log before the failure? That should tell you what it was trying to render. Perhaps you have a partial calling itself or something like that. If you cannot see it then possibly remove chunks from the view until the problem goes away. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.