Skip to content

Instantly share code, notes, and snippets.

@markalanevans
Last active August 29, 2015 13:57
Show Gist options
  • Save markalanevans/9444033 to your computer and use it in GitHub Desktop.
Save markalanevans/9444033 to your computer and use it in GitHub Desktop.
products.drop_while { | product |
$log.debug "Comparing: "
$log.debug product[:affiliate_network_id]
$log.debug product[:affiliate_network_id].class
if (product[:affiliate_network_id] != 8)
$log.debug "No Match"
return false
else
$log.debug "Match"
end
#product[:affiliate_network_id] != 8
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment