diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20130930122959_add_gigaset_phone.rb | 17 |
1 files 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 |