Sha256: 776929f354aafc087b890dbe666654147149ee4a5529be2ff4343019a7f2b1b0

Contents?: true

Size: 180 Bytes

Versions: 7

Compression:

Stored size: 180 Bytes

Contents

class User
  include ActiveModel::API
  include ActiveModel::SecurePassword

  attr_accessor :email, :password_digest

  has_secure_password
  validates :email, presence: true
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/models/user.rb
shadcn-ui-0.0.14 app/models/user.rb
shadcn-ui-0.0.13 app/models/user.rb
shadcn-ui-0.0.12 app/models/user.rb
shadcn-ui-0.0.10 app/models/user.rb
shadcn-ui-0.0.8 app/models/user.rb
shadcn-ui-0.0.5 app/models/user.rb