spree/spree — pull request #4583 by brchristian (2014-04-15 05:04:39+00:00)
Title: Add index to spree_orders for user_id & created_by_id

Addresses potential performance regressions discussed at https://github.com/spree/spree/issues/4582 in the last_incomplete_spree_order method arising after that method changed in https://github.com/spree/spree/commit/c455e1a7d675837e577e229fd1b479ae924fe020