Sha256: 1c4c0137ea65c753101fb7372442e59f16b3cccb044ed660be1f9ec43d9e23b5

Contents?: true

Size: 343 Bytes

Versions: 4

Compression:

Stored size: 343 Bytes

Contents

DatabaseCleaner.clean_with(:truncation, except: %w(ar_internal_metadata users accounts user_accounts))

MAIL = 'mrosso10@gmail.com'

unless User.where(email: MAIL).exists?
  FactoryBot.create :user, email: MAIL, nombre: 'Martín', apellido: 'Rosso', password: 'admin123',
                           confirmed_at: Time.now, developer: true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pg_rails-7.0.8.pre.alpha.13 pg_engine/db/seeds.rb
pg_rails-7.0.8.pre.alpha.12 pg_engine/db/seeds.rb
pg_rails-7.0.8.pre.alpha.11 pg_engine/db/seeds.rb
pg_rails-7.0.8.pre.alpha.10 pg_engine/db/seeds.rb