Skip to content

Instantly share code, notes, and snippets.

@andrewroth
Created March 2, 2011 21:53
Show Gist options
  • Save andrewroth/851827 to your computer and use it in GitHub Desktop.
Save andrewroth/851827 to your computer and use it in GitHub Desktop.
Feature::SLOTS[:basement].split(" ").each do |slug|
Feature.find_or_create_by_featured_type_and_slot("Product", slug)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment