search for: expects_array

Displaying 2 results from an estimated 2 matches for "expects_array".

2005 Aug 04
0
Finding rows in table a with zero related rows in table b, part ii
....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 to do? -Brian
2006 Apr 01
12
Repost: Why is rails generating bad SQL?
It looks like I am missing something obvious. ActiveRecord is generating _really_ bad SQL for this configuration, and I can''t quite figure it out. I''ve instrumented ActiveRecord enough to localize the problem somewhat, and generally by this time I would have a good idea of what I was missing because it''s all in the source. It appears that something in