Method: ROM::Changeset.use

Defined in:
changeset/lib/rom/changeset.rb

.use(plugin, **options) ⇒ Object

Enable a plugin for the changeset



115
116
117
# File 'changeset/lib/rom/changeset.rb', line 115

def self.use(plugin, **options)
  ROM.plugin_registry[:changeset].fetch(plugin).apply_to(self, **options)
end