Sha256: 833b313050ed22d5f60e0ace5b40a3e0574b12e83337f4635806bc3cc1c89693

Contents?: true

Size: 223 Bytes

Versions: 18

Compression:

Stored size: 223 Bytes

Contents

class Person < ApplicationRecord
  validates :username, presence: true, uniqueness: {case_sensitive: false}
  validates :email, presence: true, uniqueness: {case_sensitive: false}

  authenticates identifier: :username
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
quo_vadis-2.2.4 test/dummy/app/models/person.rb
quo_vadis-2.2.2 test/dummy/app/models/person.rb
quo_vadis-2.2.1 test/dummy/app/models/person.rb
quo_vadis-2.2.0 test/dummy/app/models/person.rb
quo_vadis-2.1.11 test/dummy/app/models/person.rb
quo_vadis-2.1.10 test/dummy/app/models/person.rb
quo_vadis-2.1.9 test/dummy/app/models/person.rb
quo_vadis-2.1.8 test/dummy/app/models/person.rb
quo_vadis-2.1.7 test/dummy/app/models/person.rb
quo_vadis-2.1.6 test/dummy/app/models/person.rb
quo_vadis-2.1.5 test/dummy/app/models/person.rb
quo_vadis-2.1.4 test/dummy/app/models/person.rb
quo_vadis-2.1.3 test/dummy/app/models/person.rb
quo_vadis-2.1.2 test/dummy/app/models/person.rb
quo_vadis-2.1.1 test/dummy/app/models/person.rb
quo_vadis-2.1.0 test/dummy/app/models/person.rb
quo_vadis-2.0.2 test/dummy/app/models/person.rb
quo_vadis-2.0.1 test/dummy/app/models/person.rb