On Mar 8, 10:30 am, Newb Newb <li...@ruby-forum.com> wrote: > Dear all > > @policy_logs = PolicyLog.find(:all,:joins => "INNER JOIN po > licy_logs_receiver" > > ) > > when i inspect the @policy_logs variable it doesnot show the joined > table fields... >
the select clause is select policy_logs.* by default. In addition the output of inspect() (which is what you see in the console) only ever shows the columns from the table itself. Fred > how can i get all the fields? > Thanks for nay help > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.