ErwinM/acts_as_tenant — pull request #16 by nucleoid (2012-09-19 14:26:50+00:00)
Title: Fix for has_and_belongs_to_many bug

Added test exposing has_and_belongs_to_many bug and fix for the bug. To see the bug, just remove "|| a.macro == :has_and_belongs_to_many" from line 95 of model_extensions.rb and then run rspec tests.