Ruby on rails: 2 records from diffrent tables in one view : I want to display informations from 2 diffrent tables in one page. For example, I want to show user last name from one table, and url to attached file from the second. How can I refference to the 2nd table in my view?