add option to activerecord to force the use of an index on a query
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
README
Rakefile
VERSION
active_index-0.0.0.gem
active_index.gemspec

README

Adds index option to active record finds:

  Lamp.find(:all, :index => 'index_lamps_on_name', :conditions => {:name => 'ryan'})

Have to use a string since figuring out what index to use (unique or not)
is not deterministic.