TRIVIAL: Remove irrelevant comment :)

This commit is contained in:
Robin Ward 2014-04-14 21:00:29 -04:00
parent 4a93b1b0bc
commit a49b38ac35

View File

@ -318,7 +318,6 @@ class Topic < ActiveRecord::Base
return [] unless title.present?
return [] unless raw.present?
# For now, we only match on title. We'll probably add body later on, hence the API hook
similar = Topic.select(sanitize_sql_array(["topics.*, similarity(topics.title, :title) + similarity(p.raw, :raw) AS similarity", title: title, raw: raw]))
.visible
.where(closed: false, archived: false)