Getting a foreign key value with @params

s002
Thu, 26 May 2005 10:49:39 -0000

I''m sure this has a simple solution, but it''s puzzling to me.

I have a link that passed the id of a lookup key.   ( item.id) I want to
retrieve the ''name'' column. This is what I tried.

@value = subject.@params[:item.id].name

But it does work.  What am I missing?

-Larry