Rails model generator without migration

Problem
You want to run the rails model generator to create a new model, but you don’t want the migration for that model as it could be included in another migration (ie grouped together with other tables).

Solution
Just run the generator with the –migration=false option as in:

rails g model ModelName --migration=false