Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Postgre-Compatibility #218

Closed
masche842 opened this Issue · 4 comments

3 participants

@masche842
Collaborator

... i.e. for Heroku.

Element-List can't be rendered:
Error: PG::Error: ERROR: syntax error at or near "." LINE 1: ...my_elements"."page_id" = 3 AND (alchemy_elements.page_id... ^ : SELECT "alchemy_elements".* FROM "alchemy_elements" WHERE "alchemy_elements"."page_id" = 3 AND (alchemy_elements.page_id IS NOT NULL) ORDER BY position

I'll see what I can do

@masche842 masche842 was assigned
@tvdeyen
Owner
@tvdeyen
Owner

Just found this in the spree initializers:

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

explanation to ilike (no, its not from apple, nor from facebook ;-))
http://solaimurugan.blogspot.de/2010/07/ilike-operator-in-postgresql.html

@tvdeyen
Owner

Should be done

@tvdeyen tvdeyen closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.