For some reason when I try to access the session object it seems to be returning nil.
This happens mainly in ApplicationController but has also occurred in other controllers too.
"You have a nil object when you didn't expect it! You might have expected an instance of ActiveRecord::Base. The error occurred while evaluating nil.[]" - Error message received when accessing session object.
Does anyone know why this might be happening?