Displaying 1 result from an estimated 1 matches for "johnadams".
2006 Feb 26
3
simplify
...elp and Amy Hoy''s page of playing with
auto_complete and decided that the script/console is the place to
rapidly test.
I have this feeling that CONCAT isn''t working for postgresql...
c = find_by_sql(SELECT * FROM clients WHERE CONCAT
(first_name,middle_initial,last_name) = "johnadams")
^
(irb):61: syntax error
c = find_by_sql(SELECT * FROM clients WHERE CONCAT
(first_name,middle_initial,last_name) = "johnadams")
^
from (irb):61
As you can tell...I''ve taken a number of stabs at it and simplified it
down as mu...