[markaby] Error on form select

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

On 9/22/06, Larry K. [email protected] wrote:

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:

Partial solutions abound in the comments:

http://redhanded.hobix.com/inspect/markabyForRails.html

Best Regards,
-Larry

Sincerely,

Tom L.
http://AllTom.com/
http://GadgetLife.org/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs