method
construct_attributes_from_arguments
rails latest stable - Class:
ActiveRecord::Base
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