I am trying to create a new Rails Engine app and i succeeded using scaffold,But i had a doubt if anything i want to customize in the controller of particular gem What to do ? Only solution was we can copy the migration files ,so we can know what were the models and tables used .