Displaying 1 result from an estimated 1 matches for "t2_name".
Did you mean:
__name
2008 Jun 26
9
find_by_sql + Join + Rails 2
Hello
I have write a code to select data from two tables (T1,T2) but the
problem is
@tables= T1.find_by_sql("select T1.*,T2.* from T1inner join T2on
T1.followup_id = T2.id where followups.userid = ''41'' ")
THe problem all values that is returned from running only T1
variables,why?
Where are T2 variables??
--
Posted via http://www.ruby-forum.com/.