# File lib/braintree/validation_error_collection.rb, line 49 def on(attribute) @errors.select { |error| error.attribute == attribute.to_s } end