Sha256: 0c635358682efb84df4bcbde530465d13ea43fa1bc567f30307cef4c019d059f
Contents?: true
Size: 159 Bytes
Versions: 2
Compression:
Stored size: 159 Bytes
Contents
class NoActiveRecordPerson include ActiveModel::Validations attr_accessor :phone validates :phone, :mask => "(99) 9999-9999", :allow_blank => true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mask_validator-0.2.3 | spec/support/models/no_active_record_person.rb |
mask_validator-0.2.2 | spec/support/models/no_active_record_person.rb |