thoughtbot/data_customs
Ver no GitHubAllow base class for migrations to be configurable
Open
#1 aberto em 5 de set. de 2025
good first issue
Métricas do repositório
- Stars
- (7 stars)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Currently, all data migrations inherit from DataCustoms::Migration. It can be useful to configure that base class to something like ApplicationDataMigration to add shared behavior. A rough sketch of what it could look like:
class ApplicationDataMigration
include Rspec::Matchers
end
DataCustoms.configure do |config|
config.base_class = "ApplicationDataMigration"
end