search for: course_requir

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

2006 Apr 20
1
has_many.count not accepting options hash
has_many.count does not seem to support an options hash like ActiveRecord::Base.count does. Example: >> AcademicProgram.find(:first).course_requirements.count :conditions => "courses.name LIKE ''a%''", :include => :course => 40 >> ap.ap_requirements.count :conditions => "courses.name LIKE ''a%''", :include => :course ActiveRecord::StatementInvalid: Mysql::Error: #420...