I have a male indian ring neck. (oh, btw...Males don't get the dark ring around their neck until around 2 yrs of age) My bird was DNA tested- that's how I know for sure it's a boy.
I highly recommend that while he/she is in the bluffing stage that you socialize MORE with the bird, take her out of the cage and act like the brattiness doesnt bother you.
My ring neck eats lots of fruits and veggies as snacks. Once a day we give him a bowl of grapes, tomato, cucumber, rice, carrots, broccoli, etc.. all cubed so he can hold it with his foot. He loves it!