# Ruby questions

**URL:** <https://www.ruby-forum.com/t/ruby-questions/75120>\
**Category:** Ruby\
**Created:** [November 7, 2006, 5:01pm UTC](https://www.ruby-forum.com/t/ruby-questions/75120 "2006-11-07T17:01:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![merrua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@merrua](https://www.ruby-forum.com/u/merrua)\
**Post date:** [November 7, 2006, 5:01pm UTC](https://www.ruby-forum.com/t/ruby-questions/75120/1 "2006-11-07T17:01:05Z")

</div>

Is it possible to use a ruby variable to pass information to a mysql  
query?  
If it is not possible what is the work around?  
Is it Bindtag.rb?

How do you test for data captured at a button event?  
When do you place a tocommand line output?  
In the button event? At the button binding.

---

<div class="post-metadata">

**Author:** ![merrua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@merrua](https://www.ruby-forum.com/u/merrua)\
**Post date:** [November 8, 2006, 10:12am UTC](https://www.ruby-forum.com/t/ruby-questions/75120/2 "2006-11-08T10:12:16Z")

</div>

Mer G. wrote:

> Is it possible to use a ruby variable to pass information to a mysql  
> query?  
> If it is not possible what is the work around?  
> Is it Bindtag.rb?
> 
> How do you test for data captured at a button event?  
> When do you place a tocommand line output?  
> In the button event? At the button binding.

Hi Mer,

You will need to be much more specific with your questions. From what I  
can tell, you must be using some specific libraries or software.  
Please let us know more exactly what you are trying to accomplish and in  
what setting.

Also, on the MySQL front, yes there are ways to communicate to a MySQL  
server using Ruby, for example the MySQL Ruby bindings here:  
[http://www.kitebird.com/articles/ruby-mysql.html](http://www.kitebird.com/articles/ruby-mysql.html)

-Justin
