lib/spectifly/base/association.rb in spectifly-0.0.7 vs lib/spectifly/base/association.rb in spectifly-0.0.8
- old
+ new
@@ -9,10 +9,10 @@
super
@relationship = options.delete(:relationship)
end
def multiple?
- ['has_many', 'has_many_and_belongs_to'].include? relationship
+ ['has_many', 'has_many_and_belongs_to', 'belongs_to_many'].include? relationship
end
end
end
-end
\ No newline at end of file
+end