From c3ea0cd259121f006f51afc7b6f1cb802b112d05 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Mon, 26 Jan 2015 18:52:48 +0500 Subject: [PATCH] fix "This dynamic method is deprecated" --- db/seeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/seeds.rb b/db/seeds.rb index 4eb34e821..28eb851bc 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,6 +1,6 @@ ARCHES = %w(i386 i586 x86_64) ARCHES.each do |arch| - Arch.find_or_create_by_name arch + Arch.find_or_create_by(name: arch) end %w(rosa_system iso_worker_1 file_store).each do |uname|