factory_bot v5.1.0 Release Notes

Release Date: 2019-09-21 // over 4 years ago
    • โž• Added: "Did you mean?" style error message to help with typos in association declarations
    • ๐Ÿ’… Changed: NoMethodError for static attributes now offers a "Did you mean?" style message
    • ๐Ÿ›  Fixed: avoid undefining inherited evaluator methods
    • ๐Ÿ›  Fixed: avoid stubbing id for records without a primary key
    • ๐Ÿ›  Fixed: raise a helpful error for self-referencing traits to avoid a SystemStackError
    • Deprecated: top-level methods meant only for internal use: allow_class_lookup, allow_class_lookup=, register_trait, trait_by_name, traits, sequence_by_name, sequences, factory_by_name, register_factory, callback_names, register_callback, register_default_callbacks, register_default_strategies, strategies