photomix/config/initializers/hacks.rb

1 line
84 B
Ruby

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