Displaying 1 result from an estimated 1 matches for "dist_id".
Did you mean:
disk_id
2005 Aug 04
0
Finding rows in table a with zero related rows in table b, part ii
...a.id = ai.applicant_id where ai.applicant_id is null"
end
Running that SQL through the mysql command-line tool returns exactly the
data I''m looking for. However, in my district_controller.rb file, I''ve
got this method:
def unassigned_list
@dist = District.find( params[:dist_id] )
@applicants = @dist.unassigned_applicants.find( :all )
@sub_title = "Unassigned Applicants (" + @applicants.size.to_s + ")"
render :template => "district/app_list"
end
When I go to the page that calls this method, it throws back this error:
NoMethodError...