RailsCasts Pro episodes are now free!

Learn more or hide this

Gareth Jones's Profile

GitHub User: gjones

Site: http://gdjones.net

Comments by Gareth Jones

Avatar

Has anybody got the tokeninput example working with Postgres? I've tried substituting the like for ilike and ILIKE but it doesn't seem to work, in the console the q is registering but the query itself remains blank, %%. Any help would be appreciated.

Avatar

Confirmed, it was the postgres version, thanks for your help.
Ah but it's not going to work on Heroku until they upgrade from 8.3

Avatar

Agh, that could be it, I'm running 9.0.4, I'll update any confirm whether or not this is the problem. Thanks

Avatar

Great screencast, I was using texticle already but this has given me much more flexibility.

Has anybody else ran into an error when creating the unaccent extension? I'm running rails 3.2, I've had no problems elsewhere in this screencast for some reason or other its not liking this migration, I've triple check the syntax

ruby
==  AddUnaccentExtension: migrating ===========================================
-- execute("create extension unaccent")
rake aborted!
An error has occurred, this and all later migrations canceled:

PG::Error: ERROR:  syntax error at or near "extension"
LINE 1: create extension unaccent
               ^
: create extension unaccent

Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Avatar

Same issue, has this been fixed? thanks.