- Replace
putsstatements withRails.loggerfor proper logging integration - Add tagged logging with
seedtag for all seed-related log messages - Add
loggerconfiguration option to allow custom logger setup viaSeedBuilder.config.logger = custom_logger - Fix seed file loading to use
loadinstead ofrequireto ensure files are re-executed on each seed run - Logger automatically detects if
Rails.loggeralready supports tagging to avoid double-wrapping - Add ability to run specific seed files on demand using
bin/rails seed:run[SEED_NAME] - Add
load_seed_filemethod toSeedBuilder::Loaderfor loading individual seeds - Add ambiguous match detection: when multiple seed files match the same name, the loader will show an error listing all matches and prompt the user to use the full name with timestamp
- Patch
Rails.application.load_seedto use SeedBuilder loader via Railtie integration
- Fix seed files to be loaded as
.rbfiles - Add
default_seeds_full_pathconfig option to control default seeds full path - Fix files loading using absolute paths
- Improve test coverage
- Automatically configure loader for Rails seeds
- Add
use_seed_loaderconfig option to control loader usage
- Fix
seeds_pathto be relative to Rails root - Improve test coverage for generator
- Fix boolean config options to properly handle
nilandfalsevalues
- Initial version