def to(output)
      build_translated_attribute_hash

      for attr, associations in @attributes
        objects = attr.to_s.split(".")
        attribute = objects.pop
        object = objects.reduce(output, :send)
        store_associations_on_object(object, attribute, associations)
      end
    end
def to(output)
      build_translated_attribute_hash

      for attr, associations in @attributes
        objects = attr.to_s.split(".")
        attribute = objects.pop
        object = objects.reduce(output, :send)
        store_associations_on_object(object, attribute, associations)
      end
    end
Converts @form to attributes assigned to output object