New FactoryGirl version

Hey all,
We recently updated our FactoryGirl gem version. We switched from version
1.2 to version 4.5 (big jump).
The new version of FactoryGirl required some changes in our code which I'd
like you to notice:

  • Use of Factory (e.g., Factory.create / Factory.build) is now
    deprecated and we must use FactoryGirl (FactoryGirl.create /
    FactoryGirl.build)
  • The methods after_build and after_create are deprecated and we should
    use after method { after(:create) and after(:build) }
  • The method ignore sends deprecation warnings, we should switch to
    transient method where applicable.