Adding has_favorites and has_comments attributes for Quote model