Displaying 1 result from an estimated 1 matches for "academic_program_id".
2006 Apr 20
1
has_many.count not accepting options hash
...::StatementInvalid: Mysql::Error: #42000You have an error in
your SQ
L syntax; check the manual that corresponds to your MySQL server version
for the
right syntax to use near ''includecourse))'' at line 1: SELECT count(*)
AS count_
all FROM ap_requirements WHERE (ap_requirements.academic_program_id = 1
AND (con
ditionscourses.name LIKE ''a%''includecourse))
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_recor
d/connection_adapters/abstract_adapter.rb:120:in `log''
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_...