module ActiveRecord::Encryption::ExtendedDeterministicQueries::RelationQueries
def exists?(*args)
def exists?(*args) process_encrypted_query_arguments_if_needed(args) super end
def find_or_create_by(attributes, &block)
def find_or_create_by(attributes, &block) find_by(attributes.dup) || create(attributes, &block) end
def find_or_create_by!(attributes, &block)
def find_or_create_by!(attributes, &block) find_by(attributes.dup) || create!(attributes, &block) end
def process_encrypted_query_arguments_if_needed(args)
def process_encrypted_query_arguments_if_needed(args) process_encrypted_query_arguments(args, true) unless self.deterministic_encrypted_attributes&.empty? end
def where(*args)
def where(*args) process_encrypted_query_arguments_if_needed(args) super end