Pedro Valentini
2005-Jul-06 21:01 UTC
Translation System - Hash of same fields in one form
Hi, I''m making a translation system. It need to show in the screen 2 fields, like: media_text[en_US][text] and media_text[pt_BR][text] |in controller have: @media_text = {''en_US'' => MediaText.new}| in view: <%= text_field "media_text[en_US]", "text" %> and it return: |`@media_text[en_US]'' is not allowed as an instance variable name| ||| It is not possible?? Someone have an idea?? I''m trying to show this 2 fields in same time because I will use javascript to hide and show it. Thank you | -- Pedro C. Valentini pedro-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org +55 (21) 8708-8035