5 lines
134 B
Ruby
5 lines
134 B
Ruby
class Authentication < ActiveRecord::Base
|
|
belongs_to :person
|
|
validates :uid, presence: true, uniqueness: { scope: :provider }
|
|
end
|