The porcupines include the third biggest rodent , after the capybara , and beaver , and are not to be confused with hedgehogs . Porcupines are the third largest of the rodents , behind the capybara and the beaver .