On 6 February 2012 13:17, Alexander Kurakin <li...@ruby-forum.com> wrote: > Colin Law wrote in post #1044304: >> 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 > > I'm trying to migrate from 3.0 to 3.1. I didn't change some code yet. > Only Gemfile, and bundle install. It's strange there are no my files in > the trace...
It would have been useful to know that first time round. I don't know the answer in that case. If it happens for a particular view then again you could simplify the view to find out the trouble. I presume you have already googled for the error with rails 3.1 in the search, and so on. 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.