rails

https://github.com/rails/rails

Ruby

Ruby on Rails

ActiveRecord::ConnectionAdapters::MySQL::SchemaStatements#indexes

Returns an array of indexes for the given table.

Source | Google | Stack overflow

Edit

git clone [email protected]:rails/rails.git

cd rails

open activerecord/lib/active_record/connection_adapters/mysql/schema_statements.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ActiveRecord--ConnectionAdapters--MySQL--SchemaStatements-indexes-for-pr


# Commit to git

git add activerecord/lib/active_record/connection_adapters/mysql/schema_statements.rbgit commit -m "better docs for ActiveRecord::ConnectionAdapters::MySQL::SchemaStatements#indexes"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-ActiveRecord--ConnectionAdapters--MySQL--SchemaStatements-indexes-for-pr

hub pull-request


# Celebrate!