title: FactoryGirl: Factory not registered: user (ArgumentError)
body: <p>Having a lot trouble getting all the ducks in the right order with FactoryGirl.</p>
  
  <p>Set up a minimalist rails app (3.0.11), factory_girl_rails (1.4.0), factory_girl (2.3.2) &amp; cucumber-rails (1.2.1) and ruby-1.8.7-p352.</p>
  
  <p><strong>The cucumber test is:</strong></p>
  
  <pre><code>Feature: a
    Scenario: test factory-girl
      Given the following user exists:
      | name    | email               |
      | Brandon | brandon@example.com |
  </code></pre>
  
  <p><strong>The result is this:</strong></p>
  
  <pre><code>cucumber 
  Using the default profile...
  "Adam Advertiser"
  "a@b.com"
  #&lt;User id: nil, name: nil, created_at: nil, updated_at: nil, email: nil&gt;
  Feature: a
  
    Scenario: test factory-girl        # features/users.feature:2
      Given the following user exists: # factory_girl-2.3.2/lib/factory_girl/step_definitions.rb:100
        | name    | email               |
        | Brandon | brandon@example.com |
        **Factory not registered: user (ArgumentError)**
        features/users.feature:3:in `Given the following user exists:'
  
  Failing Scenarios:
  cucumber features/users.feature:2 # Scenario: test factory-girl
  
  1 scenario (1 failed)
  1 step (1 failed)
  0m0.107s
  </code></pre>
  
  <p><em>It would seem a load sequence problem, maybe. Would appreciate any help to get this right.
  Regards
  Ross</em></p>
  
  <p><strong>features/Factories.rb is thus:</strong></p>
  
  <pre><code>FactoryGirl.define do
      factory :user do
          name 'Adam Advertiser'
          email 'a@b.com'
      end
  end
  pp FactoryGirl.create(:user)
  
  require 'factory_girl/step_definitions'
  </code></pre>
  
  <p><strong>My features/support/env.rb is:</strong></p>
  
  <pre><code>require 'pp'
  require 'cucumber/rails'
  
  require 'factory_girl_rails'
  </code></pre>
  
  <p><strong>My GemFile is:</strong></p>
  
  <pre><code>source 'http://rubygems.org'
  
  gem 'rails', '3.0.11'
  
  gem 'sqlite3'
  
  
  group :development, :test do
  
      gem 'cucumber-rails'
      gem 'factory_girl_rails'     # rails 3 version
  
  end
  </code></pre>