Sha256: 8aecb0b669eca5d948c54abca24aeb5f5363886dc1f8e529d8efb219a6b0e4bf
Contents?: true
Size: 186 Bytes
Versions: 17
Compression:
Stored size: 186 Bytes
Contents
class User < ActiveRecord::Base belongs_to :job validates :job, presence: true validates :password, presence: true validates :email, format: { with: /\A[^@\s]+@[^@\s]+\z/ } end
Version data entries
17 entries across 17 versions & 1 rubygems