Importing CSV File Using rails

Hello ALL,

Can any body help me in writing a code where i can import a CSV file in to mysql database using rails.

I dont want to write any models for importing because there are large number of tables and each table does not have its model.

I can get the table name from the parameters

So is there any generic way for me ,so that i can import with just the tablename

Thanks Jagan