From: 7stud -- Date: 2012-12-14T04:30:27+09:00 Subject: Re: Database query cristian cristian wrote in post #1089016: > ...ok.. > key is an integer. How can I compare the integer with a number? > > Br > cristian The keys are the names of the columns in your database. That is what setting db.results_as_hash does. -- Posted via http://www.ruby-forum.com/.