From 4a7afc4cf508afa369b31a377f81b9700955dae9 Mon Sep 17 00:00:00 2001 From: Alexander Miller Date: Sat, 16 Jul 2016 15:02:53 -0400 Subject: [PATCH] Updates ReadMe to recommend environments for gem Recommends adding to `factory_girl_rails` to both your `:test` and `:development` groups so generators will work in development. As per issue #88 https://github.com/thoughtbot/factory_girl_rails/issues/88 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 46fbbc7..f6730cf 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,9 @@ Gem: Add `factory_girl_rails` to your Gemfile: ```ruby -gem 'factory_girl_rails' +group :development, :test do + gem 'factory_girl_rails' +end ``` Generators for factories will automatically substitute fixture (and maybe any other