Generates has-and-belongs-to-many migrations. Use rails generate habtm model1 model2
Stefan Wienert
gem "habtm_generator", "~> 0.1"