If it's between the joists, I use a method similar to Tom's, but use 2 pieces of 1/2" drywall for the 1" scrap. I've tried those bars like Rich & they were a time consuming PITA. If it's near a joist I use a HD bracket box against the joist, and if it centers on the joist I use a ceiling fan pan.

Dave