method

construct_attributes_from_arguments

Importance_0
v1.2.6 - Show latest stable - 0 notes - Class: ActiveRecord::Base
construct_attributes_from_arguments(attribute_names, arguments) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/base.rb, line 1258
        def construct_attributes_from_arguments(attribute_names, arguments)
          attributes = {}
          attribute_names.each_with_index { |name, idx| attributes[name] = arguments[idx] }
          attributes
        end
Register or log in to add new notes.