removed a puts in Person.search
This commit is contained in:
parent
ad11bd2a31
commit
4ab112645f
1 changed files with 0 additions and 1 deletions
|
|
@ -101,7 +101,6 @@ class Person < ActiveRecord::Base
|
|||
return self.where("1 = 0") if query.to_s.blank? || query.to_s.length < 2
|
||||
|
||||
sql, tokens = self.search_query_string(query)
|
||||
pp sql,tokens
|
||||
|
||||
Person.searchable.where(sql, *tokens).joins(
|
||||
"LEFT OUTER JOIN contacts ON contacts.user_id = #{user.id} AND contacts.person_id = people.id"
|
||||
|
|
|
|||
Loading…
Reference in a new issue