Skip to content

Commit

Permalink
Fix redundant use of Object#to_s in interpolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
dminchev committed May 9, 2017
1 parent 813cced commit 11cf269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/administrate/search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def query
end

def search_terms
["%#{term.mb_chars.downcase.to_s}%"] * search_attributes.count
["%#{term.mb_chars.downcase}%"] * search_attributes.count
end

def search_attributes
Expand Down

0 comments on commit 11cf269

Please sign in to comment.