Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
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://github.com/eladmeidar/rails_indexes.git # Run it: rake db:show_me_some_indexes # Or print out a sample migration: rake db:show_me_a_migration Future: 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. Author: Elad Meidar http://blog.eizesus.com Released under the same license as Ruby. No Support. No Warranty.