Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cambios en restricción de números de contactos

  • Loading branch information...
commit 8c4de1e842ff3e1702efdfa7774422b700fe76ab 1 parent fa9911c
@martinvega authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/models/contact.rb
View
2  app/models/contact.rb
@@ -11,7 +11,7 @@ class Contact < ActiveRecord::Base
validates :date, :name, :number, :presence => true
validates_length_of :name, :locality, :comment, :maximum => 255
validates_numericality_of :number, :only_integer => true, :allow_nil => true,
- :allow_blank => true, :greater_than => 0, :less_than => 5000000
+ :allow_blank => true, :greater_than => 0, :less_than => 10000000000
validates_uniqueness_of :number, :allow_nil => true, :allow_blank => true
validates_date :date, :allow_nil => true, :allow_blank => true
Please sign in to comment.
Something went wrong with that request. Please try again.