photomix/config/initializers/hack.rb
Alexander Negoda e59d11e1c9 big update
2012-07-25 01:26:16 +04:00

1 line
84 B
Ruby

LIKE = ActiveRecord::Base.connection.adapter_name == 'PostgreSQL' ? 'ILIKE' : 'LIKE'