sunspot/sunspot — pull request #192 by brutuscat (2012-02-29 09:55:44+00:00)
Title: Set Init order

I've set the order (there was no order) of the ```sunspot_rails.init``` Initializer to run just before any application Initializers are loaded. This way Engines and Railties like rails_admin that make use of a Model's code will work correctly. See https://github.com/sferik/rails_admin/issues/1018

The alternative to this is to run the contents of the ```init.rb``` file in a different Initilializer just before the one that uses any Model Class.