Sha256: d674e6577a6d53e31edd19908b9913c6b599265db5f9fc776c9627a5c8ed35cb
Contents?: true
Size: 188 Bytes
Versions: 14
Compression:
Stored size: 188 Bytes
Contents
class Phone < ActiveRecord::Base attr_accessible :number, :possible_number validates :number, phone: true validates :possible_number, phone: {possible: true, allow_blank: true} end
Version data entries
14 entries across 14 versions & 1 rubygems