On 31 August 2010 18:38, Armand Macintosh <[email protected]> wrote:
> array = ['a','b','c']
> array.each do|x|
>   puts x
> end
>
> results
> a
> b
> c

That's not going to work in his .erb file is it, as 'puts' is going to
write to the console.

If the OP actually asks a question, we'll *know* what he wants to do
with his array rather than taking random stabs in the dark.

-- 
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.

Reply via email to