Created
July 15, 2013 21:11
-
-
Save bplexico/6003535 to your computer and use it in GitHub Desktop.
calls to Topic
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 = 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