lib/reform/form/coercion.rb in reform-1.2.6 vs lib/reform/form/coercion.rb in reform-2.0.0.beta1

- old
+ new

@@ -1,17 +1,5 @@ require 'representable/coercion' +# TODO: make optional. module Reform::Form::Coercion - def self.included(base) - base.extend(ClassMethods) - base.send(:register_feature, self) - end - - module ClassMethods - def representer_class # TODO: check out how we can utilise Config#features. - super.class_eval do - include Representable::Coercion - self - end - end - end end