I''m hoping there are some markaby users reading this list who would be
willing to help me out. I''m having trouble getting drop select fields
to
work in a markaby form. For example:
If I do this in .rhtml it works.
# @customers = [["One","1"],["Two","2"]]
<%= select ''customer'', ''current'',
@customers %>
But, when I translate it to markaby, I get a ''unable to stringify key .
. ''
error.
select_tag ''customer'', ''current'', @customers
I''ve tried changing the select_tag to select. That shows an empty
select
box.
Thanks, in advance.
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---