models: drop various unused #named methods.

This commit is contained in:
evazion
2019-08-15 19:18:19 -05:00
parent 0d7d2cac80
commit bb157f5d5b
7 changed files with 5 additions and 18 deletions

View File

@@ -83,7 +83,7 @@ protected
end
def related_tags
tag = Tag.named(query.strip).first
tag = Tag.find_by_name(query.strip)
if tag
tag.related_tag_array.map(&:first)