From 5bc2f2de8c55448296bd602041b04056d3e56042 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Tue, 10 Dec 2013 11:14:45 +0000 Subject: ieee_name fixed --- db/migrate/20130930122959_add_gigaset_phone.rb | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/db/migrate/20130930122959_add_gigaset_phone.rb b/db/migrate/20130930122959_add_gigaset_phone.rb index d6ed2b6..ccf0599 100644 --- a/db/migrate/20130930122959_add_gigaset_phone.rb +++ b/db/migrate/20130930122959_add_gigaset_phone.rb @@ -1,19 +1,14 @@ class AddGigasetPhone < ActiveRecord::Migration def up - Manufacturer.create(:name => 'Gigaset', :ieee_name => 'Gigaset -Communications GmbH', :homepage_url => 'http://www.gigaset.com') + Manufacturer.create(:name => 'Gigaset', :ieee_name => 'Gigaset Communications GmbH', :homepage_url => 'http://www.gigaset.com') gigaset = Manufacturer.where(:name => 'Gigaset').first if gigaset - gigaset.phone_models.create(:name => 'Gigaset C610 IP', -:product_manual_homepage_url => -'https://www.gigaset.com/fileadmin/legacy-assets/A31008-M2312-R301-1-6019_en_US_CA.pdf', -:product_homepage_url => -'http://www.gigaset.com/en_HQ/shop/gigaset-c610-ip.html') + gigaset.phone_models.create(:name => 'Gigaset C610 IP', + :product_manual_homepage_url => 'https://www.gigaset.com/fileadmin/legacy-assets/A31008-M2312-R301-1-6019_en_US_CA.pdf', + :product_homepage_url => 'http://www.gigaset.com/en_HQ/shop/gigaset-c610-ip.html') gigaset.phone_models.create(:name => 'Gigaset N510 IP PRO', -:product_manual_homepage_url => -'https://www.gigaset.com/fileadmin/legacy-assets/A31008-M2217-R101-4-7619_en_UK.pdf', -:product_homepage_url => -'http://www.gigaset.com/en_HQ/shop/gigaset-n510-ip-pro.html') + :product_manual_homepage_url => 'https://www.gigaset.com/fileadmin/legacy-assets/A31008-M2217-R101-4-7619_en_UK.pdf', + :product_homepage_url => 'http://www.gigaset.com/en_HQ/shop/gigaset-n510-ip-pro.html') end end -- cgit v1.2.3