Skip to content

Instantly share code, notes, and snippets.

@sfsekaran
Created September 21, 2010 17:16
Show Gist options
  • Save sfsekaran/590067 to your computer and use it in GitHub Desktop.
Save sfsekaran/590067 to your computer and use it in GitHub Desktop.
#default label => keyword sets
@campaign_keywords_label = Hash.new
@campaign.campaign_keywords_labels.each do |kcl|
@campaign_keywords_label[kcl.label_id] = kcl.keyword.value
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment