To begin, preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
In a mixing bowl, whisk together the all-purpose flour, baking soda, salt, and ground cinnamon. Set aside.
In a separate large mixing bowl, combine the canola oil, granulated sugar, brown sugar, and vanilla extract. Mix well until the sugars have dissolved and the mixture is smooth.
Add the eggs one at a time, beating well after each addition. Make sure they are at room temperature to ensure even mixing.
Gradually add the dry ingredients to the wet mixture, mixing until just combined. Be careful not to overmix, as this can result in a dense cake.
Fold in the grated carrots, chopped pecans, and raisins, making sure they are evenly distributed throughout the batter.