Colin Law wrote:
> On 7 March 2010 11:00, Ralph Shnelvar <li...@ruby-forum.com> wrote:
>> form_for cannot be, uh, "internationalized" because the various flavors
>> 'connected_to_country'),
>> �</div>
>>
>> Both parameters (locale, somename) will end up in the params received by
>> the relevant controller.
>>
>> - - -
>>
>> I find using raw html to be far far easier to understand and more
>> convenient to use than the hidden_field api documented in
>> http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html.
> 
> What is wrong with
> <%= hidden_field_tag "locale", params[:locale] %>
> 
> Colin

I was going to argue the point, Colin, but, yeah, that works.

It's always nice to have an additional level of indirection.  So ... 
thanks again.
-- 
Posted via http://www.ruby-forum.com/.

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to