Browse files

remove unnecessary escape character

  • Loading branch information...
1 parent 48b6fc1 commit 0683b55ebbac8836e260fa512e4122e5e4dadccd @jwang committed Sep 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 _posts/2011-09-07-factory_girl_db_migrate.md
View
2 _posts/2011-09-07-factory_girl_db_migrate.md
@@ -12,7 +12,7 @@ Sometimes, it seems that Factory Girl can get in the way of running `rake db:mig
The problem was that Factory Girl attempts to create factories for models that did not have database tables created yet. It was trying to run before the database migrations ran when the server tried running the `rake db:migrate`. (Note, yes, we always prepend `bundle exec`, but shortened it here for context.)
#### The Solution
-It seems that you're not to load the `factory\_girl_rails` gem in your Gemfile in the `:development` group at all. The configuration on [the GitHub repo](https://github.com/thoughtbot/factory_girl_rails) just says to add it to your Gemfile, but instead you should add it to your `:test` group only. For example:
+It seems that you're not to load the `factory_girl_rails` gem in your Gemfile in the `:development` group at all. The configuration on [the GitHub repo](https://github.com/thoughtbot/factory_girl_rails) just says to add it to your Gemfile, but instead you should add it to your `:test` group only. For example:
`gem 'factory_girl_rails', :group => :test`
More details can be found on [the mailing list topic](https://groups.google.com/d/topic/factory_girl/0RtdwiUIm5I/discussion).

0 comments on commit 0683b55

Please sign in to comment.