method
index_algorithm
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::SchemaStatements
index_algorithm(algorithm)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb, line 1464
def index_algorithm(algorithm) # :nodoc:
index_algorithms.fetch(algorithm) do
raise ArgumentError, "Algorithm must be one of the following: #{index_algorithms.keys.map(&:inspect).join(', ')}"
end if algorithm
end