- 
      
- 
        Save slant/599345 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | unless existing_product.productcategorynames.nil? | |
| existing_product.productcategorynames.split(',').each do |cn| | |
| unless category_table[cn].nil? | |
| category_name = category_table[cn] | |
| tool.category = category_name unless tool.archived == 1 | |
| end | |
| end | |
| end | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment