Rails cannot find new scaffold

I’ve created a new scaffold ( ‘table_scaffold’) and placed it in the
‘…/generators/components folder’ next to the scaffold folder. Yet,
when I
run :
./script/generate table_scaffold

Rails says that it cannot find table_scaffold generator.

What am I doing wrong?