[Rails] Nature of Return Values from Search

2011-07-28 Thread Barney
Hello, I'm trying the search method used in the Guides: http://guides.rubyonrails.org/form_helpers.html and I don't know what is coming back to the controller when a text box is empty. When each of the 2 text boxes (described below) have a value then the search works. However, if the second

Re: [Rails] Nature of Return Values from Search

2011-07-28 Thread Eric Björkvall
Hej You probably should check the params hash in the controller: @skill_search1 = params[:skill1] etc.. Also use a debugger call in the search method to see the parameters that are passed def search debugger . . end Cheers, Eric On 28 jul 2011, at 22.03, Barney wrote: Hello,