<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -62,3 +62,4 @@ Since I first released this library, there's been quite a few people who have su
 - Ryan Bates
 - David Eisinger
 - Shay Arnett
+- Minh Tran</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -62,3 +62,4 @@ Since I first released this library, there's been quite a few people who have su
 * Ryan Bates
 * David Eisinger
 * Shay Arnett
+* Minh Tran</diff>
      <filename>README.textile</filename>
    </modified>
    <modified>
      <diff>@@ -96,7 +96,6 @@ module ThinkingSphinx
     # indexer and searchd configuration, and sources and indexes details.
     #
     def build(file_path=nil)
-      load_models
       file_path ||= &quot;#{self.config_file}&quot;
       database_confs = YAML::load(ERB.new(IO.read(&quot;#{self.database_yml_file}&quot;)).result)
       database_confs.symbolize_keys!
@@ -170,8 +169,7 @@ searchd
         begin
           model_name.camelize.constantize
         rescue LoadError
-          model_name.gsub!(/.*[\/\\]/, '')
-          retry
+          model_name.gsub!(/.*[\/\\]/, '').nil? ? next : retry
         rescue NameError
           next
         end</diff>
      <filename>lib/thinking_sphinx/configuration.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8b3eed53849efe551764ea98be5678529ea8b921</id>
    </parent>
  </parents>
  <author>
    <name>Pat Allan</name>
    <email>pat@freelancing-gods.com</email>
  </author>
  <url>http://github.com/bassnode/thinking-sphinx/commit/5488445db396aa60b80e4a872b6dcf8373666a0b</url>
  <id>5488445db396aa60b80e4a872b6dcf8373666a0b</id>
  <committed-date>2008-08-27T04:35:56-07:00</committed-date>
  <authored-date>2008-08-27T04:35:56-07:00</authored-date>
  <message>Removing infinite loop from load_models, and extra load_models call</message>
  <tree>849a5950f1e4d2a554a4f35adfb478e4799e753f</tree>
  <committer>
    <name>Pat Allan</name>
    <email>pat@freelancing-gods.com</email>
  </committer>
</commit>
