search for: a_street

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

Did you mean: 20street
2006 Apr 06
6
all elements of an array
Hi there, i have a model house and a model owner A house can have many owners. Now i want to find all owners of a specific street and i want to list them So i do: houses = House.find(:all, :conditions => ''street LIKE "%foo%"'') So now i got an array of all houses in that street @owners = houses[0].owner i''ve got all the owners of the first house. but