Reveal the indexes of an ActiveRecord table

Posted . Visible to the public.
p ActiveRecord::Base.connection.indexes(:table_name)
Last edit
Andreas Robecke
License
Source code in this card is licensed under the MIT License.
Posted to makandra dev (2014-10-22 13:32)