Conversation
Hi there! Sorry I missed this. PostgreSQL compatibility was added by #3 and released with v0.2.2. Could you point me to what doesn't work for you? |
The backticks in the query for the bulk_update_fuzzy_[name] method aren't Cheers,On Thu, Jun 20, 2013 at 7:06 AM, Julien Letessier
|
👍 We also ran into the same problem with the back ticks in Postgres. FWIW, I changed my Gemfile to point to @fdegiuli's repo and we were able to run |
You should be able to use |
@bclennox doing so as we speak. I wanted to avoid it, but it turns out some versions of SQlite require the quotes while others don't. |
Crapola. The fix works perfectly with all 3 engines locally, but fails with SQLite on Travis:
(i.e. the quoting fails, in all versions of activerecord). I'll keep digging after lunch, but clues are welcome :) |
Follow-up—Travis probably uses an old version of SQLite, older than 3.7.11 where bulk inserts were added. I'll find a workaround. |
Just released version 0.2.3 to adress these issues. |
Backticks are unsupported in postgres, which broke the bulk_update.... method.
This checks for a postgres adapter and adjusts the query accordingly.