search for: scrns

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

Did you mean: scans
2008 Jan 24
4
using object.find() in a loop not returning an array
I''m running a loop (illustrated below) that retrieves records from a table based on an id that might be different with each iteration. The loop uses the array scrns (composed of IDs) to find the related records in the Screens table. I''m attempting to store the returned results in an instance variable so I can use that data in a view. However, this code simply is overwriting the instance variable with each iteration. Why? I want to end up with an ar...