Note that there are some explanatory texts on larger screens.

plurals
  1. PORails strange Stack Level Too Deep & Routing Error
    primarykey
    data
    text
    <p>I only get this error in <strong>Development Environtment</strong> after editing some code (any code) and press Refresh to see the changes. </p> <p>Everytime this happens it raises an error says "<strong>Stack Level Too Deep</strong>" then when I refresh the page it agains raise "<strong>Routing Error</strong>". Then I cannot browse any page until I restart the server.</p> <p>I will have to stop Rails server then start it again, then it works until I make changes to the code again.</p> <p>I tried several methods including increase ulimit "ulimit -s" command, but it didn't solve the problem. I searched that this is related to infinite loops but in my case it has nothing to do with the code because the error disappears after I restart the server.</p> <p>Any clues or solutions would be highly appreciated. Thanks.</p> <p>Edited: add routes.rb and stack trace</p> <p>Routes: <a href="http://pastebin.com/YzXyUH35" rel="nofollow">http://pastebin.com/YzXyUH35</a></p> <p>Stack Trace:</p> <pre><code>SystemStackError (stack level too deep): actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:70 Rendered /Users/duy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/duy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /Users/duy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.9ms) </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload