Sha256: 60ff4fdd5ac703a16bcf9ea05577ddc65014af67af589626a0c4b35a25d6da31

Contents?: true

Size: 155 Bytes

Versions: 5

Compression:

Stored size: 155 Bytes

Contents

class Authentication < ApplicationRecord
  belongs_to :user

  accepts_nested_attributes_for :user

  validates :uid, uniqueness: { scope: :provider }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/install/add_authentications/authentication.rb
adminos-1.0.0.pre.rc.4 lib/generators/templates/install/add_authentications/authentication.rb
adminos-1.0.0.pre.rc.3 lib/generators/templates/install/add_authentications/authentication.rb
adminos-1.0.0.pre.rc.2 lib/generators/templates/install/add_authentications/authentication.rb
adminos-1.0.0.pre.rc.1 lib/generators/templates/install/add_authentications/authentication.rb