simple question on referencing another table


I want to create a page which will show all the resigtered users. I
have two tables one users and another one country table. Each user has
a foreign key to country table. When I display the users information,
I want to show the user name and the country name. How can I do it in
ruby? Is there a document somewhere to handle database operations like


Thanks and yes thats what I was looking for and got it working.