lib/devise/multi_email/models/validatable.rb
def assert_validations_api!(base) #:nodoc:
          unavailable_validations = VALIDATIONS.select { |v| !base.respond_to?(v) }

          unless unavailable_validations.empty?
            raise "Could not use :validatable module since #{base} does not respond " <<
                  "to the following methods: #{unavailable_validations.to_sentence}."
          end
        end
# All validations used by this module.
All validations used by this module.
All validations used by this module .
def assert_validations_api!(base) 
          unavailable_validations = VALIDATIONS.select { |v| !base.respond_to?(v) }
          unless unavailable_validations.empty?
            raise "Could not use :validatable module since #{base} does not respond " <<
                  "to the following methods: #{unavailable_validations.to_sentence}."
          end
        end
def assert_validations_api! ( base ) unavailable_validations = VALIDATIONS . select { | v | ! base . respond_to? ( v ) } unless unavailable_validations . empty? raise "Could not use :validatable module since #{base} does not respond " << "to the following methods: #{unavailable_validations.to_sentence}." end end
All validations used by this module.
All validations used by this module .
#:nodoc:
base