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_ary = search.split(",")
now in my erb view file I would like to print something like this to the
html:
<p>67749303</p>
<p>72756004</p>
....etc
what is the best way to do this???
--
Posted via http://www.ruby-forum.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.