Sha256: 2fbc15c956ec466c8aeb927d70ea7bef155c5def37208c28e5a0fff3533d1541

Contents?: true

Size: 159 Bytes

Versions: 3

Compression:

Stored size: 159 Bytes

Contents

class Conversion < ApplicationRecord
  validates :email, presence: true, uniqueness: true, format: { with: /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mvpkit-1.1.2 project/app/models/conversion.rb
mvpkit-1.1.1 project/app/models/conversion.rb
mvpkit-1.1.0 project/app/models/conversion.rb