method

add_joins!

add_joins!(sql, options, scope = :auto)
private

The optional scope argument is for the current :find scope.