photomix/config/initializers/hacks.rb

1 line
84 B
Ruby
Raw Normal View History

2012-07-24 23:26:16 +02:00
LIKE = ActiveRecord::Base.connection.adapter_name == 'PostgreSQL' ? 'ILIKE' : 'LIKE'