Displaying 1 result from an estimated 1 matches for "chat_event".
2005 Oct 24
3
bogus find_all in Rails 0.14.1
...= #{@params
[:chat_id]} order by created_at")
which produces the following error:
#42000You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use
near ''order by created_at)'' at line 1: SELECT * FROM chat_event WHERE
(ev_type <> 0 and chat_id = 342 order by created_at)
As you may notice there is an opening brace but no closing one. So
far this worked until I upgraded Rails to 0.14.1.
Gábor
"How do you double the value of a Nokia? Charge up the battery!"
__________________...