thoughtbot/data_customs

Allow base class for migrations to be configurable

Open

#1 geöffnet am 5. Sept. 2025

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Ruby (1 Fork)auto 404
good first issue

Repository-Metriken

Stars
 (7 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide