diff options
author | Peter Kozak <spag@golwen.net> | 2013-12-10 11:14:45 +0000 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-12-10 11:14:45 +0000 |
commit | 5bc2f2de8c55448296bd602041b04056d3e56042 (patch) | |
tree | 4b8705b380e241a6e9cd0d75e758ff19fd30817b /db | |
parent | 8332cfa292e1a789c7967a83ad3d6c3b32fa11c5 (diff) |
ieee_name fixed
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 |