lib/key_vortex.rb in key-vortex-0.2.3 vs lib/key_vortex.rb in key-vortex-0.2.4
- old
+ new
@@ -9,9 +9,10 @@
@adapter_registry ||= {}
@adapter_registry[adapter_class.symbol] = adapter_class
end
def self.vortex(adapter_symbol, record_class, **options)
+ puts @adapter_registry
new(
@adapter_registry[adapter_symbol].build(**options),
record_class
)
end