Aluminium chloride reacts with calcium and magnesium hydrides in tetrahydrofuran forming tetrahydroaluminates. It might behave the same way with sodium hydride to some extent.
What is possibility of nucleophilic substitution in aldehydes? they are less reactive or inert? any reports for the nucleophilic substitution of aldehydes. especially with carbanion ( of oligomer where carbanion is stabilized by conjugation)
to the best of my knowledge, you can activate first the aldehyde using aluminium chloride ( about 0.5 equivalent) under inert condition and as a solvent, I suggest dry THF. To this rxn solution, you can add carefully the anion solution which also should be under dry conditions to ensure the activity of the generated anion.