# File lib/aws/record/validators/acceptance.rb, line 29
      def validate_attribute record, attribute_name, value

        accepted = case value
        when '1'  then true
        when true then true
        else 
          options.has_key?(:accept) ?
            value == options[:accept] :
            false
        end

        record.errors.add(attribute_name, message) unless accepted

      end