instance method table_name_qualified_unscope_values

Ruby on Rails edge

Since edge

Signature

table_name_qualified_unscope_values()

No documentation comment.

Source
# File activerecord/lib/active_record/relation/query_methods.rb, line 889
    def table_name_qualified_unscope_values
      self.unscope_values.map do |scope|
        case scope
        when Hash
          scope.transform_values do |target_value|
            case target_value
            when Array
              target_value.map { |value| qualify_attribute_with_table_name(value) }
            when Symbol, String
              qualify_attribute_with_table_name(target_value)
            else
              target_value
            end
          end
        else
          scope
        end
      end
    end

Defined in activerecord/lib/active_record/relation/query_methods.rb line 889 · 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