From be1b38b91b0a3a3644abd46ae199513da59822f4 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 27 May 2013 09:27:41 +0200 Subject: [PATCH] Replaced .find(:all) with .all() (prepared for rails 4). --- db/seeds.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/seeds.rb b/db/seeds.rb index 72c4dce4e..ebe202621 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1187,8 +1187,8 @@ Group.create_if_not_exists( ) roles = Role.where( :name => 'Customer' ) -organizations = Organization.find( :all ) -groups = Group.find( :all ) +organizations = Organization.all +groups = Group.all user = User.create_if_not_exists( :login => '-',