How to generate a scaffold around existing resource without losing existing code/files/columns?

228 Views Asked by At

Instead of starting a new rails app from scratch, I built it from a template (that automatically generates the User table with various things already set up - login/password reset, a few other things).

If I want to achieve the effect of rails g scaffold User .. but without overwriting anything that's already been set up (via the template), is there any easy way to do that? That is, rails g scaffold User should only add to code / files / columns, but not overwrite anything.

Is there any easy way to do this?

0

There are 0 best solutions below