Hi,
I have a serialized attribute in a model:
serialize :some_array, Array
(I've unit tested this attribute and it works just like an Array
should.)
Now, how do I supply my some_array attribute to my views so that I can
reference elements of my array? The following, for example, won't
work:
<%= f.text_field :some_array[0] %>
Thanks,
Lille
--
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.