lib/reform_126/form/save.rb
# Returns the result of that save invocation on the model.
Returns the result of that save invocation on the model.
Returns the result of that save invocation on the model .
def dynamic_save_representer
    self.class.representer(:dynamic_save, :all => true) do |dfn|
      dfn.merge!(
        :serialize     => lambda { |object, options| options.user_options[options.binding.name.to_sym].call(object, options) },
        :representable => true
      )
    end
  end
def dynamic_save_representer self . class . representer ( :dynamic_save , :all => true ) do | dfn | dfn . merge! ( :serialize => lambda { | object , options | options . user_options [ options . binding . name . to_sym ] . call ( object , options ) } , :representable => true ) end end
Returns the result of that save invocation on the model.
Returns the result of that save invocation on the model .