Sha256: f434eba4cd0733655bf917234f0a9d8da583ffece7b79406cb7b74e2c28bc830

Contents?: true

Size: 200 Bytes

Versions: 3

Compression:

Stored size: 200 Bytes

Contents

class User < ActiveRecord::Base
  validates :telephone, :telephone => true
  validates :br_telephone, :telephone => { :locale => :br }
  validates :usa_telephone, :telephone => { :locale => :usa }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
validates_telephone-1.1.0 spec/fake_app/user.rb
validates_telephone-1.0.1 spec/fake_app/user.rb
validates_telephone-1.0.0 spec/fake_app/user.rb