Place an oven rack in the center position and preheat the oven to 350°F (176°C).
Prepare two 9-inch round cake pans by greasing them, lining the bottoms with parchment paper, and greasing the top again. Alternatively, grease and flour both the sides and bottom of the pans.
In a medium-sized bowl, combine the flour, baking soda, salt, and cinnamon. Whisk until thoroughly mixed.
In a separate large bowl, blend the vegetable oil, granulated sugar, brown sugar, and vanilla extract until well mixed.
Add the eggs one at a time, whisking thoroughly after each addition.
Using a large rubber spatula, scrape the sides and bottom of the bowl, then gradually incorporate the dry ingredients in three parts, stirring gently until the mixture is smooth.
Fold in the grated carrots, chopped pecans, and raisins until evenly distributed.
Divide the batter evenly between the prepared cake pans. Bake for 35 to 45 minutes, or until the tops of the cakes are springy to the touch and a toothpick inserted in the center comes out clean.
Allow the cakes to cool in the pans for 15 minutes. Then, carefully transfer the cakes to cooling racks, remove the parchment paper, and cool completely.