Sha256: ee980b583d538f90c6987336acce1dd0a17d1ff1e4778d4270e375407066b70b

Contents?: true

Size: 161 Bytes

Versions: 5

Compression:

Stored size: 161 Bytes

Contents

class Contact < ActiveRecord::Base
  validates :content,
            presence: true

  validates :email,
            email: true,
            presence: true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beerify-0.2.0 app/models/contact.rb
beerify-0.1.3 app/models/contact.rb
beerify-0.1.2 app/models/contact.rb
beerify-0.1.1 app/models/contact.rb
beerify-0.1.0 app/models/contact.rb