Added fix recommended here

https://github.com/thoughtbot/factory_girl_rails/issues/89