mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
More code climate style fixes
This commit is contained in:
parent
d8acf60049
commit
67a426a2e9
28 changed files with 157 additions and 172 deletions
|
|
@ -8,7 +8,7 @@ module Common
|
|||
end
|
||||
|
||||
def self.like_operator
|
||||
# This is something of a hack to use the correct operator for Pg
|
||||
# HACK: This is something of a hack to use the correct operator for Pg
|
||||
if ActiveRecord::Base.connection.adapter_name.downcase.to_sym == :postgresql
|
||||
like = 'ILIKE'
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue