Sha256: 9f4668fba762d5b90ff4d540a038ab3e50ac9280cc0ad46a70d26063c53ae8cd

Contents?: true

Size: 426 Bytes

Versions: 4

Compression:

Stored size: 426 Bytes

Contents

class Models::Auth < ApplicationRecord
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :validatable
  belongs_to :account, class_name: 'Models::Account', foreign_key: 'account_id'
  belongs_to :user, class_name: 'Models::User', foreign_key: 'user_id'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sun-sword-0.0.5 lib/generators/sun_sword/templates_frontend/models/models/auth.rb
sun-sword-0.0.4 lib/generators/sun_sword/templates_frontend/models/models/auth.rb
sun-sword-0.0.3 lib/generators/sun_sword/templates_frontend/models/models/auth.rb
sun-sword-0.0.2 lib/generators/sun_sword/templates_frontend/models/models/auth.rb