# File lib/active_model/validations.rb, line 157 def attribute_method?(attribute) method_defined?(attribute) end