On Thu, May 26, 2011 at 8:44 PM, Benjamin Mulaosmanovic <
[email protected]> wrote:

> Hello, not sure if this should go here...
>
>
> Trying to print out the contents of an array with a little bit of
> formatting
>
> my array looks like this:
>
> search = "[[67749303, 72756004, 178055737, 398925700, 551708624,
> 684936218, 846436579, 978955981]]"
>
>
<% search.each do |number| %>
   <p><%= number %></p>
<% end %>

This will give result as below

>
> <p>67749303</p>
> <p>72756004</p>
> ....etc
>
>
>

-- 
Regards

sathia
http://www.sathia27.wordpress.com

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