new(connection = ActiveRecord::Model.connection, table_joins = [])
public

table_joins is an array of arel joins which might conflict with the aliases we assign here