Sha256: 5741d19d58d75a31de44c045c60478074fe1fa0e5bbfc763cb0c6fc3929dccca

Contents?: true

Size: 317 Bytes

Versions: 2

Compression:

Stored size: 317 Bytes

Contents

module MiniBlog
  class User < ApplicationRecord
    # Include default devise modules. Others available are:
    # :confirmable, :lockable, :timeoutable and :omniauthable
    devise :database_authenticatable, :recoverable, 
      :rememberable, :trackable, :validatable

    validates :name, presence: true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mini_blog-0.1.1 app/models/mini_blog/user.rb
mini_blog-0.1.0 app/models/mini_blog/user.rb