aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/predicate_builder/basic_object_handler.rb
blob: a17cf30ffd26379153d92cb99629a73bb1a4eba1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module ActiveRecord
  class PredicateBuilder
    class BasicObjectHandler # :nodoc:
      def call(attribute, value)
        attribute.eq(value)
      end
    end
  end
end