From: Eero Saynatkari Date: 2005-12-20T08:46:30+09:00 Subject: Re: Help on Simple Search Grant GBrown wrote: > Hey there, > P > > Can anyone provide a simple example? I can execute the query by > hard-coding it in my searchresults method, but obviously...that's not > really what I need here. Your data should actually be under params[:student][:searchfield], as that is what you named the textfield (see the API docs). You can also inspect the structure for more information: $stderr.puts "Params: #{params.inspect} # Shows in webrick output Now, generally, all Rails questions should go to: http://lists.rubyonrails.org/mailman/listinfo/rails Post there if you have any follow-ups! :) > Thanks! > Grant E -- Posted via http://www.ruby-forum.com/.