Re: [Rails] Beginner Help - Iterating and Displaying From Models with Relationship

2011-02-21 Thread Frederick Cheung
On 22 Feb 2011, at 03:40, Ryan wrote: > This should probably be easy but for some reason I can't get past a > simple routine. I have a model for Companies and for Applications. A > company has many applications. So in this instance I have a company > id and I want to find all applications as

[Rails] Beginner Help - Iterating and Displaying From Models with Relationship

2011-02-21 Thread Ryan
This should probably be easy but for some reason I can't get past a simple routine. I have a model for Companies and for Applications. A company has many applications. So in this instance I have a company id and I want to find all applications associated with that company. I tried the following: