Sha256: 7336f78f2a468e20d9687d598c079545347201f52c64d6193c8d240b583cad46

Contents?: true

Size: 206 Bytes

Versions: 5

Compression:

Stored size: 206 Bytes

Contents

# frozen_string_literal: true

require 'shared_user'

class UserWithValidations < ActiveRecord::Base
  self.table_name = 'users'
  include Shim
  include SharedUser

  validates :email, presence: true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
devise-4.5.0 test/rails_app/app/active_record/user_with_validations.rb
devise-4.4.3 test/rails_app/app/active_record/user_with_validations.rb
devise-4.4.2 test/rails_app/app/active_record/user_with_validations.rb
devise-4.4.1 test/rails_app/app/active_record/user_with_validations.rb
devise-4.4.0 test/rails_app/app/active_record/user_with_validations.rb