Displaying 1 result from an estimated 1 matches for "app_list".
Did you mean:
ap_list
2005 Aug 04
0
Finding rows in table a with zero related rows in table b, part ii
...ller.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 in District#unassigned_list
undefined method `expects_array?'' for #<Array:0x2271d04>
I have no idea what this is trying to tell me. What is the
expects_array? method doing? Or trying...