Topic: what part of this text field is sending data ?

        <%= text_field_tag("query", @params['query'], options={:disabled => false, :size =>40}) %>

--> "query", or -->  @params['query'],

i am trying to understand how a text box sends data to the controller so I can make a search box

Re: what part of this text field is sending data ?

use params[:query] to get the value from the form submission.

Re: what part of this text field is sending data ?

Hmmm ok.. I think I get it.. the params is dynamicly parsed from the model...

So, can something like this

<!-- html -->
<%=  text_field "customer", "fenwefi" %>

<!-- controller -->
def customer
  customer = Customer.new(params[:customer])
 
 
end


Will register, due to customer.. now.. how do I get it to send that data and display somehow? Like I don't know change a word in a div container.. The api docs are very cryptic still to me..

Re: what part of this text field is sending data ?

i tried http://lists.rubyonrails.org/pipermail/ … 34794.html

but my server doe snot have this file in it,, the gem_server works just don't have that doc