Sha256: 99226e011ebc688cee23ad74af9a148546d61d89406cffa0ddd5650f3ee08bd1

Contents?: true

Size: 205 Bytes

Versions: 17

Compression:

Stored size: 205 Bytes

Contents

module ActiveModel
  module Validations
    module HelperMethods
      def validates_zipcode(*attr_names)
        validates_with ZipcodeValidator, _merge_attributes(attr_names)
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
validates_zipcode-0.0.18 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.17 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.16 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.15 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.14 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.13 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.12 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.11 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.10 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.9 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.8 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.7 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.6 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.5 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.4 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.3 lib/validates_zipcode/helper_methods.rb
validates_zipcode-0.0.1 lib/validates_zipcode/helper_methods.rb