ActionView::TemplateError (stack level too deep) on line #1 of storefront/_producer_summary.html.erb: 1: <div class="cart_shading">Producer: <%= link_to "tee and cakes", store_url(store) %></div> I can''t seem to figure out what might be causing this error. From googling, it looks like this is an error when the template file is compiled and is limited by the system stack. What could I do to decrease the stack level? I imagine this is a db design issue, but that''s kind of a stab in the dark. Thanks, Nik --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Philip Hallstrom
2008-Jun-05 20:24 UTC
Re: ActionView::TemplateError (stack level too deep)
> ActionView::TemplateError (stack level too deep) on line #1 of > storefront/_producer_summary.html.erb: > 1: <div class="cart_shading">Producer: <%= link_to "tee and cakes", > store_url(store) %></div> > > I can''t seem to figure out what might be causing this error. From > googling, it looks like this is an error when the template file is > compiled and is limited by the system stack. What could I do to > decrease the stack level? I imagine this is a db design issue, but > that''s kind of a stab in the dark.What''s your partial look like? Any chance your partial is accidently including itself? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> What''s your partial look like? Any chance your partial is accidently > including itself?It''s a nested partial, but from what I can tell it doesn''t include itself. http://pastie.org/209742 includes: http://pastie.org/209744 --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---