Methods
Included Modules
Instance Public methods
exists?(*args)
📝 Source code
# File activerecord/lib/active_record/encryption/extended_deterministic_queries.rb, line 89
def exists?(*args)
process_encrypted_query_arguments_if_needed(args)
super
end
🔎 See on GitHub
find_or_create_by(attributes, &block)
📝 Source code
# File activerecord/lib/active_record/encryption/extended_deterministic_queries.rb, line 94
def find_or_create_by(attributes, &block)
find_by(attributes.dup) || create(attributes, &block)
end
🔎 See on GitHub
find_or_create_by!(attributes, &block)
📝 Source code
# File activerecord/lib/active_record/encryption/extended_deterministic_queries.rb, line 98
def find_or_create_by!(attributes, &block)
find_by(attributes.dup) || create!(attributes, &block)
end
🔎 See on GitHub
where(*args)
📝 Source code
# File activerecord/lib/active_record/encryption/extended_deterministic_queries.rb, line 84
def where(*args)
process_encrypted_query_arguments_if_needed(args)
super
end
🔎 See on GitHub