lib/parse/model/core/actions.rb
def save_all(expressions = {})
      conditions(expressions)
      klass = Parse::Model.find_class self.table
      if klass.blank?
        raise ArgumentError, "Parse model with class name #{self.table} is not registered."
      end
      hash_constraints = constraints(true)

      klass.save_all(hash_constraints, &Proc.new) if block_given?
      klass.save_all(hash_constraints)
    end
def save_all(expressions = {})
      conditions(expressions)
      klass = Parse::Model.find_class self.table
      if klass.blank?
        raise ArgumentError, "Parse model with class name #{self.table} is not registered."
      end
      hash_constraints = constraints(true)

      klass.save_all(hash_constraints, &Proc.new) if block_given?
      klass.save_all(hash_constraints)
    end
def save_all ( expressions = { } ) conditions ( expressions ) klass = Parse :: Model . find_class self . table if klass . blank? raise ArgumentError , "Parse model with class name #{self.table} is not registered." end hash_constraints = constraints ( true ) klass . save_all ( hash_constraints , Proc . new ) if block_given? klass . save_all ( hash_constraints ) end
Supporting the `save_all` method to be used in scope chaining with queries.
 @!visibility private
Supporting the save_all method to be used in scope chaining with queries .