From e994aca04a62e0f1273260810bb1966ae9ffb9f7 Mon Sep 17 00:00:00 2001 From: Nicolae Claudius Date: Sat, 21 Apr 2012 12:56:58 +0300 Subject: [PATCH] for to each --- db/seeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/seeds.rb b/db/seeds.rb index 7246dfa..f7728a3 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -10,7 +10,7 @@ admin.confirmed_at = Time.now admin.save! admin.confirm! -for name in Settings.host_domains +Settings.host_domains.each do |name| entrydns_org = Domain.new(:name => name, :type => 'NATIVE', :user_id => admin.id) entrydns_org.setup(admin.email) entrydns_org.save!