Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
create new uncategorized category object
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