RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: matthuhiggins
The problem is caused by preloading ActiveRecord during initialization, not FactoryGirl. You probably are using a gem that does not use ActiveSupport.on_load correctly, or one of your initializers references ActiveRecord::Base. That's bad.
Hmm, I think I would do this instead of the imports:
Reasons: The files get recompiled on refresh and you don't need to specify the extension.