title: Foreign key column is not created (i am using has_one :details in user model and belongs_to :user in details model)
body: <pre><code>class Details &lt; ActiveRecord::Base
    belongs_to :user
  end
  
  class User &lt; ActiveRecord::Base
    has_one :details
  end
  </code></pre>
  
  <p>Im expecting user_id as foreign key column in details table but not created ,any solution ?</p>