Table_name can create by variable

Hi~

I used ruby mysql module and want to save some files into database.

Does the table_name can set up by variable?

If it can how to set?

such as:
I input a var = "TB1" and it will create a new table named "TB1".

I try to use (create table '#{var}') but it has error.

thanks,

···

--
Posted via http://www.ruby-forum.com/.