lib/connection_manager/using.rb in connection_manager-0.3.6 vs lib/connection_manager/using.rb in connection_manager-0.3.7

- old
+ new

@@ -37,10 +37,10 @@ extend_dup_class(dup_klass,connection_class_name) self.const_set("#{connection_class_name}Dup", dup_klass) end def table_name_for_dup(con_class) - "#{con_class.table_name_prefix}#{table_name.split('.').last}" + "#{table_name_prefix_for_dup(con_class)}#{table_name.split('.').last}" end def table_name_prefix_for_dup(con_class) con_class.abstract_class? ? table_name_prefix : con_class.table_name_prefix end