I had a similar boss once, in a refrigeration job. I revisited a walk-in cooler job that he had attempted to fix three times and at the end of the day I told him that the expansion-valve settings had been the cause--and that it was now fixed. (I was proud and excited because it was my first superheat/expansion valve challenge on a large system, and I'd methodically and scientifically undertaken the whole process.)
"That's not it," he said to me. "I quit," I said to him. He asked me why and I told him that I was becoming stupider every day that I worked for him . . . and I was.