instance method convert_join_strings_to_ast

Ruby on Rails 5.1.7

Since v5.0.7.2 Last seen in v5.2.8.1 Private — implementation detail, not part of the public API

Available in: v5.0.7.2 v5.1.7 v5.2.8.1

Signature

convert_join_strings_to_ast(table, joins)

No documentation comment.

Parameters

table req
joins req
Source
# File activerecord/lib/active_record/relation/query_methods.rb, line 1034
      def convert_join_strings_to_ast(table, joins)
        joins
          .flatten
          .reject(&:blank?)
          .map { |join| table.create_string_join(Arel.sql(join)) }
      end

Defined in activerecord/lib/active_record/relation/query_methods.rb line 1034 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::QueryMethods

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close