# File lib/doorkeeper/validations.rb, line 21 def validate(attribute, options = {}) validations << [attribute, options[:error]] end