lib/reform/form/coercion.rb in reform-2.0.0.beta1 vs lib/reform/form/coercion.rb in reform-2.0.0.beta2
- old
+ new
@@ -1,5 +1,5 @@
-require 'representable/coercion'
+require "disposable/twin/coercion"
-# TODO: make optional.
-module Reform::Form::Coercion
-end
+Reform::Form.class_eval do
+ Coercion = Disposable::Twin::Coercion
+end
\ No newline at end of file