# File lib/factory_girl/attribute_list.rb, line 21
    def apply_attributes(attributes_to_apply)
      attributes_to_apply.each do |attribute|
        new_attribute = find_attribute(attribute.name) || attribute
        delete_attribute(attribute.name)

        add_attribute new_attribute
      end
    end