title: How to generate a model after running a migration on rails
body: <p>I have created a migration file as follows before generating a model , viewer or a controller</p>
  
  <pre><code>class Papaers &lt; ActiveRecord::Migration
    def self.up
     create_table :papers do |t|
     t.integer :unit_id, :null=&gt;false
     t.integer :document_id, :null=&gt;false
     t.timestamps
   end
  end
  
   def self.down
     drop_table :papers
   end
  end
  </code></pre>
  
  <p>This ran well and it create the table. But now I want to create a model for this table. Is there  a way in rails to create a model after running migration files? I could not see any model generated under papers in model.</p>