Stack level too deep error in Ruby on Rails

后端 未结 8 2056
再見小時候
再見小時候 2020-12-16 11:00

I\'m having a stack level too deep error using Ruby 1.8.7 with Rails 3.0.4 and with the rails console I performed the following commands.



        
8条回答
  •  天涯浪人
    2020-12-16 11:55

    I was getting same stack level too deep error & it turns out that the issue was of recurring rendering of a partial.

    I happened to call render a_partial in main view and then in the partial, I accidentally called the same partial again.

    HTH

提交回复
热议问题