Hello.

I need to do a query with various tables, but I want to use something
like find_by_sql.

It's say, i want to make the next query:

SELECT field_table1,field_table1,field_table2
FROM table1, table2
WHERE table1.id=table2.table1_id

And, How can I access its values?

Greetings and thanks.
-- 
Posted via http://www.ruby-forum.com/.