title: Rails Migration Generated Join Table Schema But No File
body: <p>I created a join table for a HABTM association in my Rails app. It created the table in the schema, but it never generated a model file in the app. Will it still work? Why did it not generate a file?</p>
  
  <p><strong>Here is my migration:</strong></p>
  
  <pre><code>class CreateBooksAuthorsJoinTable &lt; ActiveRecord::Migration
    def change
      create_table :books_authors, id: false do |t|
        t.integer :book_id
        t.integer :author_id
  
        t.timestamps
      end
    end
  end
  </code></pre>
  
  <p><strong>Models</strong></p>
  
  <pre><code>class Book &lt; ActiveRecord::Base
      has_and_belongs_to_many :feeds
  end
  
  class Author &lt; ActiveRecord::Base
    has_and_belongs_to_many :posts
  end
  </code></pre>