Please sign in to comment.
Using ActiveRecord::Base.connection is presumptuous. You must infer t…
…he home of the join table using the parent model. This allows developers to define HABTM relationships in other databases and still use the 'have_and_belong_to_many' matcher.
- Loading branch information...
Showing with 1 addition and 1 deletion.