Form_remote_tag and <table> doesn't pass params?

Hello,

This code works as expected:

<% form_remote_tag(:url => {:action => ‘create_ajax’}) do %>

Referencia <%= text_field ‘expedient’, ‘reference’ %>

<%= submit_tag ‘Send Email’ %>

<% end %>

Processing ExpedientsController#create_ajax (for 127.0.0.1 at 2009-02-11
10:21:15) [POST]
Session ID: d0862b3026b383198421acc44e03749c
Parameters: {“expedient”=>{“reference”=>“1234”}, “commit”=>“Send
Email”,
“authenticity_token”=>“fee980baf3cb7450236dd32e8a25dd0f0eb3911f”}

But, if I want to add a

… for the input fields, RoR
doesn’t receive the params, this code doesn’t work:

<% form_remote_tag(:url => {:action => ‘create_ajax’}) do %>

referencia <%= text_field 'expedient', 'reference' %><%= submit_tag 'Send Email' %>

<% end %>

Processing ExpedientsController#create_ajax (for 127.0.0.1 at 2009-02-11
10:21:55) [POST]
Session ID: d0862b3026b383198421acc44e03749c
Parameters: {“commit”=>“Send Email”,
“authenticity_token”=>“fee980baf3cb7450236dd32e8a25dd0f0eb3911f”}

I can’t see any strange code in the source html resultant page …

any ideas ?

thanks!

r.