Rails lib enthält
Ich habe ein rätselhaftes Problem mit Modulen, die im lib-Verzeichnis definiert sind
Ich habe zwei Dateien
#lib/authentication.rb
module Authentication
end
#lib/test_module.rb
module TestModule
end
In meinem Anwendungscontroller habe ich
class ApplicationController < ActionController::Base
include Authentication
include TestModule
end
Das Authentifizierungsmodul wird ordnungsgemäß geladen, das Testmodul jedoch nicht
Ich erhalte "nicht initialisierte Konstante ApplicationController :: TestModule"
Ich bin ratlos ... jemand?
EDIT: Weiß jemand, wo ich nachsehen könnte, um dies zu debuggen?