Hello, I’ve changed something in my test application and since I can’t
find the cause of the “stack level too deep” raising on every request.
I’ve removed almost every part of code and the error still occurs, eg
with this url : www.myhost.com/main/index
routes.rb (nothing else in this file)
map.connect ‘:controller/:action/:id’
app/main_controller.rb (nothing else in this file)
class MainController < ApplicationController
layout “common”
def index
end
end
views/main/index.rhtml (nothing else in this file)
I’m here
This is really frustrating, the development.log file contains thousands
of
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in
const_missing' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:189:in
const_missing’
Below the stack trace there is this note :
This error occured while loading the following files:
script/…/config/…/app/controllers/main_controller.rb
Any help appreciated, this is very frustrating…