The Republican Party in Virginia is going to require an "oath of allegiance" from anyone voting in their primaries, swearing that they will vote for the Republican candidate in the general election. Probably to stop Democrats and Independents from voting for Ron Paul.
Pledge of Allegiance - The Opinionator - Opinion - New York Times Blog
Approved by the state board of election, but unlikely to be enforceable. (or legal, even)