Whenever I've had to do a HABTM in rails I've always found myself wondering if it's possible to generate the required migration from the command line.
I was hoping to save time by just doing something like this:
rails g migration tracks_podcasts tracks:references podcasts:references id:false
The above code doesn't work, and neither do several variations of it (with and without the id:false instruction)