'ritual' refers to something the writer has probably described just before this passage, and it could be anything habitual. He/she uses the same pen, or wears the same shirt, or has the same kind of tea. They've done something differently, and they're blaming that fact for their writer's block.
'Dogs' is an extension of the metaphor in the previous sentence, where thoughts are described as wearing collars, like dogs do. The author is saying that for writers, their thoughts are more likely to wander into imaginative terrain, like dogs that wear loose collars and like to slip out of them and run free.