search for: conditionspnumber

Displaying 1 result from an estimated 1 matches for "conditionspnumber".

Did you mean: conditionnumber
2005 Nov 23
15
:conditions => ... formatting
...end in particular, the second if, then why would I get errors like: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''pnumber1234412341) LIMIT 1'' at line 1: SELECT * FROM students WHERE (conditionspnumber like ":pnumber%"pnumber1234412341) LIMIT 1 which suggests that :pnumber is not being substituted, as per page 214 of "Agile web Development with Rails", even though it is in a position where it would match /\b:pnumber\b/ -- i.e. there can''t be ambiguity about what it...