Scaffolding in the Controller (:scaffold) looks at the DB tables on the fly and constructs the index, show and edit forms based on the columns found. If you generate the scaffolding code (./script/ generate scaffold) it writes the current information into the files within the project, so any updates to the DB will not be reflected.
At least that's my recollection. You quickly out grow scaffolding.....
Andrew