Hi,

I have a controllers called x and y. I want to search and display "y"
tables data using X's primary key, this key is a foreign key for Y.

eg-

when I click "show " option in the  X table's  index , I want to display
X's data and Y's data those are relavant to the X's primary key.( need
to display all in one form).

I would  appreciate very much if any one can guide me or give me a link
to find the answer for this.

Many thanks.
-- 
Posted via http://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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to