factory_bot v6.0.0 Release Notes

Release Date: 2020-06-19 // over 1 year ago
    • ➕ Added: automatic definition of traits for Active Record enum attributes, enabled by default
    • Added: traits_for_enum method to define traits for non-Active Record enums
    • Added: build_stubbed_starting_id= option to define the starting id for build_stubbed
    • ✂ Removed: deprecated methods on the top-level FactoryBot module meant only for internal use
    • ✂ Removed: support for EOL versions of Ruby (2.3, 2.4) and Rails (4.2)