Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: c1a126a84f
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (14 sloc) 0.802 kb
Rails Indexes
Scans your models and displays a list of columns that _probably_ should be indexed.
note: there should be mode fields depending on your application design and custom queries.
# Install: script/plugin install git://
# Run it: rake db:show_me_some_indexes
# Or print out a sample migration: rake db:show_me_a_migration
Add an option to create a migration that adds all the needed indexes. - in progress, needs to support multiple column indexs (STI, polymorphic, etc).
Add an option to scan the application root tree for #find, #find_all_by and #find_by to get some more index-required columns.
Elad Meidar
Released under the same license as Ruby. No Support. No Warranty.
Jump to Line
Something went wrong with that request. Please try again.