-
Notifications
You must be signed in to change notification settings - Fork 3
Tagging
chalchuck edited this page Nov 7, 2014
·
2 revisions
The tagging module is used to label data-sets by setting a question and corresponding answers. It provides an interface for sampling data and continuously labeling the data.
-
Open the TweetAnswer class
-
Add a reference in the tweet_answer class to the tagged record ex: disqus_forum_comment_id Example: belongs_to :disqus_forum_comment
-
ex. disqus_answers
Add this associations to the class
belongs_to :disqus_forum_comment belongs_to :answer
-
- has_many :modelname_answers
- has_many :modelname_comments, through: :modelname_answers