Sha256: 4003c278bb18d6f724a2d755accd714fe7512f604112ade4d1ee13a896c1a9b8
Contents?: true
Size: 485 Bytes
Versions: 4
Compression:
Stored size: 485 Bytes
Contents
# Generated with RailsBricks # Initial seed file to use with Devise User Model # Temporary admin account u = User.new( username: "admin", email: "admin@example.com", password: "1234", admin: true ) u.skip_confirmation! u.save! # Test user accounts (1..50).each do |i| u = User.new( username: "user#{i}", email: "user#{i}@example.com", password: "1234" ) u.skip_confirmation! u.save! puts "#{i} test users created..." if (i % 5 == 0) end
Version data entries
4 entries across 4 versions & 3 rubygems