Skip to content

Instantly share code, notes, and snippets.

@jbinto
Created March 27, 2013 14:51
Show Gist options
  • Save jbinto/5254785 to your computer and use it in GitHub Desktop.
Save jbinto/5254785 to your computer and use it in GitHub Desktop.
Setting factory_girl as the fixtures replacement. Add to your Rails config/application.rb file.
# So we can run "rails generate" from the command line to create factories
config.generators do |g|
g.fixture_replacement :factory_girl
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment