scaffold does not update view
Posted
by doemsche
on Stack Overflow
See other posts from Stack Overflow
or by doemsche
Published on 2010-06-13T09:22:27Z
Indexed on
2010/06/13
9:32 UTC
Read the original article
Hit count: 144
Hi there
I have a question to the following procedure:
- script/generate scaffold product title:string description:text
- db:migrate
- #then I generate a migration which adds a column description to the table products and migrate the db again.
My question is: why is the field description not added to the project-views? Is that normal rails scaffold behaviour? I think I saw in a video tutorial that the scaffold updates as well the views, which would be very convenient. Thanks in advance for any help!
© Stack Overflow or respective owner