Hi everyone,
I have an array which looks like this ( output taken from
debug(display_options) ):
---
- rows: "5"
- cols: "40"
I am trying to generate a textfield using the ''text_field''
helper
function and my array (let''s call it display_options):
text_field ''field'',
              field.id,
              {:value => field.value, display_options}
I tried using the splat operator ( *display_options), but it gives me
a whole bunch of errors.
Anyone knows how to do this?
Thank you,
T-Parent
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---