Skip to content

Instantly share code, notes, and snippets.

@bplexico
Created July 15, 2013 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bplexico/6003535 to your computer and use it in GitHub Desktop.
Save bplexico/6003535 to your computer and use it in GitHub Desktop.
calls to Topic
def add_uncategorized
# Support for uncategorized topics
uncategorized_topics = Topio.uncategorized_topics # <----- call to Topic
if uncategorized_topics.present?
totals = Topic.totals # <----- call to Topic
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment