title: rake aborted! uninitialized constant Object::Country, why can't see model?
body: <p>I have rails 3.1, I am trying to populate data with seeds.rb
  I have a model <code>Country</code> which is migrated into a countries table</p>
  
  <p>But it seems that rails can't see Country model from seeds.rb
  I get this error:</p>
  
  <pre><code>rake aborted!
  uninitialized constant Object::Country
  
  Tasks: TOP =&gt; db:seed
  </code></pre>
  
  <p>my seeds.rb file looks like this:</p>
  
  <pre><code># encoding: UTF-8
  
  Country.delete_all
  </code></pre>
  
  <p>my Country model:</p>
  
  <pre><code>class Country &lt; ActiveRecord::Base
    has_many :students
    has_many :instructors
  
  end
  </code></pre>
  
  <p>any idea please ?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I am in development environment, with <code>config.threadsafe!</code></p>