Sha256: c6a722e2d27f9b91a6c0b70e6db1f40a42768f9ce2314a3c905dbadaa1eb7e1b

Contents?: true

Size: 137 Bytes

Versions: 2

Compression:

Stored size: 137 Bytes

Contents

class User < ActiveRecord::Base
  validates :name, presence: true
  validates :email, format: {with: /@/, message: "must have an @"}
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap4_form_builder-0.0.2 test/dummy/app/models/user.rb
bootstrap4_form_builder-0.0.1 test/dummy/app/models/user.rb