method

construct_attributes_from_arguments

rails latest stable - Class: ActiveRecord::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

construct_attributes_from_arguments(attribute_names, arguments)
private

No documentation available.

# File activerecord/lib/active_record/base.rb, line 1018
        def construct_attributes_from_arguments(attribute_names, arguments)
          attributes = {}
          attribute_names.each_with_index { |name, idx| attributes[name] = arguments[idx] }
          attributes
        end