Search code examples
ruby-on-railsscaffolding

Re-Generating Scaffold


Is there any way to re-generate views from newly updated model?


Solution

  • Unless you've made a lot of changes to the scaffold, it's probably easier just to overwrite the current scaffold:

    ./script/generate -f scaffold Model