instance method case_sensitive_comparison

Ruby on Rails 5.0.7.2

Since v4.2.11.3 Last seen in v5.0.7.2

Available in: v4.2.11.3 v5.0.7.2

Signature

case_sensitive_comparison(table, attribute, column, value)

No documentation comment.

Parameters

table req
attribute req
column req
value req
Source
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 436
      def case_sensitive_comparison(table, attribute, column, value)
        if value.nil?
          table[attribute].eq(value)
        else
          table[attribute].eq(Arel::Nodes::BindParam.new)
        end
      end

Defined in activerecord/lib/active_record/connection_adapters/abstract_adapter.rb line 436 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::AbstractAdapter

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