# Generated with RailsBricks # Initial seed file to use with Devise User Model # Temporary admin account u = User.new( email: "admin@example.com", password: "1234", admin: true ) u.skip_confirmation! u.save! # Test user accounts (1..50).each do |i| u = User.new( email: "user#{i}@example.com", password: "1234" ) u.skip_confirmation! u.save! puts "#{i} test users created..." if (i % 5 == 0) end