[Rails] Re: Nature of Return Values from Search

2011-07-29 Thread Barney
Thanks Eric, I didn't know about the debugger. When I ran: rails server --debugger I got the error that I needed to install ruby-debug with 'gem install ruby-debug' but when I did the error: Failed to build gem native extension. and then there were a bunch of errors involving no member in RArray

[Rails] Re: Nature of Return Values from Search

2011-07-29 Thread Barney
Thanks Hassan, the code changed you mentioned above worked! I appreciate your taking the time to help me, Barney On Jul 28, 7:25 pm, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Thu, Jul 28, 2011 at 3:59 PM, Barney bsper...@gmail.com wrote: How else would I check that

[Rails] Re: Nature of Return Values from Search

2011-07-28 Thread Barney
Hi Eric, I'm using Scite and there doesn't seem to be a debugger in it. How else would I check that hash? But, could you tell me what form (type, value) is the return from that empty text box? Thanks, Barney On Jul 28, 4:59 pm, Eric Björkvall eric.bjorkv...@gmail.com

Re: [Rails] Re: Nature of Return Values from Search

2011-07-28 Thread Eric Björkvall
Hej Barney The debugger call will stop the execution and drop you into the debugger - it's not from within your text editor - it's in the terminal window where you run your app Start your app with rails server --debugger or (if your running rails 3.0 ) script/server --debugger Cheers,

Re: [Rails] Re: Nature of Return Values from Search

2011-07-28 Thread Hassan Schroeder
On Thu, Jul 28, 2011 at 3:59 PM, Barney bsper...@gmail.com wrote: How else would I check that hash? Besides the previously mentioned debugger, you can add logging statements to your code to provide more information.     But, could you tell me what form (type, value) is the return from that