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