Displaying 1 result from an estimated 1 matches for "chatev".
Did you mean:
cdatev
2005 Oct 24
3
bogus find_all in Rails 0.14.1
I have the following statement
cl = ChatEvent.find_all("ev_type <> #{t} and chat_id = #{@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 ''ord...