Change or update an attribute value during Rails ActiveRecord validation
问题 Summary : I'm trying to alter an attribute's value within a custom ActiveModel::EachValidator validator. Given the following prototype: def validate_each(record, attribute, value) trying to set value = thing doesn't appear to do anything -- am I missing something? There should be a smart way to do this... Detail : I accept a URL input as part of a site. I don't want to just take the URL and directly validate that it returns a 200 OK message, because that would ignore entries that didn't start