Sha256: 8e26b18e2777e9ca3364e62979087a2f19c69a2b6c97999caa45f411c4097436

Contents?: true

Size: 1.03 KB

Versions: 25

Compression:

Stored size: 1.03 KB

Contents

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

bien = FactoryBot.create(:account, nombre: 'Bien', subdomain: 'bien')
rosso = FactoryBot.create(:user, email: 'mrosso10@gmail.com', nombre: 'Martín', apellido: 'Rosso', password: 'admin123',
                                 confirmed_at: Time.now, developer: true, orphan: true)

bien.user_accounts.create(user: rosso, profiles: [:administracion])

racionalismo = FactoryBot.create(:account, nombre: 'Racionalismo', subdomain: 'racionalismo')
baruch = FactoryBot.create(:user, email: 'baruch@bien.com', nombre: 'Baruch', apellido: 'Spinoza', password: 'admin123',
                                  confirmed_at: Time.now, orphan: true)
rené = FactoryBot.create(:user, email: 'rene@bien.com', nombre: 'René', apellido: 'Descartes', password: 'admin123',
                                confirmed_at: Time.now, orphan: true)

racionalismo.user_accounts.create(user: baruch, profiles: [:administracion])
racionalismo.user_accounts.create(user: rené, profiles: [:operacion])

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
pg_rails-7.6.20 pg_engine/db/seeds.rb
pg_rails-7.6.19 pg_engine/db/seeds.rb
pg_rails-7.6.18 pg_engine/db/seeds.rb
pg_rails-7.6.17 pg_engine/db/seeds.rb
pg_rails-7.6.16 pg_engine/db/seeds.rb
pg_rails-7.6.15 pg_engine/db/seeds.rb
pg_rails-7.6.14 pg_engine/db/seeds.rb
pg_rails-7.6.13 pg_engine/db/seeds.rb
pg_rails-7.6.12 pg_engine/db/seeds.rb
pg_rails-7.6.11 pg_engine/db/seeds.rb
pg_rails-7.6.10 pg_engine/db/seeds.rb
pg_rails-7.6.9 pg_engine/db/seeds.rb
pg_rails-7.6.8 pg_engine/db/seeds.rb
pg_rails-7.6.7 pg_engine/db/seeds.rb
pg_rails-7.6.6 pg_engine/db/seeds.rb
pg_rails-7.6.5 pg_engine/db/seeds.rb
pg_rails-7.6.4 pg_engine/db/seeds.rb
pg_rails-7.6.3 pg_engine/db/seeds.rb
pg_rails-7.6.2 pg_engine/db/seeds.rb
pg_rails-7.6.1 pg_engine/db/seeds.rb