Scott Becker
Not a member
Scott Becker's latest activity
Wednesday, April 14 2010
-
Scott Becker commented at 9:34 PMI still think the originally proposed format with the field name and message broken out provides the best flexibility, and maps one-to-one with the JSON error o...
Tuesday, January 06 2009
-
Scott Becker commented at 2:23 AMOops, my name and email weren't set correctly in the second commit of that last patch. Here's an updated one with correct contact info.
-
Scott Becker commented at 2:10 AMHere is a new patch adding additional tests verifying the expected behavior for serializing errors added to base, as per Adam Milligan's suggestion.
Monday, January 05 2009
-
Scott Becker commented at 10:23 PMAdam Milligan -
I will add another patch including tests verifying the expected behavior for serializing errors added to base later today.
Jeff Cohen -
That wou...
Wednesday, December 24 2008
-
Scott Becker commented at 8:15 PMErrors added to base would work the same way:
>> d = Dataset.new => #<Dataset id: nil, ...> >> d.errors.add_to_base("is invalid") => ["is invalid"] >> pu... -
Scott Becker commented at 1:45 AMThose examples didn't format right. Let me try that again.
Example usage:
company = Company.create(:address => '123 First St.') company.errors.to_xml(:exten... -
Scott Becker created the ticket at 1:40 AMI needed to return validation errors to an external program via web service so that it could allow a user to fix them.
The standard errors.to_xml method only re...