How ffaker handles missing constants
mainThe ffaker library overrides const_missing for its modules. If you attempt to access a constant that is not explicitly defined in a module, ffaker will attempt to find a matching data file in the ffaker/data directory.
For example, accessing FFaker::Name::FIRST_NAMES for the first time will trigger the library to look for and load data from ffaker/data/name/first_names and set that constant automatically.