Sha256: dbcc140486bfc6aa2cbaceaf567b8a3193a44e23f0b28ac18683c5f476398745
Contents?: true
Size: 487 Bytes
Versions: 130
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true # == Schema Information # # Table name: mensaje_contactos # # id :bigint not null, primary key # email :string # mensaje :string # nombre :string # telefono :string # created_at :datetime not null # updated_at :datetime not null # class MensajeContacto < ApplicationRecord audited validates :nombre, :email, :mensaje, presence: true validates_format_of :email, with: /\A[^@\s]+@[^@\s]+\z/ end
Version data entries
130 entries across 130 versions & 1 rubygems