Web Development

Rails allows you to generate models. Rails model generation will also generate a migration file which lets you generate the table and fields on the designated table. This is a normal `Rails generate model`

$ rails g model YourModel
      invoke  active_record
      create    db/migrate/20170507051508_create_your_models.rb
      create    app/models/your_model.rb
      invoke    rspec
      create      spec/models/your_model_spec.rb
      invoke      factory_girl
      create        spec/factories/your_models.rb

To generate a model without a migration file:

$ rails g model YourModel --migration=false
      invoke  active_record
      create    app/models/your_model.rb
      invoke    rspec
      create      spec/models/your_model_spec.rb
      invoke      factory_girl
      create        spec/factories/your_models.rb

The key is to set the --migration to false