lib/reform_126/form/save.rb
def save_representer
    self.class.representer(:save) do |dfn|
      dfn.merge!(
        :instance  => lambda { |form, *| form },
        :serialize => lambda { |form, args| form.save! unless args.binding[:save] === false }
      )
    end
  end
# 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 save_representer
    self.class.representer(:save) do |dfn|
      dfn.merge!(
        :instance  => lambda { |form, *| form },
        :serialize => lambda { |form, args| form.save! unless args.binding[:save] === false }
      )
    end
  end
def save_representer self . class . representer ( :save ) do | dfn | dfn . merge! ( :instance => lambda { | form , * | form } , :serialize => lambda { | form , args | form . save! unless args . binding [ :save ] === false } ) end end
Returns the result of that save invocation on the model.
Returns the result of that save invocation on the model .