title: FriendlyId: undefined method `use_slug?' for nil:NilClass
body: <p>I am creating a new environment besides production. I copied all the configurations from my production environment, changing what needed to be changed.</p>
  
  <p>As it is the servers do start, but when I do a query I get this exception:</p>
  
  <pre><code>NoMethodError (undefined method `use_slug?' for nil:NilClass):
    vendor/gems/friendly_id-2.3.4/lib/friendly_id/active_record2/finders.rb:65:in `slugged?'
    vendor/gems/friendly_id-2.3.4/lib/friendly_id/active_record2/finders.rb:43:in `finder_class'
    vendor/gems/friendly_id-2.3.4/lib/friendly_id/active_record2/finders.rb:37:in `finder'
    vendor/gems/friendly_id-2.3.4/lib/friendly_id/active_record2/finders.rb:32:in `method_missing'
    vendor/gems/friendly_id-2.3.4/lib/friendly_id/active_record2/slugged_model.rb:149:in `find_one'
    app/controllers/home_controller.rb:5:in `index'
  </code></pre>
  
  <p>The line in question does this:</p>
  
  <pre><code>@page = Page.find("home")
  </code></pre>
  
  <p>I am using FriendlyId 2.3.4, and Rails 2.3.4. The code is the same for the production environment, and it's working just fine there, so I'm not really sure on what's going on here...I could see that the line where the exception gets raised does </p>
  
  <pre><code>friendly_id_config.use_slug?
  </code></pre>
  
  <p>so for a reason I'm not aware of friendly_id_config is nil.</p>
  
  <p>Thanks for any guidance on this problem</p>