I'm experiencing an issue with duplicate entries being added when using `has_and_belongs_to_many` in my models. I've setup the following test Rails project (v3.0.7) here:
https://github.com/mhayes/waterclub The test case which is failing is: https://github.com/mhayes/waterclub/blob/master/test/unit/invoice_test.rb Here's where I think the issue may reside: https://github.com/mhayes/waterclub/blob/master/app/models/invoice.rb I noticed there were threads in the past with a HABTM duplication error, so I'm not sure if this is a regression of if I'm doing something wrong. Any ideas? Please let me know if I should provide any additional information, thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

