Hi,
In the associations rails guide, two sections give code examples on a typical migration for has_and_belongs_to_many association. The first one is here, and the second code snippet is here. The second code snippet mentions that you must pass id: false to the create_table method because the join table is not a model; it goes on to say that without this things could break. The first code snippet makes no mention of this. If this is a doc bug, let me know how and I’d like to help fix it (either commit or pull request method). For what it’s worth, I am cleaning up some of my old rails projects and use the guides regularly, so I would like to continue contributing doc fixes if possible (i.e. commit bit would be convenient).
If this is not a doc bug, then please explain why the first code snippet doesn’t need id: false.
Cheers! alan