Hi Larry,
A deadline is going to take me away from this for a few days, but I'll
do some step-by-step testing soon.
Sure is odd!
I clear sessions, start the app, go to the home page, click the login
link, type in name & password and it bombs when I submit.
Happens in dev mode and production.
There is a before_filter in the application controller. Something in
there may be upsetting things.
I added 'unloadable' to each of Goldberg's controllers which seems
(after a pretty cursory check) to have resolved the
'ApplicationController removed' errors.
Inspired by this post:
http://nerbie69.blogspot.com/2008/12/solved-applicationcontroller-has-been.html
Other changes I have made are probably not of general use to everyone,
they are quick, rough hacks:
- In AuthController I commented out
# session[:goldberg][:menu_history][session[:goldberg][:path]] =
# session[:goldberg][:menu_item]
as I didn't seem to need the history and my session data was growing
pretty large.
- In filters.rb check_not_expired, I changed
format.js do
render :status => 400, :text =>
Goldberg.settings.session_expired_page.content_html
end
to
format.js do
render :update do |page|
page.redirect_to Goldberg.settings.session_expired_page.url
end
because the expired message was being swallowed by the browser so it
looked like the app wasn't returning.
James