instance method qualify_attribute_with_table_name

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

qualify_attribute_with_table_name(attr)

No documentation comment.

Parameters

attr req
Source
# File activerecord/lib/active_record/relation/query_methods.rb, line 2258
      def qualify_attribute_with_table_name(attr)
        attr.to_s.include?(".") ? attr : predicate_builder.resolve_arel_attribute(table_name, attr)
      end

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