Colin Law wrote in post #996087: > On 1 May 2011 17:02, David Mr. <[email protected]> wrote: >>> >> ["test", "linux"] > Very odd, even ludicrous. Could you copy and paste the relevant bit > of the terminal output here? Also paste the setup_data method please. > In your first version of the code it was @setax, now it is setax. Which > is it? > >> >> setax and setbx are only variables used to for searching columns in the >> Search table. They are not used anywhere else. Part of the code below: > > So are they just local variables within that method? Can you do a > global search for setax and make sure they are not defined elsewhere > also. The only way I can see you getting the effect you are seeing in > the debugger is if there is more than one var of that name and the > debugger is showing the wrong one. You could rename it in that method > to see what happens. > > Colin
I'll try to post the terminal output soon. It is setax, I had tried @setax to see if it made a difference, it didn't. Yes, they are just local variables used only in search.rb. I renamed them too, no dice. Thanks -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

