A House microphone picked up Hoyer calling McCarthy a "coward" Thursday night.
The rule passed along party lines.
Rep. Bill Flores (R-Texas) said he's heard of schoolchildren being barred from handing out candy canes with Christmas messages.
The No. 2 House Democrat appeared to let his feelings slip too close to the microphone.
Rep. Joaquin Castro's (D-Texas) amendment fell short on a 182-243 vote.
The House is working through amendments to the GOP No Child Left Behind replacement.
Mike Lillis 02/26/15 02:28 PM EST
House Republicans are considering a stopgap bill to keep Homeland Security funded.
The unanimous consent requests failed to advance on the floor.
Rep. Luis Gutierrez (D-Ill.) warned that Republicans are hurting their long-term electoral prospects by opposing President Obama's executive actions.
Speaker Boehner halted floor proceedings to remind members of chamber decorum.