Checking if a specific column has an index in a Ruby on Rails application