Thank you very much everyone! Fred, your advise was spot on. Worked like a charm!
<% Company.find(1).applications.each do |app| %> <%= app.name %> <% end %> Perfecto! Clint, thanks for the tip on the inspect function, I missed that. It probably would have been the best way to debug and trial/error the solution. Once again thank you all for the help :) On Feb 22, 1:44 pm, Michael Pavling <[email protected]> wrote: > On 22 February 2011 16:52, Bryan Crossland <[email protected]> wrote: > > > Hi Ryan, > > Hiya, > Can you not top-post, please. It makes it hard to know what you're > exactly replying to. TIA. > > >There are two ways to get it to display what you want. Remove the > > = and change your block to read { |app| puts app.name } or do as > > That's not gonna do much good, as "puts" is going to output on the > server console. The one way to do it is as Fred said. > > Michael -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

