Reveal the indexes of an ActiveRecord table

p ActiveRecord::Base.connection.indexes(:table_name)