RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: matthuhiggins
Site: matthewhiggins.com
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:
/* *require layout *require projects */
Reasons: The files get recompiled on refresh and you don't need to specify the extension.
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:
/*
*require layout
*require projects
*/
Reasons: The files get recompiled on refresh and you don't need to specify the extension.