thoughtbot/data_customs

Allow base class for migrations to be configurable

Open

#1 opened on 2025年9月5日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Ruby (1 fork)auto 404
good first issue

Repository metrics

Stars
 (7 stars)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド