def update_links_from_file(file)
      File.foreach(file) do |line|
        next if line.chomp.empty?
        url, name, description, tag = line.chomp.split(';')
        website.find_links(url).first.update({ name:        name,
                                               description: description,
                                               tag:         tag })
      end
    end
def update_links_from_file(file)
      File.foreach(file) do |line|
        next if line.chomp.empty?
        url, name, description, tag = line.chomp.split(';')
        website.find_links(url).first.update({ name:        name,
                                               description: description,
                                               tag:         tag })
      end
    end
Updates links read from a file