Director-screenwriter Judd Apatow has taken a swipe at New Jersey Governor Chris Christie's opposition to gay marriage.

The 45-year-old Apatow called Christie “ridiculous” in response to his decision to appeal a court decision handed down Friday legalizing gay marriage in New Jersey.

(Related: New Jersey judge orders state to allow gay couples to marry.)

Christie on Saturday tweeted a photograph of himself attending a National Foundation for Governors' Fitness Council event surrounded by school-aged children along with the caption, “Thanks to @bodybyjake & @CoCaColaCo. Together we will make a real difference for many kids in New Jersey.”

“Just not gay kids,” Apotow messaged in response. “You are working hard to make sure they have no rights. Despicable. Catch up already. You look ridiculous.”

“@GovChristie lots of politicians have announced that their positions have evolved. Maybe you don't want to be the last person to get it,” he added in a second tweet.

Christie, a possible 2016 candidate for the Republican presidential nomination, argued in the case that it was not New Jersey that was denying gay couples benefits but the federal government by not recognizing the state's civil unions.