0

I'm facing this problem and could not get through by any means. Here is what it keeps saying always:

ActionView::Template::Error (stack level too deep):
    1: $('#workflow_selection').html("<%=j render "show_workflow_list" %>");
  app/views/deployment_group/show_workflow_list.js.erb:1:in `_app_views_deployment_group_show_workflow_list_js_erb___1968905592_2026'

Whenever it comes across <%= %>, in almost all the cases, it says that stack level is too deep. I removed all these <%= %> and copy pasted a HTML code instead. Now the view renders fine and to go to another view, it should take the help of this js.erb file. And now it says stack level too deep here.

Any suggestion or help in this regard will be very helpful to me, Thanks

Update

Link to the same kind of error with a normal code - link Most probably im missing something the vendor folder or some gem or some 'require' in the application. Someone who had already worked on deploying a rails application on tcserver will definitely know this

4

1 に答える 1

0

show_workflow_list 内で show_workflow_list をレンダリングしているため、レンダリングの無限ループが発生しています。そのため、スタック レベルが深すぎます。

于 2012-08-14T17:56:23.090 に答える