Skip to content

Commit

Permalink
Needs to use ~* operator
Browse files Browse the repository at this point in the history
  • Loading branch information
joemsak committed Jun 22, 2011
1 parent 3b975e0 commit 074f8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/blog/posts_controller.rb
Expand Up @@ -14,7 +14,7 @@ def uncategorized
def tags
op = case ActiveRecord::Base.connection.adapter_name.downcase
when 'postgresql'
'SIMILAR TO'
'~*'
else
'LIKE'
end
Expand Down

0 comments on commit 074f8cf

Please sign in to comment.