Created
July 15, 2013 21:29
-
-
Save bplexico/6003669 to your computer and use it in GitHub Desktop.
create new uncategorized category object
This file contains 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
def add_uncategorized | |
# Support for uncategorized topics | |
uncategorized_topics = Topic.uncategorized_topics | |
if uncategorized_topics.present? | |
uncategorized = UncategorizedCategory.new(uncategorized_topics) | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment