We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa234f5 commit a4bb02eCopy full SHA for a4bb02e
lib/active_record/connection_adapters/sqlserver/schema_statements.rb
@@ -37,7 +37,7 @@ def indexes(table_name)
37
data = select("EXEC sp_helpindex #{quote(table_name)}", "SCHEMA") rescue []
38
39
data.reduce([]) do |indexes, index|
40
- index = index.with_indifferent_access
+ index = index.to_h.with_indifferent_access
41
42
if index[:index_description].match?(/primary key/)
43
indexes
0 commit comments