Refactor the #to_from method in FormDefinition to use the association macro, instead of checking the association_name for plurality.