R23: In the example, "I rage and dodge," the rage would have ended after the barbarian dodged since it was that same turn in which the barbarian didn't take or do damage.
That's the reason entering a rage is a bonus action. You therefore still have your action in which to attack after raging.